Git Product home page Git Product logo

iobroker.tesla-motors's People

Contributors

apollon77 avatar danielweeber avatar dbweb-ch avatar dependabot[bot] avatar germanbluefox avatar hombach avatar klein0r avatar mifricke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iobroker.tesla-motors's Issues

Proactively prevent repetitive car wakeup when tesla-motors adapter misbehaves

We had a problem recently with iobroker where the tesla-motors adapter kept exiting with error 156. This seems now fixed, but one consequence of this was that the adapter kept restarting and upon each restart, requested the "initial" full vehicle data - which prevented our car from going to sleep and thus wasted about 10kWh of energy over a week.
Is it possible to let tesla-motors keep a persistent record of the time of the last full vehicle data request and if this is too recent, do not even request it upon restart, but instead just request basic data which does not wake the vehicle up? This would avoid these kind of scenarios.
Thank you!

Start of trip not noticed when in "wait to let car go to sleep" phase

When the adapter is waiting to let the car sleep (25 minutes I think), and during this time somebody gets in and starts a trip, this trip is ignored and not recorded. This is understandable, but unfortunate.

Is there a way to let the adapter know whether the car is really idle, or whether it should start recording data because a trip has been started or is about to start?

Token: No response

After updating ioBroker to newest version Tesla Adapter does not let me get Token. Error Message "Could not retrieve token, Error from Tesla: No response"

Yesterday all was fine.

Endless restart loop again with v0.2.3 since two days

Hello,
I am again experiencing an endless restart loop of the adapter. Nothing gets recorded.
What's up? How can I correct this? Restarting the adapter, refreshing tokens etc all did not help.
I am running the most current v0.2.3 release.
Thanks!

2020-08-07 23:13:00.324  - info: tesla-motors.0 (29595) starting. Version 0.2.3 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v10.21.0, js-controller: 3.1.6
2020-08-07 23:13:00.352  - debug: tesla-motors.0 (29595) Starting Tesla Motors
2020-08-07 23:13:00.377  - debug: tesla-motors.0 (29595) All Objects installed, setting up tasks now
2020-08-07 23:13:00.379  - debug: tesla-motors.0 (29595) Checking if token is valid
2020-08-07 23:13:00.380  - debug: tesla-motors.0 (29595) Check for Tokens and Expires
2020-08-07 23:13:00.441  - debug: tesla-motors.0 (29595) Getting Standby Info
2020-08-07 23:13:01.191  - info: tesla-motors.0 (29595) Setting a new Token
2020-08-07 23:13:01.201  - debug: tesla-motors.0 (29595) vehicle Answer:{"id":"...","vehicle_id":...,"vin":"...","display_name":"...","option_codes":"...","color":null,"access_type":"OWNER","tokens":["6a6.....","a8ce..."],"state":"asleep","in_service":false,"id_s":"...","calendar_enabled":true,"api_version":9,"backseat_token":null,"backseat_token_updated_at":null}
2020-08-07 23:13:01.269  - info: host.raspberrypi instance system.adapter.tesla-motors.0 started with pid 29647
2020-08-07 23:13:01.272  - warn: tesla-motors.0 (29595) Got terminate signal. Checking desired PID: 0 vs own PID 29595
2020-08-07 23:13:01.277  - warn: tesla-motors.0 (29595) Got terminate signal. Checking desired PID: 29647 vs own PID 29595
2020-08-07 23:13:01.746  - debug: tesla-motors.0 (29595) State Change: tesla-motors.0.command.standby to true ack true
2020-08-07 23:13:01.773  - info: tesla-motors.0 (29595) terminating
2020-08-07 23:13:01.774  - info: tesla-motors.0 (29595) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2020-08-07 23:13:01.985  - debug: tesla-motors.0 (29595) Refresh of all in Task run. Current wakeupPlan is "smart"
2020-08-07 23:13:02.042  - debug: tesla-motors.0 (29595) Get all info because last Wakeup time is only 0ago.
2020-08-07 23:13:02.091  - debug: tesla-motors.0 (29595) Getting Standby Info
2020-08-07 23:13:02.297  - error: host.raspberrypi instance system.adapter.tesla-motors.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
2020-08-07 23:13:02.298  - info: host.raspberrypi Do not restart adapter system.adapter.tesla-motors.0 because desired by instance
2020-08-07 23:13:02.593  - debug: tesla-motors.0 (29647) Redis Objects: Use Redis connection: 127.0.0.1:9001
2020-08-07 23:13:02.629  - debug: tesla-motors.0 (29647) Objects client ready ... initialize now
2020-08-07 23:13:02.635  - debug: tesla-motors.0 (29647) Objects create System PubSub Client
2020-08-07 23:13:02.636  - debug: tesla-motors.0 (29647) Objects create User PubSub Client
2020-08-07 23:13:02.637  - debug: tesla-motors.0 (29647) Objects client initialize lua scripts
2020-08-07 23:13:02.652  - debug: tesla-motors.0 (29647) Objects connected to redis: 127.0.0.1:9001
2020-08-07 23:13:02.660  - debug: tesla-motors.0 (29647) objectDB connected
2020-08-07 23:13:02.663  - debug: tesla-motors.0 (29647) Redis States: Use Redis connection: 127.0.0.1:9000
2020-08-07 23:13:02.672  - debug: tesla-motors.0 (29647) States create User PubSub Client
2020-08-07 23:13:02.674  - debug: tesla-motors.0 (29647) States create System PubSub Client
2020-08-07 23:13:02.687  - debug: tesla-motors.0 (29647) States connected to redis: 127.0.0.1:9000
2020-08-07 23:13:02.688  - debug: tesla-motors.0 (29647) statesDB connected
2020-08-07 23:13:05.475  - info: tesla-motors.0 (29647) starting. Version 0.2.3 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v10.21.0, js-controller: 3.1.6
2020-08-07 23:13:05.503  - debug: tesla-motors.0 (29647) Starting Tesla Motors

