-
Posts
21 -
Joined
-
Last visited
pinlawr's Achievements
-
Sorry for the delay, I forgot to turn on notifications on this thread. Currently everything shows time of last car update was 4/26 14:14. Nothing since then. The car was driven today (4/28) for over an hour, and pretty much all of the data is not current. There are no "stream" type entries in the log file for today's drive. Of note, the commands always seem to work (start/stop charging, honk, etc.) so there is authenticated connectivity to the vehicle. I changed the log level to debug and restarted the plugin. I've DM'd the log from TeslaEVstream. Once the plugin was restarted some of the data updated (mileage, etc.) but not everything, for example it still shows the charger is engaged, but it's not (the vehicle isn't even at home). I also installed TeslaEVpwrSh into a different slot. I just went for a drive. Data in the TeslaEVpwrSh updated some data (but not all), and TeslaEVstream didn't record any changes.
-
pinlawr started following 404 Error Running Network Resource , Data Outdated After Vehicle Stops Driving , Message on install (discover) and 2 others
-
I switched to the new streaming plugin a week or so ago. Since then a lot of my use cases have stopped working correctly due to out of date information, and no way to trigger an update. One of the main use cases for me has been using the plugin to start/stop charging based on the status of the car (rather than just a plain X-X schedule). I also use it to flash lights in the house if I run our goodnight routine and the car is not plugged in and below X% charge. I also have a button on a keypad link that is lit when the charger is connected, and now that light is never correct. Literally right now it shows the charger port latch is engaged. It's not. The car is in the middle of a parking lot. At night, when home and plugged in, it will show disengaged, because it wasn't connected during the drive (obv), and never updated after arriving home and plugging it in. This causes the program that starts charging to not run (it checks the latch state, no need to send the charging start command and wake the car up if it's not plugged in). Once the car gets somewhere and the drive stops, the streaming stops (actually since the mileage and other things are also off, I wonder if it's stopping before the drive ends). A lot of other things stop updating as there is not poll or refresh of the vehicle state after streaming stops. Mileage, temperatures, charging latch state, window/door status, etc. Nothing updates after streaming stops. Currently the car is online (as it's not home and sentry is on) and all the data in the admin panel is out of date. The time of last car update is 10:03:25, but the drive didn't end until 10:07:46. I fully understand the need to move to the new API and reduce calls, but there is still a need to keep the data up to date if the vehicle is online, even if hourly, or with a triggered command. Perhaps when streaming (or vehicle is offline/asleep) don't poll to save calls, but otherwise if the car is online a regular poll schedule seems needed to ensure the data is up to date. I'm happy to provide logs or run tests.
-
That is URL (not HTML) encoded. You may check your network resource and change the "mode" from URL Encode to Raw Text. Or, if that doesn't help, depending on the code on the server, you should be able to call a URL decode routine. URL decoded output would then be: Source:SunRoom,Temperature:21.6°F,Humidity:70%,BatteryLevel:53% The degree (º) and percent (%) symbols are being encoded.
-
Polisy updated fine. It took around 33 minutes to complete. I have around 15 plugins running. Wired connectivity.
-
Sorry for the late reply, and thanks for the help. I guess I had email notifications off. I ran into this (bitstring problem) a while back when it was first a problem on my PG3 instance and used the above instructions to fix it. Everything worked fine until the move to PG3x. My pip3 list shows "bitstring 3.1.9", but I went ahead and tried the steps you sent just to verify and it made no difference. I'm still getting the same "no module named 'lifxlan'" error, even with pip3 list showing that "lifxlan 1.2.7" is installed. I'll go open a ticket.
-
Hello! I've been running the LiFX node server on my Polisy for awhile now, migrated from PG2 to PG3 a while ago. Just moved to PG3x. Now when the node server tries to start all I get is the same lines in the log over and over until I stop it. 2023-08-31 16:08:57,295 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.1.0 Starting... 2023-08-31 16:08:57,300 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-08-31 16:08:57,301 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db952cee0_12/lifx-poly.py", line 10, in <module> 2023-08-31 16:08:57,302 MainThread udi_interface ERROR udi_interface:write: import lifxlan 2023-08-31 16:08:57,303 MainThread udi_interface ERROR udi_interface:write: ModuleNotFoundError 2023-08-31 16:08:57,303 MainThread udi_interface ERROR udi_interface:write: : 2023-08-31 16:08:57,304 MainThread udi_interface ERROR udi_interface:write: No module named 'lifxlan' 2023-08-31 16:08:58,914 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 I SSH'd in and manually and ran the install.sh script and it re-installed the lifxlan module. I can see "lifxlan 1.2.7" in the list when I "pip3 list". Other potentially relevant version info: PG3x Version 3.2.3 Frontend Version: 3.2.3 IoX Version: 5.6.4 Not sure where to go next to get the node server back up and running. Thanks for any help!
-
Connect to https resource with self signed cert (hue hub api v2)
pinlawr replied to pinlawr's topic in IoX Support
Error log was the last attachment. It just says "Net-Resource: Failed connecting to 192.xxxx". Nothing else shows in the log. -
Connect to https resource with self signed cert (hue hub api v2)
pinlawr replied to pinlawr's topic in IoX Support
My settings are exactly as suggested. In my screenshot you can see that verify is NOT checked. I mentioned that it's set to TLS 1.2 since it's not visible in the screenshot. Resource screenshot shows it's set to a 10,000 timeout. I also mentioned that SNI doesn't make a difference checked or unchecked (and it wouldn't anyway since the cert in question doesn't use SNI). It works from a browser, curl, and postman. I also mentioned it DOES work on a ISY on Polisy, just not on the 994. -
I read through the info in this thread (Can you ignore ssl validation in a Network Resource?) and I am basically having the same issue. I've attached my network settings (protocol on both is set to 1.2, since it's not visible in the screenshot). Also attached is the network resource and the simple error message I'm getting back. Toggling SNI changed nothing (which wasn't a surprise since the cert has no SNI entries). The request has to be PUT. I have the self-sign cert from the hub exported, but I don't see any way to import it as trusted, or simply tell the ISY to ignore it. I have a Polisy, but haven't moved to IoP yet. As a test, I exported/imported my network resources into IoP just as they are, and they DID work fine without any errors. Thanks for any help!
-
I submitted a ticket 9 days ago. I just sent them a follow up.
-
Not yet. I opened a ticket as suggested but haven’t received any follow up except from the initial submission. Need to go give it a bump.
-
Done! Thanks!
-
The error comes up the moment I push the Execute button (so no delay like it's waiting for a timeout). As a test, I adjusted the timeout on one to 5 seconds, the error still popped up the moment I hit execute. All of them work when ran from the console, and all are used daily (or more often) in programs that run both automatically and on demand. Also, all resources are to local devices/servers on my internal network. There are no calls to internet resources. Oh, app version is 0.9.6, just for completeness. ISY is 5.3.4.
-
pinlawr changed their profile photo
-
Some, but not all, of my network resources return a 404 error when I try to use the Execute option on them from UD Mobile. At first I thought it was only programs that have a dash in the name, but that isn't consistently the problem. When I view the node info the address is correct, etc. I've re-synced UD Mobile and that doesn't help. I also don't see any errors in the event viewer. The network resources DO work when executed via the admin console, or from programs, etc. It's only when trying to use the Execute button from UD Mobile. The full error that pops up is: <?xml version="1.0" encoding="UTF-8"?><RestResponse succeeded="false"><status>404</status><RestResponse> Thanks for any help, Billy