Panda88CO / udi-yolink

MIT License
3 stars 1 forks source link

Nodes showing unknown and not connected #10

Open ewhite122 opened 1 year ago

ewhite122 commented 1 year ago

i left a log file in udi forums. but... NS seems to work, nodes show up in AC, but they do not populate with data. I am running the latest versions of everything, restarted several times over several days, deleted and reloaded nodes... nothing seems to get any DATA to the nodes.

2022-12-08 17:34:18,178 Thread-15 udi_interface DEBUG yolink_mqtt_classV2:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-08 17:34:18,196 Thread-15 udi_interface DEBUG yolink_mqtt_classV2:publish_data: Publish Data to Queue: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-08 17:34:18,214 Thread-7 udi_interface DEBUG yoLink_init_V2:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request - {"time": "1670542458196", "method": "MotionSensor.getState", "targetDevice": "d88b4c02000305cb", "token": "5896C86D32A912CEE902E0F98B451AF6"} 2022-12-08 17:34:18,485 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-08 17:34:18,504 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:18,505 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:18,530 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c02000305cb: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request 2022-12-08 17:34:18,610 Thread-9 udi_interface DEBUG yoLink_init_V2:on_publish: on_publish 2022-12-08 17:34:18,653 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'code': '000000', 'time': 1670542458416, 'msgid': '1670542458196', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 12, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366921855}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-08T23:00:15.103Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-08 17:34:18,671 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:18,671 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:18,698 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c02000305cb: {'code': '000000', 'time': 1670542458416, 'msgid': '1670542458196', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 12, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366921855}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-08T23:00:15.103Z'}, 'targetDevice': 'd88b4c02000305cb'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/response 2022-12-08 17:34:20,228 Thread-15 udi_interface DEBUG udi_interface:write: retry count : 2 2022-12-08 17:34:20,246 Thread-15 udi_interface ERROR yolink_mqtt_classV2:initNode: MotionSensor not online 2022-12-08 17:34:20,420 Thread-24 udi_interface DEBUG yolink_mqtt_classV2:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-08 17:34:20,438 Thread-24 udi_interface DEBUG yolink_mqtt_classV2:publish_data: Publish Data to Queue: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-08 17:34:20,456 Thread-7 udi_interface DEBUG yoLink_init_V2:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request - {"time": "1670542460438", "method": "MotionSensor.getState", "targetDevice": "d88b4c020003054c", "token": "BF74FB92D9E15255448B419F00150C1C"} 2022-12-08 17:34:20,715 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-08 17:34:20,734 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:20,735 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:20,753 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c020003054c: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request 2022-12-08 17:34:20,854 Thread-9 udi_interface DEBUG yoLink_init_V2:on_publish: on_publish 2022-12-08 17:34:20,884 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'code': '000000', 'time': 1670542460655, 'msgid': '1670542460438', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366128110}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-08T22:46:16.135Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-08 17:34:20,903 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:20,903 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:20,935 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c020003054c: {'code': '000000', 'time': 1670542460655, 'msgid': '1670542460438', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366128110}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-08T22:46:16.135Z'}, 'targetDevice': 'd88b4c020003054c'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/response 2022-12-08 17:34:22,465 Thread-24 udi_interface DEBUG udi_interface:write: retry count : 2 2022-12-08 17:34:22,483 Thread-24 udi_interface ERROR yolink_mqtt_classV2:initNode: MotionSensor not online 2022-12-08 17:34:33,413 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2022-12-08 17:34:33,432 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2022-12-08 17:34:33,451 Thread-30 udi_interface DEBUG udi-YoLink:systemPoll: System Poll executing: shortPoll 2022-12-08 17:34:33,459 Thread-30 udi_interface DEBUG udi-YoLink:heartbeat: heartbeat: 1 2022-12-08 17:34:33,478 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'command': [{'address': 'setup', 'cmd': 'DOF'}]} 2022-12-08 17:34:33,504 Thread-30 udi_interface DEBUG yolink_mqtt_classV2:lastUpdate: MotionSensor - Checking last update 2022-12-08 17:34:33,524 Thread-30 udi_interface DEBUG yolink_mqtt_classV2:lastUpdate: MotionSensor - Checking last update