undefined and variable errors

several error messages in my iobroker log. These repeat every 15 seconds. Plus they prevent the car from going to sleep as it seems (it never goes to standby and loses battery FAST).

tesla-motors.0 2021-05-13 20:14:10.531 info (29198) State value to set for "tesla-motors.0.climateState.rear_passenger_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-13 20:14:10.530 info (29198) State value to set for "tesla-motors.0.climateState.rear_driver_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-13 20:14:10.529 info (29198) State value to set for "tesla-motors.0.climateState.front_passenger_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-13 20:14:10.528 info (29198) State value to set for "tesla-motors.0.climateState.front_driver_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-13 20:14:10.497 info (29198) undefined is not a valid state value for id "tesla-motors.0.climateState.smart_preconditioning"
tesla-motors.0 2021-05-13 20:14:10.495 info (29198) undefined is not a valid state value for id "tesla-motors.0.command.steering_wheel_heater"

Adapter doesn't update values anymore

Hey, since I installed v0.4.2, the adapter stops updating values after some time.

This is my log output, the car was in use and awake from 8:25 to 9:13 (according to TeslaLogger). Somehow the adapter doesn't update anything anymore.

I guess the adapter must check regularly in shorter intervals, if the car is awake without actually waking it up (The Tesla App homescreen widget does that as well).

tesla-motors.0 2021-04-19 09:13:29.662 debug (36291) system.adapter.admin.0: logging true
tesla-motors.0 2021-04-19 08:20:15.770 debug (36291) Check for Tokens and Expires
tesla-motors.0 2021-04-19 08:20:15.770 debug (36291) Checking if token is valid
tesla-motors.0 2021-04-19 07:20:15.763 debug (36291) Check for Tokens and Expires
tesla-motors.0 2021-04-19 07:20:15.762 debug (36291) Checking if token is valid
tesla-motors.0 2021-04-19 06:20:15.757 debug (36291) Check for Tokens and Expires
tesla-motors.0 2021-04-19 06:20:15.756 debug (36291) Checking if token is valid

mileage

Hello and thanks for the great adapter.
In the Tesla app you can see the mileage of the vehicle data. Can this not be read out for the adapter?
This would be useful for calculations.

Tesla token

Hi
I cant connect to a Tesla account,before that it worked but after a while I want to log in again but.....

Skjermbilde (8)_LI

Adapter prevents car from sleeping in "smart" mode

