Jump to content

YoLink Device "not online" Messages


Scott847

Recommended Posts

Posted

I'm installing the YoLink node server on a 2nd Polisy. Although it seems to install correctly and finds all devices, it starts reporting "not online" messages from initNode for all devices after the 9th device. The 10th device is a motion sensor, but not sure if that has anything to do with the problem.

In this log the "4GD Leak Sink" device successfully reports status to IoX but nothing after that.

2023-03-23 14:37:52,703 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: adding/checking device : 4GD Leak Sink - LeakSensor
2023-03-23 14:37:52,704 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: Adding device 4GD Leak Sink (LeakSensor) as 8b4c0200006ec5
2023-03-23 14:37:52,716 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node 4GD Leak Sink(8b4c0200006ec5) [None]
2023-03-23 14:37:52,718 Thread-4   udi_interface.custom INFO     custom:_save: Sending data customparams to Polyglot.
2023-03-23 14:37:52,872 Thread-161 udi_interface      INFO     udi-YoLink:handleLevelChange: New log level: {'name': 'INFO', 'level': 20}
2023-03-23 14:37:52,883 Thread-162 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:37:52,963 Thread-163 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:37:52,967 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparams
2023-03-23 14:37:53,011 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:37:53,053 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:37:53,156 Thread-165 udi_interface      INFO     udiYoLeakSensorV2:start: start - YoLinkLeakSensor
2023-03-23 14:37:53,161 Thread-165 udi_interface      INFO     yoLink_init_V3:subscribe_mqtt: Subscribing deviceId d88b4c0200006ec5 to MQTT
2023-03-23 14:37:56,528 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 8b4c0200006ec5 :: GV0 to 0 UOM 25
2023-03-23 14:37:56,624 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 8b4c0200006ec5 :: GV1 to 4 UOM 25
2023-03-23 14:37:56,760 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 8b4c0200006ec5 :: ST to 1 UOM 25
2023-03-23 14:37:57,123 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 8b4c0200006ec5 :: CLITEMP to 13 UOM 4
2023-03-23 14:37:58,507 Thread-6   udi_interface      ERROR    yoLink_init_V3:on_disconnect: Unintentional disconnect - Reacquiring connection
2023-03-23 14:37:58,900 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: adding/checking device : 4GD Motion Living Room - MotionSensor
2023-03-23 14:37:58,902 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: Adding device 4GD Motion Living Room (MotionSensor) as 8b4c01000260ea
2023-03-23 14:37:58,915 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node 4GD Motion Living Room(8b4c01000260ea) [None]
2023-03-23 14:37:58,917 Thread-4   udi_interface.custom INFO     custom:_save: Sending data customparams to Polyglot.
2023-03-23 14:37:59,165 Thread-189 udi_interface      INFO     udi-YoLink:handleLevelChange: New log level: {'name': 'INFO', 'level': 20}
2023-03-23 14:37:59,182 Thread-190 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:37:59,256 Thread-191 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:37:59,260 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparams
2023-03-23 14:37:59,304 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:37:59,346 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:37:59,441 Thread-193 udi_interface      INFO     udiYoMotionSensorV2:start: start - udiYoLinkMotionSensor
2023-03-23 14:37:59,444 Thread-193 udi_interface      INFO     yoLink_init_V3:subscribe_mqtt: Subscribing deviceId d88b4c01000260ea to MQTT
2023-03-23 14:38:00,541 Thread-6   udi_interface      INFO     yoLink_init_V3:connect_to_broker: Connecting to broker...
2023-03-23 14:38:00,966 Thread-6   udi_interface      INFO     yoLink_init_V3:connect_to_broker: Retrieving YoLink API info
2023-03-23 14:38:04,504 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200003985 
2023-03-23 14:38:04,507 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000853dd 
2023-03-23 14:38:04,510 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200005e4a 
2023-03-23 14:38:04,512 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000853ef 
2023-03-23 14:38:04,514 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000039f5 
2023-03-23 14:38:04,516 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200006fbd 
2023-03-23 14:38:04,519 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200006eb0 
2023-03-23 14:38:04,521 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000067ab 
2023-03-23 14:38:04,523 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200006ec5 
2023-03-23 14:38:04,526 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c01000260ea 
2023-03-23 14:38:05,697 Thread-6   udi_interface      ERROR    yoLink_init_V3:on_connect: Authentication error 2 - Token no longer valid - Need to reconnect 
2023-03-23 14:38:05,699 Thread-6   udi_interface      INFO     yoLink_init_V3:refresh_token: Refreshing Token 
2023-03-23 14:38:07,511 Thread-193 udi_interface      ERROR    yolink_mqtt_classV3:initNode: MotionSensor not online
2023-03-23 14:38:08,043 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: adding/checking device : 4GD TH Basement - THSensor
2023-03-23 14:38:08,044 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: Adding device 4GD TH Basement (THSensor) as 8b4c010002acc7
2023-03-23 14:38:08,058 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node 4GD TH Basement(8b4c010002acc7) [None]
2023-03-23 14:38:08,061 Thread-4   udi_interface.custom INFO     custom:_save: Sending data customparams to Polyglot.
2023-03-23 14:38:08,138 Thread-6   udi_interface      INFO     yoLink_init_V3:connect_to_broker: Connecting to broker...
2023-03-23 14:38:08,139 Thread-6   udi_interface      INFO     yoLink_init_V3:connect_to_broker: Retrieving YoLink API info
2023-03-23 14:38:08,226 Thread-217 udi_interface      INFO     udi-YoLink:handleLevelChange: New log level: {'name': 'INFO', 'level': 20}
2023-03-23 14:38:08,245 Thread-218 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:38:08,322 Thread-219 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:38:08,324 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparams
2023-03-23 14:38:08,335 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:38:08,418 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:38:08,493 Thread-221 udi_interface      INFO     udiYoTHsensorV2:start: Start udiYoTHsensor
2023-03-23 14:38:08,495 Thread-221 udi_interface      INFO     yoLink_init_V3:subscribe_mqtt: Subscribing deviceId d88b4c010002acc7 to MQTT
2023-03-23 14:38:11,696 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200003985 
2023-03-23 14:38:11,700 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000853dd 
2023-03-23 14:38:11,702 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200005e4a 
2023-03-23 14:38:11,704 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000853ef 
2023-03-23 14:38:11,707 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000039f5 
2023-03-23 14:38:11,709 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200006fbd 
2023-03-23 14:38:11,711 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200006eb0 
2023-03-23 14:38:11,714 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c02000067ab 
2023-03-23 14:38:11,716 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c0200006ec5 
2023-03-23 14:38:11,719 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c01000260ea 
2023-03-23 14:38:11,721 Thread-6   udi_interface      INFO     yoLink_init_V3:update_mqtt_subscription: update_mqtt_subscription d88b4c010002acc7 
2023-03-23 14:38:12,595 Thread-234 udi_interface      ERROR    yoLink_init_V3:transfer_data: Error 4 during publishing {'time': '1679596691560', 'method': 'THSensor.getState', 'targetDevice': 'd88b4c010002acc7', 'token': 'E8867B438B4D0193CB6C9C85618B907A'}
2023-03-23 14:38:14,616 Thread-221 udi_interface      ERROR    yolink_mqtt_classV3:initNode: THSensor not online
2023-03-23 14:38:17,219 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: adding/checking device : 4GD TH Dining Room - THSensor
2023-03-23 14:38:17,220 Thread-4   udi_interface      INFO     udi-YoLink:addNodes: Adding device 4GD TH Dining Room (THSensor) as 8b4c010002b356
2023-03-23 14:38:17,235 Thread-4   udi_interface.interface INFO     interface:addNode: Adding node 4GD TH Dining Room(8b4c010002b356) [None]
2023-03-23 14:38:17,237 Thread-4   udi_interface.custom INFO     custom:_save: Sending data customparams to Polyglot.
2023-03-23 14:38:17,395 Thread-247 udi_interface      INFO     udi-YoLink:handleLevelChange: New log level: {'name': 'INFO', 'level': 20}
2023-03-23 14:38:17,413 Thread-248 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:38:17,484 Thread-249 udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.
2023-03-23 14:38:17,488 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparams
2023-03-23 14:38:17,573 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:38:17,576 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices
2023-03-23 14:38:17,669 Thread-251 udi_interface      INFO     udiYoTHsensorV2:start: Start udiYoTHsensor
2023-03-23 14:38:17,672 Thread-251 udi_interface      INFO     yoLink_init_V3:subscribe_mqtt: Subscribing deviceId d88b4c010002b356 to MQTT
2023-03-23 14:38:20,696 Thread-265 udi_interface      ERROR    yoLink_init_V3:transfer_data: Error 4 during publishing {'time': '1679596700694', 'method': 'THSensor.getState', 'targetDevice': 'd88b4c010002b356', 'token': '29A682732F75E02A910E4D9C7379E1E7'}
2023-03-23 14:38:22,733 Thread-251 udi_interface      ERROR    yolink_mqtt_classV3:initNode: THSensor not online

 

Posted

Does it come back on0-line later 

There are some limitations as to how often you can send commands to yolink 

Can you enable debug and send me a log where it happens (as a file preferably)

 

Posted
2 hours ago, Panda88 said:

Does it come back on0-line later 

There are some limitations as to how often you can send commands to yolink 

Can you enable debug and send me a log where it happens (as a file preferably)

It hasn't successfully updated all devices for the initial YoLink installation on this Polisy. I sent you the debug log from the time I did a restart just now.

Guest
This topic is now closed to further replies.

×
×
  • Create New...