Jump to content

Stopped working after Polisy 5.4.1 upgrade


brians

Recommended Posts

Posted (edited)

Update:  I uninstalled/re-installed from PG3, authorized and is working again.

Seemed to stop working after I upgraded Polisy to 5.4.1.

Not sure if coincidence or something else.

Here is log of errors after restarting it...

2022-03-08 16:27:39,196 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2022-03-08 16:27:41,875 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.31 Starting...
2022-03-08 16:27:42,003 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '192.168.10.106', 'netmask': '255.255.255.0', 'broadcast': '192.168.10.255'}
2022-03-08 16:27:42,005 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:1888
2022-03-08 16:27:42,013 MainThread udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.
2022-03-08 16:27:42,014 MainThread udi_interface.interface WARNING  interface:send: MQTT Send waiting on connection :: {'installprofile': {'reboot': False}}
2022-03-08 16:27:42,154 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with result code 0 (Success)
2022-03-08 16:27:42,156 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:59:40:78_1 -  MID: 1 Result: 0
2022-03-08 16:27:42,175 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,)
2022-03-08 16:27:42,275 MQTT       udi_interface.interface INFO     interface:_message: Successfully set controller :: ST to 1 UOM 25
2022-03-08 16:27:45,025 MainThread udi_interface.interface WARNING  interface:db_getNodeDrivers: Node server config has not yet been recieved.
2022-03-08 16:27:45,030 MainThread udi_interface.interface INFO     interface:addNode: Adding node Ecobee Controller(controller) [None]
2022-03-08 16:27:45,032 MainThread udi_interface.interface INFO     interface:setController: Using node "controller", driver "ST" for connection status.
2022-03-08 16:27:45,226 Thread-6   udi_interface      ERROR    udi_interface:write: Exception in thread
2022-03-08 16:27:45,232 Thread-6   udi_interface      ERROR    udi_interface:write: Thread-6
2022-03-08 16:27:45,234 Thread-6   udi_interface      ERROR    udi_interface:write: :
2022-03-08 16:27:45,235 Thread-6   udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2022-03-08 16:27:45,236 Thread-6   udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2022-03-08 16:27:45,241 Thread-6   udi_interface      ERROR    udi_interface:write: self.run()
2022-03-08 16:27:45,241 Thread-6   udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run
2022-03-08 16:27:45,245 Thread-6   udi_interface      ERROR    udi_interface:write: self._target(*self._args, **self._kwargs)
2022-03-08 16:27:45,246 Thread-6   udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:59:40:78_1/nodes/Controller.py", line 282, in handler_params
2022-03-08 16:27:45,248 Thread-6   udi_interface      ERROR    udi_interface:write: self.Params.load(params)
2022-03-08 16:27:45,249 Thread-6   udi_interface      ERROR    udi_interface:write: File "/var/polyglot/.local/lib/python3.8/site-packages/udi_interface/custom.py", line 74, in load
2022-03-08 16:27:45,250 Thread-6   udi_interface      ERROR    udi_interface:write: for key in new_data:
2022-03-08 16:27:45,251 Thread-6   udi_interface      ERROR    udi_interface:write: TypeError
2022-03-08 16:27:45,252 Thread-6   udi_interface      ERROR    udi_interface:write: :
2022-03-08 16:27:45,252 Thread-6   udi_interface      ERROR    udi_interface:write: 'NoneType' object is not iterable
2022-03-08 16:27:45,885 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=10
2022-03-08 16:27:46,921 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=9
2022-03-08 16:27:47,930 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=8
2022-03-08 16:27:48,941 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=7
2022-03-08 16:27:49,945 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=6
2022-03-08 16:27:50,947 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=5
2022-03-08 16:27:51,960 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=4
2022-03-08 16:27:52,992 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=3
2022-03-08 16:27:54,014 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=2
2022-03-08 16:27:55,030 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=1
2022-03-08 16:27:56,045 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=0
2022-03-08 16:27:57,048 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-1
2022-03-08 16:27:58,077 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-2
2022-03-08 16:27:59,083 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-3
2022-03-08 16:28:00,088 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-4
2022-03-08 16:28:01,091 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-5
2022-03-08 16:28:02,140 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-6
2022-03-08 16:28:03,200 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-7
2022-03-08 16:28:04,260 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-8
2022-03-08 16:28:05,272 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-9
2022-03-08 16:28:06,288 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-10
2022-03-08 16:28:07,309 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-11
2022-03-08 16:28:08,311 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-12
2022-03-08 16:28:09,316 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-13
2022-03-08 16:28:10,318 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-14
2022-03-08 16:28:11,369 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-15
2022-03-08 16:28:12,428 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-16
2022-03-08 16:28:13,431 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-17
2022-03-08 16:28:14,469 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-18
2022-03-08 16:28:15,533 Thread-10  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded config=True config_done=True params=None data=True nsdata=True... cnt=-19

    

 

Edited by brians
Posted

I didn't see your update :) In the future post a new comment so it's more obvious.  But yes, the PG3 python library was not updated, so deleting and re-installing forced it to update.  Future versions of PG3 should force an update of that library when it's updated.

 

 

  • Like 1
  • Thanks 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...