The adapter kept my car online the whole night (0:00-8:30), even in "smart" mode. Please see logs attached, it says each time it's getting all data because last wake was just a minute ago. I'm disabling the adapter for now, because its useless to me like that ATM as the car wastes A LOT of energy when awake (>5% per night).
iobroker.2021-04-07.log

Can't use manual Token (Automatic Token still not working)

Since i red that the automatic token refresh is broken i tried to insert it manually.
i cant safe it.
Answer: (translatet from german) "you have to get a token before you can safe"

i don't use 2fa.
i logs under tesla is "Username or Password invalid. No response"
but i never changed it. it still work on tesla website. and i retyped it in adapter settings.

Climate button in 1.0.1?

Hi,
I can't finde the Climate button in 1.0.1 under my vehicles "remote" section anymore.
Where is it? Is it auto-conditioning-start?
Also: Is there an up-to-date legend for all the data points?
Some of the new ones are not really self explanatory, like e.g.:
remote-seat-heater-request-0 to 5 (which seat is which number?)

Thanks,
Alex :-)

Tesla: No response

after the update with 5.1:

Could not retrieve token, Error from Tesla: No response

i don't have TFA.

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/dbweb-ch/ioBroker.tesla-motors

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Unable to select different car on first setup

If you have more than one car connrected to your account, you can't select one form the dropDown. The first one ist shown, but the DD will not open. You have to save an reopen the setup

2FA

Hi,

do you support 2FA to login?
Getting issues when logging in and just want to double check if 2FA is supported at all.
Didn't information on this in the text.

Thanks
Sascha

Missing objects for sun roof

These two warnings pop up in the logs:
(12078) State "tesla-motors.0.climateState.sun_roof_percent_open" has no existing object, this might lead to an error in future versions
and
(12078) State "tesla-motors.0.command.SunRoofVent" has no existing object, this might lead to an error in future versions

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/dbweb-ch/ioBroker.tesla-motors

  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

adapter does not start, can't get new token

I had the adapter set up properly and got some valid values.

But it stopped working a long time ago. When I tried to get a new token, it just says "start adapter first" but it is running, but with a red dot in the adapter list.

So I can't get a new token and the adapter can't start because maybe the token is wrong.

Here are some logs:
`

tesla-motors.0 2020-01-25 18:38:39.503 info (22157) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
tesla-motors.0 2020-01-25 18:38:39.502 info (22157) terminating
tesla-motors.0 2020-01-25 18:38:38.995 info (22157) Got terminate signal TERMINATE_YOURSELF
tesla-motors.0 2020-01-25 18:38:38.943 info (22157) Setting a new Token, Adapter will reboot after this automatically
tesla-motors.0 2020-01-25 18:38:38.164 warn (22157) You tried to wake up the car, but there is currently no valid Token, please configure Adapter first!
tesla-motors.0 2020-01-25 18:38:38.153 info (22157) Try to get a new token
tesla-motors.0 2020-01-25 18:38:38.133 warn (22157) Could not refresh Token, trying to get a new Token
tesla-motors.0 2020-01-25 18:38:38.114 warn (22157) Invalid answer from Vehicle request. Error: Unauthorized
tesla-motors.0 2020-01-25 18:38:35.856 info (22157) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.tesla-motors, node: v8.15.0
`

Thanks!

undefined is not a valid state value

Hi,

after updating I get following messages that are spamming my log ..

tesla-motors.0 | 2021-05-07 16:05:27.188 | info | (26991) undefined is not a valid state value for tesla-motors.0.vehicle.homelink_device_count

tesla-motors.0 | 2021-05-07 16:05:27.188 | info | (26991) undefined is not a valid state value for tesla-motors.0.vehicle.homelink_nearby

For your information, I do not have Homelink on my Tesla Model 3.

Thanks ,
xengosam

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/dbweb-ch/ioBroker.tesla-motors

  • [E812] file test/ found in repository, but not found in .npmignore
  • [E814] file appveyor.yml found in repository, but not found in .npmignore
  • [E815] file .travis.yml found in repository, but not found in .npmignore
  • [E816] file tsconfig.json found in repository, but not found in .npmignore

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Crash when authenticating after upgrade from 0.2.3 -> 0.3.1

My tesla-motors adapter started the endless restart loop again and kept the car awake, so I thought this is a good time to upgrade and try 0.3.1. Again, I removed my authentication info and car ID from iobroker-data/objects.json as required before.
But since then, I cannot login at all any more. This is what I get when entering my credentials and clicking on "Get Token":

2021-02-07 21:32:11.514 - debug: tesla-motors.0 (20357) Refresh of all in Task run. Current wakeupPlan is "smart"
2021-02-07 21:32:11.518 - debug: tesla-motors.0 (20357) Get all info because last Wakeup time is only 1ago.
2021-02-07 21:32:11.519 - warn: tesla-motors.0 (20357) You tried to wake up the car, but there is currently no valid Token, please configure Adapter first!
2021-02-07 21:32:12.158 - warn: tesla-motors.0 (20357) Invalid answer from Vehicle request. Error: Unauthorized
021-02-07 21:33:11.520 - debug: tesla-motors.0 (20357) Refresh of all in Task run. Current wakeupPlan is "smart"
2021-02-07 21:33:11.527 - debug: tesla-motors.0 (20357) Get all info because last Wakeup time is only 2ago.
2021-02-07 21:33:11.529 - warn: tesla-motors.0 (20357) You tried to wake up the car, but there is currently no valid Token, please configure Adapter first!
2021-02-07 21:33:12.162 - debug: tesla-motors.0 (20357) Getting Standby Info
2021-02-07 21:33:12.845 - warn: tesla-motors.0 (20357) Invalid answer from Vehicle request. Error: Unauthorized
2021-02-07 21:34:06.646 - debug: tesla-motors.0 (20357) Got a Message: getToken
2021-02-07 21:34:06.647 - info: tesla-motors.0 (20357) Try to get a token
2021-02-07 21:34:07.099 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2021-02-07 21:34:07.100 - error: tesla-motors.0 (20357) unhandled promise rejection: Cannot read property 'response' of undefined
2021-02-07 21:34:07.101 - error: tesla-motors.0 (20357) TypeError: Cannot read property 'response' of undefined
at /opt/iobroker/node_modules/iobroker.tesla-motors/main.js:403:87
at /opt/iobroker/node_modules/teslajs/teslajs.js:368:9
at /opt/iobroker/node_modules/teslajs/src/auth.js:129:9
at tryCallOne (/opt/iobroker/node_modules/promise/lib/core.js:37:12)
at /opt/iobroker/node_modules/promise/lib/core.js:123:15
at flush (/opt/iobroker/node_modules/asap/raw.js:50:29)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
2021-02-07 21:34:07.606 - info: tesla-motors.0 (20357) terminating
2021-02-07 21:34:07.607 - info: tesla-motors.0 (20357) Terminated (NO_ERROR): Without reason
2021-02-07 21:34:08.167 - info: host.raspberrypi instance system.adapter.tesla-motors.0 terminated with code 0 (NO_ERROR)
2021-02-07 21:34:08.173 - info: host.raspberrypi Restart adapter system.adapter.tesla-motors.0 because enabled

I can log in normally on the tesla.com website.
Does this happen because of the API v3 upgrade, or is this a different issue?

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Could not get token from Tesla

After entering my Tesla account credentials and pressing GET TOKEN an error box is shown saying:
Could not retrieve token, Error from Tesla: authorization_required_for_txid_f5e32de8bc4793fdddde31398ab3b4ac

I use adapter version 0.2.3

status change

I m interested in the timing of the change of state.This happens at minute intervals.When the action is performed via the mobile app,it s take 1 minute for it to manifest itself in iobroker.It is possible to change the minute timing?20s?How can I see it in real time?
Thank you

token validity as Object

Hi,
is it possible to have the validity date of the token also as an Object?
Today was my first time that the token got invalid. I only realized it hours later. As Object I could send me reminders before it gets invalid.

It`s more a pull request, but I had a problem writing a pull request... something about choosing the right branch I guess.

Writing a data point after wake-up

Hi!

I've noticed several times that it doesn't always wake up reliably before a data point is written.

If I change e.g. the target SoC to start a charging process, the data point is reset to the old value after some time (about 5-10 seconds). A new try is successful. This always seems to happen when the vehicle has slept.

Bug or feature? ;-)

has to be type "boolean" but received type "number"

Following info appears with js-controller 3.3.10:
Edit: it was running with 0.4.2. (later version seems not to have this problems anymore)
`

