
Panda88
Members-
Posts
728 -
Joined
-
Last visited
Everything posted by Panda88
-
the code for wake does a loop until the API responds (but you will not see this from the ISY. I could possibly make the status or climate node return a ON/OFF (a control for the node in the ISY) so it will change state when car goes from sleep to awake) but it has not been done yet - let me think about it - I do not have a car my self to test on and I only know people say the response is fairly fast these days - 30 sec or less worst case Also - the long poll wakes the car if a sleep so this should be a worst case scenario - you could use heart beat (short poll) at half the long poll duration and then program after a delay on either On or Off for the heart beat - I believe the PG poll is synchronized initially so they should happen aligned
-
It looks like the token does not work correctly - it could be the API has locked you out (go to www.tesla.com and try to log in) - if that is ok try to generate another refresh token. If not recreate your credentials You can also try to erase the REFRESH_TOKEN entry under config - both key and token and then restart node server - it should auto generate the entry again. I think I did change the code to handle a car with no name, but we are not even getting that far here.
-
Are you running on stand alone ISY or IoP (ISY on Polisy) - my guess it is what is happening is the ISY is slower than my setup so it is not ready when the code starts querying the nodes Can I get you to try again with login set to debug. - it is info now - but you previous screen shot showed debug I made some changes to ensure the node is ready before querying data from it - I hope it works as I cannot test as I am travelling (It is a minor change - no other functionality)
-
Looks like the return structure from Tesla has changed a little - need to look through the changes and make appropriate modifications
-
Can you try to erase the REFRESH_TOKEN key save (not just the value but the key)- and then restart? It seems to old token is somehow stuck in polyglots database
-
looks like something went wrong during installation - Can you try to remove it (fully) and install again - it is like it is not registered correctly in the node store
-
try to start again but get the log from upper right corner - it looks like the node server does not start at all
-
ny chance you can provide a full log - the error happens earlier - but it does look like the token did not refresh corectly Tesla does change their API once in a while and as there is no official API it takes a little while to get it updated It can also happen they log you out if you poll too often so try to log in at website to see if that works I am travelling now so there will be some delay on support
-
t looks like you found the place to put it (at the bottom - REFRESH_TOKEN) - Is the one shown one you entered - if not clear the filed and replace it with your token - make sure that there is not a blank space at the end of the token - I had that issue in the past. If it does not work, can you post a log file there - I need to know what it is wrong. Also it the version looks wrong - but it could be related to the node not starting
-
I believe a full power cycle should do it -unless you had a very early version I think you may have the latest version already
-
When you reboot it is designed to remove existing nodes and then recreate them - you often need to refresh the browser to the the node server to show all - it is a known polyglot UI issue Have you updated polyglot to latest version? There have been some node handling changes recently I do not see the behavior you describe - maybe you can enable debug in the log and send me a long log - Maybe I can figure out what is happening
-
Really strange - There is no communication from the Yolink cloud - Using MQTT the sensors should report by them selves - I am only querying once an hour - nothing coming from the cloud - maybe try to generate new credentials For the UDI mobile issue - did you try to reboot the PoI ? The text files are only read at reboot - updating the server is not enough - little strange but it seems to be the case
-
Are you running a different application with the same credentials (like HA or similar) - It seems only one one application can use the same credentials at a time . I am not 100% sure, but I have seen the same when using 2 different ISYs running the same code. I see the code initializing but then nothing happens - it times out and reacquires the token. I think another application has the control I did find an error on the door sensor that I fixed - I did not update version yet but uploaded the fix I am travelling and cannot test the code change.
-
How to charge when certain conditions are met
Panda88 replied to apostolakisl's topic in TeslaEVStream
Congrats on the car, I think this should work - you can specify max charge current - but you need to make sure it works correctly - I have not been able to verify it You have to be a little careful as there is (I believe) a delay from the tesla API - I htink commands are ok but getting data back may have some delay -
Can you provide a log file from the node serer?. Aldo try to restart the node server after update. I think there were some cloud issues yesterday
-
Try 0.4.2 - I no longer remove nodes - There may be an issue with multi devices - as I cannot create the sub nodes as there is no information on them - I'll look to keep the state but it is a more complex change
-
I agree - but they are supposedly working on a local mode as well
-
I'll be looking at it today - hopefully not too complex. Also, Maybe I should change the error to warning - program should keep running and as soon as node is back on-line it should pick up again (assuming it was there when the Node server startted)
-
Yes - this is expected
-
There is no local API yet - they are working on something but not released yet - will likely need a new version of HUB to do it
-
yes - it detect the motion sensor as off line when installing and then it removes it - It is probably too aggressive - I should just keep it an let it show off-line - I have to assume that devices registered are supposed to exits I'll look at making that change later
-
I need the log from the node server - go to polisy and go to node server and then download log The on-line checks if the cloud api has a connection/communication with the motion sensor It is possible I made a mistake but mine show up???
-
If a device is not on line when restarted it is removed - Maybe that is too aggressive - let me know. Send me an log and I can take a look