straten Posted July 4 Posted July 4 I can install and log in to TotalConnect PG3 okay but NONE of the nodes are updated. I have uninstalled, reinstalled, and even changed sockets but it still renders the message "Discovery failed, please check logs for a more detailed error" Quote Discovery failed please check logs for a more detailed error. system_7-4-2024_25813_PM.zip
straten Posted July 4 Author Posted July 4 Also, I have 2 homes using the TotalConnect app under a single login. Could this be the issue? I would be surprised if it was because this is nothing new as I was able to login fine into the single login in the past. This started after I performed a migration from 994 to EISY, and in my preparation I unloaded and reloaded all nodeservers in hopes this would make it a cleaner migration. Apparently not the case 😑
straten Posted July 5 Author Posted July 5 Debug file attached this time TotalConnect_7-4-2024_82547_PM.zip
bmercier Posted July 5 Posted July 5 27 minutes ago, straten said: Debug file attached this time TotalConnect_7-4-2024_82547_PM.zip 812.04 kB · 0 downloads Anyone knows of a solution? I think these are the relevant lines below. The line in bold I believe is suspicious: 2024-07-04 20:24:58.412 Thread-4 (start) udi_interface INFO totalconnect-poly:start: Started Total Connect Nodeserver 2024-07-04 20:24:58.413 Thread-4 (start) udi_interface.node DEBUG node:setDriver: controller:Total Connect Controller Reporting set ST to 1 to Polyglot 2024-07-04 20:24:58.413 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '06556e5f-4aa7-4da7-b820-05a7552047e7', 'uuid': '00:21:b9:02:6a:12', 'profileNum': 3, 'address': 'controller', 'name': 'Total Connect Controller', 'nodeDefId': 'controller', 'nls': None, 'hint': '0x00000000', 'controller': 1, 'primaryNode': 'controller', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1720044242980, 'timeModified': 1720142698298, 'dbVersion': 1} 2024-07-04 20:24:58.413 Thread-4 (start) udi_interface.node DEBUG node:reportDriver: Updating value to 1 2024-07-04 20:24:58.422 Thread-1 (send_thread) udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': 'controller', 'driver': 'ST', 'value': '1', 'uom': 25, 'text': None}]} 2024-07-04 20:24:58.433 MQTT udi_interface.interface INFO interface:_message: Successfully set controller :: ST to 1 UOM 25 2024-07-04 20:25:00.052 Thread-2 (parameterHandler) root WARNING TotalConnectClient:security_problem: User straten is a master user. 2024-07-04 20:25:00.052 Thread-2 (parameterHandler) root WARNING TotalConnectClient:security_problem: User straten is a user administrator. 2024-07-04 20:25:00.052 Thread-2 (parameterHandler) root WARNING TotalConnectClient:security_problem: User straten is a configuration administrator. 2024-07-04 20:25:00.053 Thread-2 (parameterHandler) root WARNING TotalConnectClient:__init__: Total Connect user straten has one or more permissions that are not necessary. Remove permissions from this user or create a new user with minimal permissions. 2024-07-04 20:25:00.053 Thread-2 (parameterHandler) root WARNING TotalConnectClient:populate_details: No usercode for location 2856885. 2024-07-04 20:25:10.410 Thread-2 (parameterHandler) udi_interface.custom DEBUG custom:__setitem__: CUSTOM: discovery_failed = Discovery failed please check logs for a more detailed error. ...saving 2024-07-04 20:25:10.410 Thread-2 (parameterHandler) udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2024-07-04 20:25:10.410 Thread-2 (parameterHandler) udi_interface ERROR totalconnect-poly:discover: Discovery failed with error argument of type 'NoneType' is not iterable Traceback (most recent call last): File "/var/polyglot/pg3/ns/0021b9026a12_3/totalconnect-poly.py", line 134, in discover self.tc = TotalConnectClient.TotalConnectClient(self.user, self.password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/polyglot/pg3/ns/0021b9026a12_3/.local/lib/python3.11/site-packages/total_connect_client/TotalConnectClient.py", line 94, in __init__ self.authenticate() File "/var/polyglot/pg3/ns/0021b9026a12_3/.local/lib/python3.11/site-packages/total_connect_client/TotalConnectClient.py", line 195, in authenticate self.populate_details(response) File "/var/polyglot/pg3/ns/0021b9026a12_3/.local/lib/python3.11/site-packages/total_connect_client/TotalConnectClient.py", line 310, in populate_details self.get_panel_meta_data(location_id) File "/var/polyglot/pg3/ns/0021b9026a12_3/.local/lib/python3.11/site-packages/total_connect_client/TotalConnectClient.py", line 440, in get_panel_meta_data status = self.locations[location_id].set_status( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/polyglot/pg3/ns/0021b9026a12_3/.local/lib/python3.11/site-packages/total_connect_client/TotalConnectClient.py", line 667, in set_status if "ZoneInfo" not in data["Zones"]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable
straten Posted July 5 Author Posted July 5 Thank you Benoit, and again, we are working with a SINGLE TotalConnect account with 2 homes attached to the same login . . . . . if that makes any difference??
straten Posted July 5 Author Posted July 5 UPDATE: I just separated the 2 accounts with ADT so that now I have only 1 system per login. I am still receiving errors but could you take a look at the attached logfile to see if something look awry please? TotalConnect_7-5-2024_125438_PM.zip
Recommended Posts