tesla-motors.0 2021-05-27 21:05:58.587 info (15277) State value to set for "tesla-motors.0.climateState.rear_passenger_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 21:05:58.587 info (15277) State value to set for "tesla-motors.0.climateState.rear_driver_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 21:05:58.577 info (15277) State value to set for "tesla-motors.0.climateState.front_passenger_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 21:05:58.577 info (15277) State value to set for "tesla-motors.0.climateState.front_driver_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 21:05:58.521 info (15277) undefined is not a valid state value for id "tesla-motors.0.climateState.smart_preconditioning"
tesla-motors.0 2021-05-27 21:05:58.520 info (15277) undefined is not a valid state value for id "tesla-motors.0.command.steering_wheel_heater"
tesla-motors.0 2021-05-27 20:50:47.608 info (15277) State value to set for "tesla-motors.0.climateState.rear_passenger_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 20:50:47.608 info (15277) State value to set for "tesla-motors.0.climateState.rear_driver_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 20:50:47.606 info (15277) State value to set for "tesla-motors.0.climateState.front_passenger_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 20:50:47.606 info (15277) State value to set for "tesla-motors.0.climateState.front_driver_window" has to be type "boolean" but received type "number"
tesla-motors.0 2021-05-27 20:50:47.596 info (15277) undefined is not a valid state value for id "tesla-motors.0.climateState.smart_preconditioning"
tesla-motors.0 2021-05-27 20:50:47.595 info (15277) undefined is not a valid state value for id "tesla-motors.0.command.steering_wheel_heater"

`

No token refresh if token gets invalidated

It seems like the adapter will not request a new token with the saved credentials if the current token gets invalidated from Tesla.

The adapter stopped working some days ago without a notification.

I had to go to the adapter config and click on get token, then I got an error message "please start adapter first", despite that it was already running. After a restart, I was able to get a new token, without changing the login information.

Adjustable "smart" refresh rate?

With "smart" refresh rate, the car does not wake up unless necessary, which works great.

But once the car is woken up, recording things like speed, energy consumption or location (lat/lng) just once a minute is too little. The Tesla app seems to update the location, speed and remaining charge once a second (!) while the app is opened.

Can we make the "smart" adjustment period configurable, or at least request data more often (maybe every 5s?) - at least while the car is moving?

Charge power change

Hi! A brillant plugin, thanks a lot!! Just one thing. I'd like to change the charge power (ex. 24 A) with the plugin to another value. Is it possible to implement that? Thanks a lot! Best Regards, Daniel

Variable update time when idle as well?

Now that we have more accurate data when the car is active, can we also decrease the check time when idle to maybe every 5min at least, better every 3 min? Maybe only during user-specified times (eg. 6-9h & 14-22h)? I regularly miss the first few minutes of my route.

I don't know how Tesla's API endpoints react to too many requests though.

Thanks :)

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/dbweb-ch/ioBroker.tesla-motors

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Temporary adjustment refresh rate?

Don't know if this is technically possible, but I see a very common use case where it would be great to have the adapter temporarily in the "aggressive" refresh rate, but just for a small period of time.

When driving, the "speed" and "power" values change so rapidly that the "smart" refresh rate is just way too slow to make a useful visualization of consumption graphs over time.

By introducing 0.4.3, the refresh rate in the "aggressive" mode has been changed to one second which would enable users to visualize speed and power much more accurately. Leaving aggressive turned on permanently however would lead to massive battery drain.

Since iobroker seems not to offer a possibility to change adapter details by a script, do you see the chance of an object which can be used to temporarily change the refresh rate? Many thanks for your outstanding dedication to this project, which means a lot to me. Cheers!

Login information can't be saved and no token can be received

I removed the adapter and added a new instance of 0.3.2.

After entering my login information I was not able to save the info, the save-buttons are greyed out.

Only after clicking on "smart" and choosing something else and then back to smart, the buttons became blue.

But clicking on "save" just gives an error message:

image

OK, so I click on get token, then I see this:

image

These two error messages block each other out. I can't save the information because I need a token first, but to get a token I need to save the information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.