Posted October 19Oct 19 Heollo @bpwwer,Not sure where to turn as I seemed to be having problems with both Vue and YolinkLocal.I installed 6.0 a last weekend. Since then Vue works for about 3 days then doesn’t update values or control switches. A reboot fixes it for another few days.This morning, I had PGx open in Eisy_ui and in the bottom right side a red warning kept popping up, something about Slot 13 (Vue) was...I am sorry I don’t remember exactly what it was but it seemed to indicate Vue was using too many resources to quickly, is how I interpreted it..Alternately another warning about slot 15 (YolinkLocal) was struggling as well. Unfortunately, I didn’t capture when vue became unresponsive, but I think I did capture today's events.I reboot and so far so good.I will also add that whatever is going on seems to have affected other plug ins today, devices turning on and off by program were taking way to long. I am on 6.0.0_04With everything up to date as of yesterday.I have PM’ed you the logs from today.Thank you!-Tim
October 21Oct 21 What I see in the log is that the Emporia server is returning 500 - internal server error for all the requests between 12:15am and 7:25am. During that time nothing will get updated since the server isn't responding with anything but the error. After that, the server starts responding with data and continues to do so through the end of log. It doesn't look like the plug-in was restarted at 7:25.A 500 error is a pretty generic error. It simply means that the server encountered an error while trying to handle the request. Since the server is able to handle the requests from the plug-in normally, this tends to rule out the plug-in sending an invalid request.It's possible that the Emporia server is overloaded and doesn't have the resources to handle the request, but I believe there are other errors it could return to indicate that. Most likely is that the server handling the request simply can't connect or access the data from their internal database, which generates an error and that's passed back to the plug-in.Most of the errors showing up the log are coming from the libraries used by the plug-in to make the request. The plug-in is throwing one error too, and I could trap that, but it won't be able to handle all the other errors that get logged when the server doesn't respond properly.From this log, I don't see anything that would indicate that the plug-in would be causing any resource issues with PG3x or IoX. In fact, when these errors are occurring, it's putting less load on PG3x and IoX because it's not sending any status updates to them.
October 21Oct 21 Author Thank you for looking into it for me.II will keep an eye o other plugins.Thanks again,Tim
Yesterday at 11:56 AM1 day I've been having issues with this nodeserver for a few months - my programs to send a push message when charging starts, stops and when the charging rate changes haven't been working - since this is not critical, I haven't really investigated but I am seeing 500 errors in the debug.log (below)2025-10-27 00:25:10.849 Thread-4108 (poll) udi_interface ERROR vue:poll: SP query failed: 500 Server Error: Internal Server Error for url: https://api.emporiaenergy.com/AppAPI?apiMethod=... 2025-10-27 00:25:13.712 Thread-4108 (poll) udi_interface ERROR udi_interface:write: Exception in thread 2025-10-27 00:25:13.712 Thread-4108 (poll) udi_interface ERROR udi_interface:write: Thread-4108 (poll)and errors in the install.log (below) ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. gtts 2.5.4 requires requests<3,>=2.27, but you have requests 2.26.0 which is incompatible.
Yesterday at 12:25 PM1 day Here's some more detail from the log file in case it's useful:2025-10-29 07:16:01.229 Thread-197 (poll) udi_interface ERROR udi_interface:write: ^ 2025-10-29 07:16:01.229 Thread-197 (poll) udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b90260ee_12/pyemvue/pyemvue.py", line 98, in get_device_list_usage 2025-10-29 07:16:01.229 Thread-197 (poll) udi_interface ERROR udi_interface:write: response.raise_for_status() 2025-10-29 07:16:01.229 Thread-197 (poll) udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b90260ee_12/.local/lib/python3.11/site-packages/requests/models.py", line 953, in raise_for_status 2025-10-29 07:16:01.230 Thread-197 (poll) udi_interface ERROR udi_interface:write: raise HTTPError(http_error_msg, response=self) 2025-10-29 07:16:01.230 Thread-197 (poll) udi_interface ERROR udi_interface:write: requests.exceptions 2025-10-29 07:16:01.230 Thread-197 (poll) udi_interface ERROR udi_interface:write: . 2025-10-29 07:16:01.230 Thread-197 (poll) udi_interface ERROR udi_interface:write: HTTPError 2025-10-29 07:16:01.230 Thread-197 (poll) udi_interface ERROR udi_interface:write: : 2025-10-29 07:16:01.230 Thread-197 (poll) udi_interface ERROR udi_interface:write: 500 Server Error: Internal Server Error for url: https://api.emporiaenergy.com/AppAPI?apiMethod=getDeviceListUsages... 2025-10-29 07:16:01.231 Thread-197 (poll) udi_interface ERROR udi_interface:write: During handling of the above exception, another exception occurred: 2025-10-29 07:16:01.231 Thread-197 (poll) udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2025-10-29 07:16:01.231 Thread-197 (poll) udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.11/threading.py", line 1045, in bootstrapinner 2025-10-29 07:16:01.231 Thread-197 (poll) udi_interface ERROR udi_interface:write: self.run() 2025-10-29 07:16:01.231 Thread-197 (poll) udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.11/threading.py", line 982, in run 2025-10-29 07:16:01.232 Thread-197 (poll) udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2025-10-29 07:16:01.232 Thread-197 (poll) udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b90260ee_12/vue.py", line 56, in poll 2025-10-29 07:16:01.232 Thread-197 (poll) udi_interface ERROR udi_interface:write: vue.login(username=username, password=password) 2025-10-29 07:16:01.232 Thread-197 (poll) udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b90260ee_12/pyemvue/pyemvue.py", line 245, in login 2025-10-29 07:16:01.232 Thread-197 (poll) udi_interface ERROR udi_interface:write: self.customer = self.get_customer_details(self.username)
Yesterday at 09:33 PM1 day Seems to be working for me. I also do see the dependency error in my install.log after installing it on a system with IoX 6.0. But it doesn't seem to cause any issues. As mentioned above, Server error 500 is coming from the Emporia server, it's not something the plug-in can do anything about.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.