Panda88CO / udi-TeslaEV

MIT License
0 stars 0 forks source link

do I need to wake up the car to use data from this nodeserver in ISY? #3

Open scottlangford opened 2 years ago

scottlangford commented 2 years ago

I want to use this program in ISY: `Tesla: battery low and not plugged in - [ID 00F4][Parent 00F3]

If Time is 8:00:00PM And 'NodeServers / Pablo / EV Charging Info' Charging State is Not Connected And 'NodeServers / Pablo / EV Charging Info' Battery Level <= 50.0% And Program 'On Vacation?' is False

Then Send Notification to 'Spark Scott's Phone'

Else

`

but when I look in my isy, these numbers aren't always up to date/time. do I need to "wake up" the car to have there be accurate data? if so, what command "wakes up" the car from ISY in programming. I have found that the "update system data" button in the Main/Network tab in ISY updates the numbers but there is no such command that I can find in the Programs part of ISY.

Thank you for designing a very nice Nodeserver.

Someguy.

Panda88CO commented 2 years ago

Can you send me a log file - number should update with the long Poll setting (short poll is just for heartbeat). I think the car stays awake after initial wake up (as the node keeps polling) - but it may go to sleep after a while and I will need to check if it is awake (I do not have a car to test on unfortunately - It looks like from the code every long poll the car is awoken (assuming the code works) maybe it is delays in the api causing the difference - on the power wall there is a 15 min delay

I was asked to port my power wall node server to support the EV as the API is similar) Does the update buttons in the node work?

In my setup I do see the update option to execute in the programming taps

scottlangford commented 2 years ago

here is my log. I appreciate the help.

another thing i noticed is when I tried to change my temperatures to Fahrenheit, most of them changed (one didn't) and then when I looked again later, they had changed back to Celsius.

Thank you for any help you can provide,

Scott

On Sat, Jun 11, 2022 at 10:16 AM Panda88CO @.***> wrote:

Can you send me a log file - number should update with the Poll setting. I think the car stays awake after initial wake up (as the node keeps polling)

  • but it may go to sleep after a while and I will need to check if it is awake (I do not have a car to test on unfortunately - I was asked to port my power wall node server to support the EV as the API is similar) Does the update buttons in the node work?

In my setup I do see the update option to execute in the programming taps

— Reply to this email directly, view it on GitHub https://github.com/Panda88CO/udi-TeslaEV/issues/3#issuecomment-1152948881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYVVOK2KPKII7JMBPH4CADVOSUUBANCNFSM5YQEC3SA . You are receiving this because you authored the thread.Message ID: @.***>

Panda88CO commented 2 years ago

I did not see the log Hopefully I can find a solution from the log. It is possible I force C in an update command (need to find it though :-))