Panda88CO commented 1 year ago
Let me take a look at log file  Sent from Mail for Windows From: ewhite122Sent: Thursday, December 8, 2022 3:43 PMTo: Panda88CO/udi-yolinkCc: SubscribedSubject: [Panda88CO/udi-yolink] Nodes showing unknown and not connected (Issue #10) i left a log file in udi forums. but...NS seems to work, nodes show up in AC, but they do not populate with data.I am running the latest versions of everything, restarted several times over several days, deleted and reloaded nodes...nothing seems to get any DATA to the nodes.2022-12-08 17:34:18,178 Thread-15 udi_interface DEBUG yolink_mqtt_classV2:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-08 17:34:18,196 Thread-15 udi_interface DEBUG yolink_mqtt_classV2:publish_data: Publish Data to Queue: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-08 17:34:18,214 Thread-7 udi_interface DEBUG yoLink_init_V2:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request - {"time": "1670542458196", "method": "MotionSensor.getState", "targetDevice": "d88b4c02000305cb", "token": "5896C86D32A912CEE902E0F98B451AF6"} 2022-12-08 17:34:18,485 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-08 17:34:18,504 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:18,505 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:18,530 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c02000305cb: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request 2022-12-08 17:34:18,610 Thread-9 udi_interface DEBUG yoLink_init_V2:on_publish: on_publish 2022-12-08 17:34:18,653 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'code': '000000', 'time': 1670542458416, 'msgid': '1670542458196', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 12, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366921855}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-08T23:00:15.103Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-08 17:34:18,671 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:18,671 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:18,698 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c02000305cb: {'code': '000000', 'time': 1670542458416, 'msgid': '1670542458196', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 12, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366921855}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-08T23:00:15.103Z'}, 'targetDevice': 'd88b4c02000305cb'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/response 2022-12-08 17:34:20,228 Thread-15 udi_interface DEBUG udi_interface:write: retry count : 2 2022-12-08 17:34:20,246 Thread-15 udi_interface ERROR yolink_mqtt_classV2:initNode: MotionSensor not online 2022-12-08 17:34:20,420 Thread-24 udi_interface DEBUG yolink_mqtt_classV2:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-08 17:34:20,438 Thread-24 udi_interface DEBUG yolink_mqtt_classV2:publish_data: Publish Data to Queue: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-08 17:34:20,456 Thread-7 udi_interface DEBUG yoLink_init_V2:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request - {"time": "1670542460438", "method": "MotionSensor.getState", "targetDevice": "d88b4c020003054c", "token": "BF74FB92D9E15255448B419F00150C1C"} 2022-12-08 17:34:20,715 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-08 17:34:20,734 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:20,735 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:20,753 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c020003054c: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request 2022-12-08 17:34:20,854 Thread-9 udi_interface DEBUG yoLink_init_V2:on_publish: on_publish 2022-12-08 17:34:20,884 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'code': '000000', 'time': 1670542460655, 'msgid': '1670542460438', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366128110}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-08T22:46:16.135Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-08 17:34:20,903 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:20,903 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:20,935 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c020003054c: {'code': '000000', 'time': 1670542460655, 'msgid': '1670542460438', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366128110}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-08T22:46:16.135Z'}, 'targetDevice': 'd88b4c020003054c'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/response 2022-12-08 17:34:22,465 Thread-24 udi_interface DEBUG udi_interface:write: retry count : 2 2022-12-08 17:34:22,483 Thread-24 udi_interface ERROR yolink_mqtt_classV2:initNode: MotionSensor not online 2022-12-08 17:34:33,413 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2022-12-08 17:34:33,432 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2022-12-08 17:34:33,451 Thread-30 udi_interface DEBUG udi-YoLink:systemPoll: System Poll executing: shortPoll 2022-12-08 17:34:33,459 Thread-30 udi_interface DEBUG udi-YoLink:heartbeat: heartbeat: 1 2022-12-08 17:34:33,478 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'command': [{'address': 'setup', 'cmd': 'DOF'}]} 2022-12-08 17:34:33,504 Thread-30 udi_interface DEBUG yolink_mqtt_classV2:lastUpdate: MotionSensor - Checking last update 2022-12-08 17:34:33,524 Thread-30 udi_interface DEBUG yolink_mqtt_classV2:lastUpdate: MotionSensor - Checking last update—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> 
Panda88CO commented 1 year ago
Can you send me a log where you restart the node server?Data seems to be reported so issue is registration with ISY  Sent from Mail for Windows From: ewhite122Sent: Thursday, December 8, 2022 3:43 PMTo: Panda88CO/udi-yolinkCc: SubscribedSubject: [Panda88CO/udi-yolink] Nodes showing unknown and not connected (Issue #10) i left a log file in udi forums. but...NS seems to work, nodes show up in AC, but they do not populate with data.I am running the latest versions of everything, restarted several times over several days, deleted and reloaded nodes...nothing seems to get any DATA to the nodes.2022-12-08 17:34:18,178 Thread-15 udi_interface DEBUG yolink_mqtt_classV2:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-08 17:34:18,196 Thread-15 udi_interface DEBUG yolink_mqtt_classV2:publish_data: Publish Data to Queue: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-08 17:34:18,214 Thread-7 udi_interface DEBUG yoLink_init_V2:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request - {"time": "1670542458196", "method": "MotionSensor.getState", "targetDevice": "d88b4c02000305cb", "token": "5896C86D32A912CEE902E0F98B451AF6"} 2022-12-08 17:34:18,485 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-08 17:34:18,504 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:18,505 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:18,530 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c02000305cb: {'time': '1670542458196', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request 2022-12-08 17:34:18,610 Thread-9 udi_interface DEBUG yoLink_init_V2:on_publish: on_publish 2022-12-08 17:34:18,653 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'code': '000000', 'time': 1670542458416, 'msgid': '1670542458196', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 12, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366921855}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-08T23:00:15.103Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-08 17:34:18,671 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:18,671 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:18,698 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c02000305cb: {'code': '000000', 'time': 1670542458416, 'msgid': '1670542458196', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 12, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366921855}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-08T23:00:15.103Z'}, 'targetDevice': 'd88b4c02000305cb'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/response 2022-12-08 17:34:20,228 Thread-15 udi_interface DEBUG udi_interface:write: retry count : 2 2022-12-08 17:34:20,246 Thread-15 udi_interface ERROR yolink_mqtt_classV2:initNode: MotionSensor not online 2022-12-08 17:34:20,420 Thread-24 udi_interface DEBUG yolink_mqtt_classV2:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-08 17:34:20,438 Thread-24 udi_interface DEBUG yolink_mqtt_classV2:publish_data: Publish Data to Queue: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-08 17:34:20,456 Thread-7 udi_interface DEBUG yoLink_init_V2:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request - {"time": "1670542460438", "method": "MotionSensor.getState", "targetDevice": "d88b4c020003054c", "token": "BF74FB92D9E15255448B419F00150C1C"} 2022-12-08 17:34:20,715 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-08 17:34:20,734 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:20,735 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:20,753 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c020003054c: {'time': '1670542460438', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request 2022-12-08 17:34:20,854 Thread-9 udi_interface DEBUG yoLink_init_V2:on_publish: on_publish 2022-12-08 17:34:20,884 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message: {'code': '000000', 'time': 1670542460655, 'msgid': '1670542460438', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366128110}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-08T22:46:16.135Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-08 17:34:20,903 Thread-9 udi_interface DEBUG yoLink_init_V2:on_message: Message received and put in queue (size : 1) 2022-12-08 17:34:20,903 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: Received message - Q size=0 2022-12-08 17:34:20,935 Thread-6 udi_interface DEBUG yoLink_init_V2:process_message: process_message for d88b4c020003054c: {'code': '000000', 'time': 1670542460655, 'msgid': '1670542460438', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670366128110}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-08T22:46:16.135Z'}, 'targetDevice': 'd88b4c020003054c'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/response 2022-12-08 17:34:22,465 Thread-24 udi_interface DEBUG udi_interface:write: retry count : 2 2022-12-08 17:34:22,483 Thread-24 udi_interface ERROR yolink_mqtt_classV2:initNode: MotionSensor not online 2022-12-08 17:34:33,413 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2022-12-08 17:34:33,432 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2022-12-08 17:34:33,451 Thread-30 udi_interface DEBUG udi-YoLink:systemPoll: System Poll executing: shortPoll 2022-12-08 17:34:33,459 Thread-30 udi_interface DEBUG udi-YoLink:heartbeat: heartbeat: 1 2022-12-08 17:34:33,478 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'command': [{'address': 'setup', 'cmd': 'DOF'}]} 2022-12-08 17:34:33,504 Thread-30 udi_interface DEBUG yolink_mqtt_classV2:lastUpdate: MotionSensor - Checking last update 2022-12-08 17:34:33,524 Thread-30 udi_interface DEBUG yolink_mqtt_classV2:lastUpdate: MotionSensor - Checking last update—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> 
ewhite122 commented 1 year ago

log.txt

here is a latest log.. after restarting PG3

Panda88CO commented 1 year ago
ThanksI do see an issue – need to debug a little – I think I must have checked some development code in by mistake I’ll try to get it fixed tomorrow Sent from Mail for Windows From: ewhite122Sent: Thursday, December 8, 2022 6:50 PMTo: Panda88CO/udi-yolinkCc: Panda88CO; CommentSubject: Re: [Panda88CO/udi-yolink] Nodes showing unknown and not connected (Issue #10) log.txthere is a latest log.. after restarting PG3—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***> 
Panda88CO commented 1 year ago

I think I found the issue - Give it a try I am working on a major revision, that will use a different approach to the threading

Panda88CO commented 1 year ago
I think I found the bug – It crept in by a check-in that happened by mistake Give it a try  Sent from Mail for Windows From: ewhite122Sent: Thursday, December 8, 2022 6:50 PMTo: Panda88CO/udi-yolinkCc: Panda88CO; CommentSubject: Re: [Panda88CO/udi-yolink] Nodes showing unknown and not connected (Issue #10) log.txthere is a latest log.. after restarting PG3—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***> 
ewhite122 commented 1 year ago

awesome job!!! that fixed it.. thanks very much!