Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scottlangford opened this issue Jun 11, 2022 · 3 comments

Comments

@scottlangford
Copy link

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

  • No Actions - (To add one, press 'Action')

`

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
Copy link
Owner

Panda88CO commented Jun 11, 2022

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
Copy link
Author

scottlangford commented Jun 11, 2022 via email

@Panda88CO
Copy link
Owner

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 :-))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants