-
Posts
258 -
Joined
-
Last visited
Everything posted by EWhite
-
i use multi channel with it.. {"id": "sonoff1", "type": "TempHumid", "status_topic": "tele/sonoff1/SENSOR", "cmd_topic": "cmnd/sonoff1/power"}, {"id": "sonoff2", "type": "switch", "status_topic": "stat/sonoff1/POWER", "cmd_topic": "cmnd/sonoff1/power"}, both use the sonoff1 device, just different names and commands per line...
-
Sonoff also makes a fan controller...that also works with MQTT/SONOFF node server
-
thinking on that..heartbeat might be doing the same...only sending so often...set up a program to count an integer variable and see if it counts up? just a thought
-
i still monitor batteries...just by using the "low battery" part of the sensor... it doesnt show anything until the sensor sends a low battery signal....but it does work..on all my sensors so far.
-
Minor cosmetic issue for Yolink motion detector device
EWhite replied to dwengrovitz's topic in YoLink
there are several spell errors...but it works so i never complained.. -
just FYI.. its been a long time since any of my door sensors and even my motion sensors have shown a reported heartbeat in ISY...i didnt use it so no biggie for me, but i did notice it missing several versions ago on my 994pro. Nothing on the polisy either.
-
figure it out? I use it to trigger a variable, but you can use it to trigger lights, etc.
-
actually i am no longer using macrodroid. I am using alexa routine with location to trigger a virtual button i created on isy... so far its been working flawlessly and i can adjust how big a circle and different locations to do different things. been using this for a couple months without issue...best alternative i have come up with so far.
-
macrodroid is way to go.. easy to use...just my 2 cents
-
I just updated my Polisy and have same problem....cleared cache.. all that jaz.. no joy.. can ssh to it, can see it in portal...just no admin console.
-
sorry i couldnt be more help.. but glad you got it going again.
-
have you tried reinstalling it? i once had a NS giving me fits and i uninstalled it and reinstalled into a different slot and it worked fine after that... not much help but maybe something...
-
just FYI.. i use this NS and its been working for me on a polisy....
-
@Athlon im using alexa on a pixel now...how reliable has it been for you? I also got macrodroid set up...seems ok..alexa path seems more responsive. Its not system critical, i have 2 sons and just like notifications when they come home from school and turn a couple light on ..etc i think the macrodroid would be best for them as they do not have access to my alexa account. thanks for all the help guys!
-
are there instructions for this MacroDroid?
-
i am just trying to get opinions on using Alexa for location (geo_gencing) as compared to ping or other options i may not have thought of. Basically, all i am wanting is some lights to turn on when i come home and turn of if i forget when i leave. I have learned that ping is unreliable, all of my family are using android phones(knocks out occupancy services via portal). so what are the options i have? whats drawback to using Alexa on my phone for location? and thanks!
-
I am using the Ping NS to do basic location services. Problem I have is, it sometimes just quits reporting to ISY, which results in lights not turning on or off depending. My solution was this: created a "switch" using Virtual NS. Allow Amazon Alexa to have access to that button. Went to Alexa app and created a routine using location to turn said switch off and on. seems to work so far, any unforeseen problems with this? great idea? is gonna fail? Thanks!
-
got it.. and fixed! Thanks again!
-
still does same thing.. it shows for a second.. then disappears.. Log still showing removal of node, double checked and it did install 7.1...
-
@Panda88 just updated NS. After doing this, it removed all but one of my devices. they actually show up for a few seconds, then get removed. can see in the log were it gets removed...strange... 2022-12-15 21:51:58,488 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.51 Starting... 2022-12-15 21:51:58,573 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.1.16 [ISY: 5.5.0, Slot: 8] 2022-12-15 21:51:58,575 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.10.121', 'netmask': '255.255.255.0', 'broadcast': '192.168.10.255'} 2022-12-15 21:51:58,576 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-12-15 21:51:58,579 MainThread udi_interface.interface INFO interface:_get_server_data: Version (credits[0][version]) not found in server.json. 2022-12-15 21:51:58,580 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: setup not found in database. 2022-12-15 21:51:58,581 MainThread udi_interface DEBUG udi-YoLink:__init__: YoLinkSetup init 2022-12-15 21:51:58,582 MainThread udi_interface DEBUG udi-YoLink:__init__: self.address : setup 2022-12-15 21:51:58,582 MainThread udi_interface DEBUG udi-YoLink:__init__: self.name :YoLinkSetup 2022-12-15 21:51:58,583 MainThread udi_interface.interface INFO interface:updateProfile: Sending Install Profile command to Polyglot. 2022-12-15 21:51:58,584 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'installprofile': {'reboot': False}} 2022-12-15 21:51:58,633 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-12-15 21:51:58,635 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:5d:9d:ac_8 - MID: 1 Result: 0 2022-12-15 21:51:58,642 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-12-15 21:52:01,604 MainThread udi_interface.interface INFO interface:addNode: Adding node YoLinkSetup(setup) [None] 2022-12-15 21:52:01,702 Thread-1 udi_interface INFO udi-YoLink:handleLevelChange: New log level: {'name': 'DEBUG', 'level': 10} 2022-12-15 21:52:01,762 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getAll 2022-12-15 21:52:01,764 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getAll 2022-12-15 21:52:01,766 Thread-2 udi_interface DEBUG udi-YoLink:handleParams: handleParams 2022-12-15 21:52:01,768 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:01,768 Thread-2 udi_interface.custom DEBUG custom:load: CUSTOM: load {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'} 2022-12-15 21:52:01,769 Command udi_interface.interface DEBUG interface:_handleInput: Key nsdata should be passed to node server. 2022-12-15 21:52:01,770 Thread-2 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking UAID / ua_4D201C3C86134321AF44EE8C11C1D54E 2022-12-15 21:52:01,771 Command udi_interface.interface DEBUG interface:_handleInput: Key oauth should be passed to node server. 2022-12-15 21:52:01,772 Thread-2 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking SECRET_KEY / sec_v1_fstArrKhHrPzUOe1HrEnvA== 2022-12-15 21:52:01,774 Thread-2 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking TEMP_UNIT / F 2022-12-15 21:52:01,774 Thread-2 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c02000305cb / Shop Motion Sensor 2022-12-15 21:52:01,775 Thread-2 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c020003054c / Storage Motion Sensor 2022-12-15 21:52:01,776 Thread-2 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving 2022-12-15 21:52:01,776 Thread-2 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-12-15 21:52:01,777 Thread-2 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]} 2022-12-15 21:52:01,783 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getNsInfo 2022-12-15 21:52:01,784 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getNsInfo 2022-12-15 21:52:01,836 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2022-12-15 21:52:01,838 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2022-12-15 21:52:01,839 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:01,877 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-12-15 21:52:02,026 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode 2022-12-15 21:52:02,028 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode 2022-12-15 21:52:02,031 Thread-4 udi_interface INFO udi-YoLink:start: Executing start - udi-YoLink 2022-12-15 21:52:02,032 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '0779b04b-1e31-4410-a41b-f2c9864de5fb', 'uuid': '00:0d:b9:5d:9d:ac', 'profileNum': 8, 'address': 'setup', 'name': 'YoLinkSetup', 'nodeDefId': 'setup', 'nls': None, 'hint': '0x00000000', 'controller': 0, 'primaryNode': 'setup', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1670383196415, 'timeModified': 1670383196415, 'dbVersion': 1} 2022-12-15 21:52:02,033 Thread-4 udi_interface INFO udi-YoLink:start: Access using PAC/UAC 2022-12-15 21:52:02,067 MQTT udi_interface.interface INFO interface:_message: Profile installation finished 2022-12-15 21:52:02,124 MainThread udi_interface.node DEBUG node:setDriver: setup:YoLinkSetup Reporting set ST to 1 to Polyglot 2022-12-15 21:52:02,126 MainThread udi_interface.node DEBUG node:reportDriver: Updating value to 1 2022-12-15 21:52:02,127 MainThread udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': 'setup', 'driver': 'ST', 'value': '1', 'uom': 25}]} 2022-12-15 21:52:02,129 MainThread udi_interface DEBUG udi-YoLink:__init__: YoLinkSetup init DONE 2022-12-15 21:52:02,257 MQTT udi_interface.interface INFO interface:_message: Successfully set setup :: ST to 1 UOM 25 2022-12-15 21:52:03,065 Thread-4 udi_interface DEBUG udi-YoLink:start: waiting for inital node to get created 2022-12-15 21:52:03,067 Thread-4 udi_interface INFO yoLink_init_V3:__init__: Connecting to YoLink MQTT server 2022-12-15 21:52:03,068 Thread-4 udi_interface DEBUG yoLink_init_V3:request_new_token: yoAccess Token exists : False 2022-12-15 21:52:03,647 Thread-4 udi_interface DEBUG yoLink_init_V3:request_new_token: yoAccess Token : {'access_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NzExNjI3MjMsImV4cCI6MTY3MTE2OTkyMywiaXNzIjoidWFfNEQyMDFDM0M4NjEzNDMyMUFGNDRFRThDMTFDMUQ1NEUiLCJhdWQiOiI2YjM0M2UxMzdkYjQ0OWYxOWQ5NWU2OWUxN2I0MmUzMiIsInN1YiI6IjA4NTAyMzMwNTk0ZDQ4YjliODlkMDg0YWI4YTczNTEzIiwic2NvcGUiOlsiYXMvYXUiXX0._vYcWXULphk3K1LVy9h5S528iDXIpqcNVJIocijHczo', 'token_type': 'bearer', 'expires_in': 7200, 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NzExNjI3MjMsImV4cCI6MTY3Mzc1NDcyMywiaXNzIjoidWFfNEQyMDFDM0M4NjEzNDMyMUFGNDRFRThDMTFDMUQ1NEUiLCJhdWQiOiI2YjM0M2UxMzdkYjQ0OWYxOWQ5NWU2OWUxN2I0MmUzMiIsInN1YiI6IjA4NTAyMzMwNTk0ZDQ4YjliODlkMDg0YWI4YTczNTEzIiwic2NvcGUiOlsiYXMvYXUiXX0.5gUjJaCtGepkqmYcqIM3A-CO1GXa11ONDi8AtmeW3lw', 'scope': ['create']} 2022-12-15 21:52:03,648 Thread-4 udi_interface INFO yoLink_init_V3:__init__: Retrieving YoLink API info 2022-12-15 21:52:05,456 Thread-4 udi_interface DEBUG yoLink_init_V3:retrieve_homeID: Obtaining homeID : True 2022-12-15 21:52:05,458 Thread-4 udi_interface INFO yoLink_init_V3:connect_to_broker: Connecting to broker... 2022-12-15 21:52:05,458 Thread-4 udi_interface DEBUG yoLink_init_V3:request_new_token: yoAccess Token exists : True 2022-12-15 21:52:05,459 Thread-4 udi_interface INFO yoLink_init_V3:connect_to_broker: Retrieving YoLink API info 2022-12-15 21:52:05,460 Thread-4 udi_interface DEBUG yoLink_init_V3:retrieve_device_list: retrieve_device_list 2022-12-15 21:52:05,971 Thread-4 udi_interface DEBUG yoLink_init_V3:retrieve_device_list: device_list : [{'deviceId': 'd88b4c02000305cb', 'deviceUDID': 'ef2a55fe3baf493db3ae95d11eb3d7ed', 'name': 'Shop Motion Sensor', 'token': '5896C86D32A912CEE902E0F98B451AF6', 'type': 'MotionSensor', 'parentDeviceId': None}, {'deviceId': 'd88b4c020003054c', 'deviceUDID': 'aa21cd72f5f442a4bbcc1a7a24329c8f', 'name': 'Storage Motion Sensor', 'token': 'BF74FB92D9E15255448B419F00150C1C', 'type': 'MotionSensor', 'parentDeviceId': None}, {'deviceId': 'd88b4c160301c359', 'deviceUDID': '46b592a798d941cfbb977543194a17e9', 'name': 'YoLink Hub', 'token': 'E83D1CC5C8AFA8193C30360A47601EAC', 'type': 'Hub', 'parentDeviceId': None}] 2022-12-15 21:52:07,082 Thread-4 udi_interface DEBUG yoLink_init_V3:connect_to_broker: yoAccess.client.connect: 0 2022-12-15 21:52:07,159 Thread-6 udi_interface DEBUG yoLink_init_V3:on_connect: on_connect - Connected with result code 0 2022-12-15 21:52:07,161 Thread-6 udi_interface INFO yoLink_init_V3:on_connect: Successfully connected to broker api.yosmart.com 2022-12-15 21:52:07,161 Thread-6 udi_interface DEBUG yoLink_init_V3:on_connect: Re-subscribing devices after after disconnect 2022-12-15 21:52:09,092 Thread-4 udi_interface DEBUG yoLink_init_V3:connect_to_broker: {} 2022-12-15 21:52:09,094 Thread-4 udi_interface DEBUG udi-YoLink:start: 3 devices detected : [{'deviceId': 'd88b4c02000305cb', 'deviceUDID': 'ef2a55fe3baf493db3ae95d11eb3d7ed', 'name': 'Shop Motion Sensor', 'token': '5896C86D32A912CEE902E0F98B451AF6', 'type': 'MotionSensor', 'parentDeviceId': None}, {'deviceId': 'd88b4c020003054c', 'deviceUDID': 'aa21cd72f5f442a4bbcc1a7a24329c8f', 'name': 'Storage Motion Sensor', 'token': 'BF74FB92D9E15255448B419F00150C1C', 'type': 'MotionSensor', 'parentDeviceId': None}, {'deviceId': 'd88b4c160301c359', 'deviceUDID': '46b592a798d941cfbb977543194a17e9', 'name': 'YoLink Hub', 'token': 'E83D1CC5C8AFA8193C30360A47601EAC', 'type': 'Hub', 'parentDeviceId': None}] 2022-12-15 21:52:09,094 Thread-4 udi_interface INFO udi-YoLink:addNodes: adding/checking device : Shop Motion Sensor - MotionSensor 2022-12-15 21:52:09,095 Thread-4 udi_interface INFO udi-YoLink:addNodes: Adding device Shop Motion Sensor (MotionSensor) as 8b4c02000305cb 2022-12-15 21:52:09,096 Thread-4 udi_interface.interface WARNING interface:db_getNodeDrivers: 8b4c02000305cb not found in database. 2022-12-15 21:52:09,097 Thread-4 udi_interface DEBUG udiYoMotionSensorV2:__init__: YoLinkMotionSensor INIT- Shop Motion Sensor 2022-12-15 21:52:09,099 Thread-4 udi_interface.interface DEBUG interface:ready: Asking PG3 for config/getAll now 2022-12-15 21:52:09,100 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'config': {'version': '0.7.0'}} 2022-12-15 21:52:09,102 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'getAll': {}} 2022-12-15 21:52:09,103 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'getNsInfo': {}} 2022-12-15 21:52:09,105 Thread-4 udi_interface.interface INFO interface:addNode: Adding node Shop Motion Sensor(8b4c02000305cb) [None] 2022-12-15 21:52:09,106 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': '8b4c02000305cb', 'name': 'Shop Motion Sensor', 'nodeDefId': 'yomotionsens', 'primaryNode': '8b4c02000305cb', 'drivers': [{'driver': 'GV0', 'value': 99, 'uom': 25}, {'driver': 'GV1', 'value': 99, 'uom': 25}, {'driver': 'ST', 'value': 0, 'uom': 25}], 'hint': [0, 0, 0, 0], 'private': None, 'rename': False}]} 2022-12-15 21:52:09,108 Thread-4 udi_interface.custom DEBUG custom:__setitem__: CUSTOM: 8b4c02000305cb = Shop Motion Sensor ...saving 2022-12-15 21:52:09,108 Thread-4 udi_interface.custom INFO custom:_save: Sending data customparams to Polyglot. 2022-12-15 21:52:09,109 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'customparams', 'value': {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'}}]} 2022-12-15 21:52:09,154 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message config 2022-12-15 21:52:09,156 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING config 2022-12-15 21:52:09,157 Command udi_interface.interface DEBUG interface:_inConfig: INCFG --> start processing config data 2022-12-15 21:52:09,159 Command udi_interface.interface DEBUG interface:_inConfig: Setting log level to DEBUG 2022-12-15 21:52:09,161 Thread-8 udi_interface INFO udi-YoLink:handleLevelChange: New log level: {'name': 'DEBUG', 'level': 10} 2022-12-15 21:52:09,207 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getAll 2022-12-15 21:52:09,209 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getAll 2022-12-15 21:52:09,211 Thread-9 udi_interface DEBUG udi-YoLink:handleParams: handleParams 2022-12-15 21:52:09,212 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:09,213 Thread-9 udi_interface.custom DEBUG custom:load: CUSTOM: load {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'} 2022-12-15 21:52:09,214 Command udi_interface.interface DEBUG interface:_handleInput: Key nsdata should be passed to node server. 2022-12-15 21:52:09,215 Thread-9 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking UAID / ua_4D201C3C86134321AF44EE8C11C1D54E 2022-12-15 21:52:09,216 Command udi_interface.interface DEBUG interface:_handleInput: Key oauth should be passed to node server. 2022-12-15 21:52:09,217 Thread-9 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking SECRET_KEY / sec_v1_fstArrKhHrPzUOe1HrEnvA== 2022-12-15 21:52:09,218 Thread-9 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking TEMP_UNIT / F 2022-12-15 21:52:09,219 Thread-9 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c02000305cb / Shop Motion Sensor 2022-12-15 21:52:09,220 Thread-9 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c020003054c / Storage Motion Sensor 2022-12-15 21:52:09,221 Thread-9 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving 2022-12-15 21:52:09,221 Thread-9 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-12-15 21:52:09,222 Thread-9 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]} 2022-12-15 21:52:09,308 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getNsInfo 2022-12-15 21:52:09,309 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getNsInfo 2022-12-15 21:52:09,358 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message customparams 2022-12-15 21:52:09,360 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING customparams 2022-12-15 21:52:09,362 Thread-10 udi_interface DEBUG udi-YoLink:handleParams: handleParams 2022-12-15 21:52:09,363 Thread-10 udi_interface.custom DEBUG custom:load: CUSTOM: load {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'} 2022-12-15 21:52:09,364 Thread-10 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking UAID / ua_4D201C3C86134321AF44EE8C11C1D54E 2022-12-15 21:52:09,365 Thread-10 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking SECRET_KEY / sec_v1_fstArrKhHrPzUOe1HrEnvA== 2022-12-15 21:52:09,366 Thread-10 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking TEMP_UNIT / F 2022-12-15 21:52:09,366 Thread-10 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c02000305cb / Shop Motion Sensor 2022-12-15 21:52:09,367 Thread-10 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c020003054c / Storage Motion Sensor 2022-12-15 21:52:09,368 Thread-10 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving 2022-12-15 21:52:09,369 Thread-10 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-12-15 21:52:09,369 Thread-10 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]} 2022-12-15 21:52:09,373 MQTT udi_interface.interface INFO interface:_message: Successfully set key = customparams 2022-12-15 21:52:09,448 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2022-12-15 21:52:09,450 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2022-12-15 21:52:09,451 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:09,489 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-12-15 21:52:09,529 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2022-12-15 21:52:09,530 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2022-12-15 21:52:09,532 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:09,571 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-12-15 21:52:09,700 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode 2022-12-15 21:52:09,701 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode 2022-12-15 21:52:09,704 Thread-12 udi_interface INFO udiYoMotionSensorV2:start: start - udiYoLinkMotionSensor 2022-12-15 21:52:09,706 Thread-12 udi_interface DEBUG yolink_mqtt_classV3:__init__: subscribe_mqtt: d88b4c02000305cb 2022-12-15 21:52:09,707 Thread-12 udi_interface INFO yoLink_init_V3:subscribe_mqtt: Subscribing deviceId d88b4c02000305cb to MQTT 2022-12-15 21:52:09,707 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'f2705f9b-03df-47ff-928c-adf005a99a6e', 'uuid': '00:0d:b9:5d:9d:ac', 'profileNum': 8, 'address': '8b4c02000305cb', 'name': 'Shop Motion Sensor', 'nodeDefId': 'yomotionsens', 'nls': None, 'hint': '0x00000000', 'controller': 0, 'primaryNode': '8b4c02000305cb', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1671162729412, 'timeModified': 1671162729412, 'dbVersion': 1} 2022-12-15 21:52:09,793 Thread-6 udi_interface DEBUG yoLink_init_V3:on_subscribe: on_subscribe 2022-12-15 21:52:09,879 Thread-6 udi_interface DEBUG yoLink_init_V3:on_subscribe: on_subscribe 2022-12-15 21:52:09,999 Thread-6 udi_interface DEBUG yoLink_init_V3:on_subscribe: on_subscribe 2022-12-15 21:52:11,120 Thread-4 udi_interface INFO udi-YoLink:addNodes: adding/checking device : Storage Motion Sensor - MotionSensor 2022-12-15 21:52:11,122 Thread-4 udi_interface INFO udi-YoLink:addNodes: Adding device Storage Motion Sensor (MotionSensor) as 8b4c020003054c 2022-12-15 21:52:11,123 Thread-4 udi_interface.node DEBUG node:_updateDrivers: Update 8b4c020003054c default GV0 to 0 / 25 2022-12-15 21:52:11,124 Thread-4 udi_interface.node DEBUG node:_updateDrivers: Update 8b4c020003054c default GV1 to 4 / 25 2022-12-15 21:52:11,124 Thread-4 udi_interface.node DEBUG node:_updateDrivers: Update 8b4c020003054c default ST to 1 / 25 2022-12-15 21:52:11,125 Thread-4 udi_interface DEBUG udiYoMotionSensorV2:__init__: YoLinkMotionSensor INIT- Storage Motion Sensor 2022-12-15 21:52:11,128 Thread-4 udi_interface.interface DEBUG interface:ready: Asking PG3 for config/getAll now 2022-12-15 21:52:11,129 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'config': {'version': '0.7.0'}} 2022-12-15 21:52:11,130 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'getAll': {}} 2022-12-15 21:52:11,132 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'getNsInfo': {}} 2022-12-15 21:52:11,133 Thread-4 udi_interface.interface INFO interface:addNode: Adding node Storage Motion Sensor(8b4c020003054c) [None] 2022-12-15 21:52:11,134 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': '8b4c020003054c', 'name': 'Storage Motion Sensor', 'nodeDefId': 'yomotionsens', 'primaryNode': '8b4c020003054c', 'drivers': [{'driver': 'GV0', 'value': '0', 'uom': 25}, {'driver': 'GV1', 'value': '4', 'uom': 25}, {'driver': 'ST', 'value': '1', 'uom': 25}], 'hint': [0, 0, 0, 0], 'private': None, 'rename': False}]} 2022-12-15 21:52:11,136 Thread-4 udi_interface.custom DEBUG custom:__setitem__: CUSTOM: 8b4c020003054c = Storage Motion Sensor ...saving 2022-12-15 21:52:11,137 Thread-4 udi_interface.custom INFO custom:_save: Sending data customparams to Polyglot. 2022-12-15 21:52:11,138 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'customparams', 'value': {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'}}]} 2022-12-15 21:52:11,184 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message config 2022-12-15 21:52:11,185 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING config 2022-12-15 21:52:11,186 Command udi_interface.interface DEBUG interface:_inConfig: INCFG --> start processing config data 2022-12-15 21:52:11,189 Command udi_interface.interface DEBUG interface:_inConfig: Setting log level to DEBUG 2022-12-15 21:52:11,191 Thread-17 udi_interface INFO udi-YoLink:handleLevelChange: New log level: {'name': 'DEBUG', 'level': 10} 2022-12-15 21:52:11,225 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getAll 2022-12-15 21:52:11,227 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getAll 2022-12-15 21:52:11,229 Thread-18 udi_interface DEBUG udi-YoLink:handleParams: handleParams 2022-12-15 21:52:11,230 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:11,231 Thread-18 udi_interface.custom DEBUG custom:load: CUSTOM: load {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'} 2022-12-15 21:52:11,232 Command udi_interface.interface DEBUG interface:_handleInput: Key nsdata should be passed to node server. 2022-12-15 21:52:11,233 Thread-18 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking UAID / ua_4D201C3C86134321AF44EE8C11C1D54E 2022-12-15 21:52:11,234 Command udi_interface.interface DEBUG interface:_handleInput: Key oauth should be passed to node server. 2022-12-15 21:52:11,235 Thread-18 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking SECRET_KEY / sec_v1_fstArrKhHrPzUOe1HrEnvA== 2022-12-15 21:52:11,236 Thread-18 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking TEMP_UNIT / F 2022-12-15 21:52:11,237 Thread-18 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c02000305cb / Shop Motion Sensor 2022-12-15 21:52:11,238 Thread-18 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c020003054c / Storage Motion Sensor 2022-12-15 21:52:11,239 Thread-18 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving 2022-12-15 21:52:11,239 Thread-18 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-12-15 21:52:11,240 Thread-18 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]} 2022-12-15 21:52:11,263 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getNsInfo 2022-12-15 21:52:11,265 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getNsInfo 2022-12-15 21:52:11,303 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message customparams 2022-12-15 21:52:11,305 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING customparams 2022-12-15 21:52:11,307 Thread-19 udi_interface DEBUG udi-YoLink:handleParams: handleParams 2022-12-15 21:52:11,309 MQTT udi_interface.interface INFO interface:_message: Successfully set key = customparams 2022-12-15 21:52:11,310 Thread-19 udi_interface.custom DEBUG custom:load: CUSTOM: load {'UAID': 'ua_4D201C3C86134321AF44EE8C11C1D54E', 'SECRET_KEY': 'sec_v1_fstArrKhHrPzUOe1HrEnvA==', 'TEMP_UNIT': 'F', '8b4c02000305cb': 'Shop Motion Sensor', '8b4c020003054c': 'Storage Motion Sensor'} 2022-12-15 21:52:11,312 Thread-19 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking UAID / ua_4D201C3C86134321AF44EE8C11C1D54E 2022-12-15 21:52:11,313 Thread-19 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking SECRET_KEY / sec_v1_fstArrKhHrPzUOe1HrEnvA== 2022-12-15 21:52:11,313 Thread-19 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking TEMP_UNIT / F 2022-12-15 21:52:11,314 Thread-19 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c02000305cb / Shop Motion Sensor 2022-12-15 21:52:11,315 Thread-19 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking 8b4c020003054c / Storage Motion Sensor 2022-12-15 21:52:11,315 Thread-19 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving 2022-12-15 21:52:11,316 Thread-19 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-12-15 21:52:11,317 Thread-19 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]} 2022-12-15 21:52:11,320 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2022-12-15 21:52:11,321 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2022-12-15 21:52:11,322 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:11,361 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-12-15 21:52:11,404 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices 2022-12-15 21:52:11,406 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices 2022-12-15 21:52:11,407 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-12-15 21:52:11,408 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {} 2022-12-15 21:52:11,496 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode 2022-12-15 21:52:11,497 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode 2022-12-15 21:52:11,500 Thread-21 udi_interface INFO udiYoMotionSensorV2:start: start - udiYoLinkMotionSensor 2022-12-15 21:52:11,502 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'a7dd1f09-7194-4ff8-92b6-3b183dc10935', 'uuid': '00:0d:b9:5d:9d:ac', 'profileNum': 8, 'address': '8b4c020003054c', 'name': 'Storage Motion Sensor', 'nodeDefId': 'yomotionsens', 'nls': None, 'hint': '0x00000000', 'controller': 0, 'primaryNode': '8b4c020003054c', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1670367529746, 'timeModified': 1670471308884, 'dbVersion': 1} 2022-12-15 21:52:11,502 Thread-21 udi_interface DEBUG yolink_mqtt_classV3:__init__: subscribe_mqtt: d88b4c020003054c 2022-12-15 21:52:11,507 Thread-21 udi_interface INFO yoLink_init_V3:subscribe_mqtt: Subscribing deviceId d88b4c020003054c to MQTT 2022-12-15 21:52:11,593 Thread-6 udi_interface DEBUG yoLink_init_V3:on_subscribe: on_subscribe 2022-12-15 21:52:11,685 Thread-6 udi_interface DEBUG yoLink_init_V3:on_subscribe: on_subscribe 2022-12-15 21:52:11,833 Thread-6 udi_interface DEBUG yoLink_init_V3:on_subscribe: on_subscribe 2022-12-15 21:52:12,757 Thread-12 udi_interface DEBUG yolink_mqtt_classV3:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-15 21:52:12,758 Thread-12 udi_interface DEBUG yoLink_init_V3:publish_data: Publish Data to Queue: {'time': '1671162732758', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-15 21:52:12,760 Thread-25 udi_interface DEBUG yoLink_init_V3:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request - {"time": "1671162732758", "method": "MotionSensor.getState", "targetDevice": "d88b4c02000305cb", "token": "5896C86D32A912CEE902E0F98B451AF6"} 2022-12-15 21:52:12,761 Thread-12 udi_interface DEBUG yoLink_init_V3:publish_data: publishThread - starting 2022-12-15 21:52:12,949 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: on_message: {'time': '1671162732758', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-15 21:52:12,951 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Message received and put in queue (size : 1) 2022-12-15 21:52:12,951 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Creating threads to handle the received messages 2022-12-15 21:52:12,953 Thread-26 udi_interface DEBUG yoLink_init_V3:process_message: Received message - Q size=0 2022-12-15 21:52:12,953 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: 1 on_message threads starting 2022-12-15 21:52:12,954 Thread-26 udi_interface DEBUG yoLink_init_V3:process_message: process_message : {'time': '1671162732758', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-15 21:52:12,956 Thread-26 udi_interface DEBUG yoLink_init_V3:process_message: process_message for d88b4c02000305cb: {'time': '1671162732758', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/request 2022-12-15 21:52:12,957 Thread-26 udi_interface DEBUG yoLink_init_V3:process_message: porcessing request - no action: {'time': '1671162732758', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c02000305cb', 'token': '5896C86D32A912CEE902E0F98B451AF6'} 2022-12-15 21:52:13,079 Thread-6 udi_interface DEBUG yoLink_init_V3:on_publish: on_publish 2022-12-15 21:52:13,082 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: on_message: {'code': '000000', 'time': 1671162732913, 'msgid': '1671162732758', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-16T03:08:39.912Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-15 21:52:13,083 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Message received and put in queue (size : 1) 2022-12-15 21:52:13,083 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Creating threads to handle the received messages 2022-12-15 21:52:13,085 Thread-27 udi_interface DEBUG yoLink_init_V3:process_message: Received message - Q size=0 2022-12-15 21:52:13,085 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: 1 on_message threads starting 2022-12-15 21:52:13,086 Thread-27 udi_interface DEBUG yoLink_init_V3:process_message: process_message : {'code': '000000', 'time': 1671162732913, 'msgid': '1671162732758', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-16T03:08:39.912Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-15 21:52:13,088 Thread-27 udi_interface DEBUG yoLink_init_V3:process_message: process_message for d88b4c02000305cb: {'code': '000000', 'time': 1671162732913, 'msgid': '1671162732758', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-16T03:08:39.912Z'}, 'targetDevice': 'd88b4c02000305cb'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c02000305cb/response 2022-12-15 21:52:13,089 Thread-27 udi_interface DEBUG yoLink_init_V3:process_message: porcessing response: {'code': '000000', 'time': 1671162732913, 'msgid': '1671162732758', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-16T03:08:39.912Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-15 21:52:13,090 Thread-27 udi_interface INFO udiYoMotionSensorV2:updateStatus: updateStatus - udiYoLinkMotionSensor 2022-12-15 21:52:13,090 Thread-27 udi_interface DEBUG yolink_mqtt_classV3:updateCallbackStatus: MotionSensor - updateCallbackStatus : {'code': '000000', 'time': 1671162732913, 'msgid': '1671162732758', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-16T03:08:39.912Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-15 21:52:13,091 Thread-27 udi_interface DEBUG yolink_mqtt_classV3:updateCallbackStatus: Method detected 2022-12-15 21:52:13,092 Thread-27 udi_interface DEBUG yolink_mqtt_classV3:updateStatusData: MotionSensor - updateStatusData : {'code': '000000', 'time': 1671162732913, 'msgid': '1671162732758', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}, 'deviceId': 'd88b4c02000305cb', 'reportAt': '2022-12-16T03:08:39.912Z'}, 'targetDevice': 'd88b4c02000305cb'} 2022-12-15 21:52:13,104 Thread-27 udi_interface DEBUG yolink_mqtt_classV3:updateStatusData: updateStatusData - Method data : {'lastUpdTime': 0, 'lastMessage': {}, 'lastStateTime': 1671160119912.0, 'online': False, 'data': {'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 11, 'ledAlarm': False, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670972956258}}} 2022-12-15 21:52:13,105 Thread-27 udi_interface DEBUG yolink_mqtt_classV3:getState: MotionSensor - getState 2022-12-15 21:52:13,106 Thread-27 udi_interface.node DEBUG node:setDriver: 8b4c02000305cb:Shop Motion Sensor Reporting set GV0 to 0 to Polyglot 2022-12-15 21:52:13,107 Thread-27 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2022-12-15 21:52:13,108 Thread-27 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': '8b4c02000305cb', 'driver': 'GV0', 'value': '0', 'uom': 25}]} 2022-12-15 21:52:13,109 Thread-27 udi_interface.interface DEBUG interface:send: PUBLISHING {'command': [{'address': '8b4c02000305cb', 'cmd': 'DOF'}]} 2022-12-15 21:52:13,111 Thread-27 udi_interface DEBUG yolink_mqtt_classV3:getStateValue: MotionSensor - getStateValue, key:battery 2022-12-15 21:52:13,112 Thread-27 udi_interface.node DEBUG node:setDriver: 8b4c02000305cb:Shop Motion Sensor Reporting set GV1 to 4 to Polyglot 2022-12-15 21:52:13,113 Thread-27 udi_interface.node DEBUG node:reportDriver: Updating value to 4 2022-12-15 21:52:13,113 Thread-27 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': '8b4c02000305cb', 'driver': 'GV1', 'value': '4', 'uom': 25}]} 2022-12-15 21:52:13,115 Thread-27 udi_interface.node DEBUG node:setDriver: 8b4c02000305cb:Shop Motion Sensor Reporting set ST to 1 to Polyglot 2022-12-15 21:52:13,116 Thread-27 udi_interface.node DEBUG node:reportDriver: Updating value to 1 2022-12-15 21:52:13,117 Thread-27 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': '8b4c02000305cb', 'driver': 'ST', 'value': '1', 'uom': 25}]} 2022-12-15 21:52:13,176 Thread-4 udi_interface INFO udi-YoLink:addNodes: adding/checking device : YoLink Hub - Hub 2022-12-15 21:52:13,177 Thread-4 udi_interface INFO udi-YoLink:addNodes: Hub not added - ISY cannot do anything useful with it 2022-12-15 21:52:13,246 MQTT udi_interface.interface INFO interface:_message: Successfully set 8b4c02000305cb :: GV0 to 0 UOM 25 2022-12-15 21:52:13,289 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message command 2022-12-15 21:52:13,291 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING command 2022-12-15 21:52:13,331 MQTT udi_interface.interface INFO interface:_message: Successfully set 8b4c02000305cb :: GV1 to 4 UOM 25 2022-12-15 21:52:13,424 MQTT udi_interface.interface INFO interface:_message: Successfully set 8b4c02000305cb :: ST to 1 UOM 25 2022-12-15 21:52:14,523 Thread-21 udi_interface DEBUG yolink_mqtt_classV3:refreshDevice: MotionSensor - refreshDevice - supports ['getState'] 2022-12-15 21:52:14,524 Thread-21 udi_interface DEBUG yoLink_init_V3:publish_data: Publish Data to Queue: {'time': '1671162734524', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-15 21:52:14,526 Thread-28 udi_interface DEBUG yoLink_init_V3:transfer_data: publish_data: yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request - {"time": "1671162734524", "method": "MotionSensor.getState", "targetDevice": "d88b4c020003054c", "token": "BF74FB92D9E15255448B419F00150C1C"} 2022-12-15 21:52:14,527 Thread-21 udi_interface DEBUG yoLink_init_V3:publish_data: publishThread - starting 2022-12-15 21:52:14,726 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: on_message: {'time': '1671162734524', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-15 21:52:14,727 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Message received and put in queue (size : 1) 2022-12-15 21:52:14,728 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Creating threads to handle the received messages 2022-12-15 21:52:14,729 Thread-29 udi_interface DEBUG yoLink_init_V3:process_message: Received message - Q size=0 2022-12-15 21:52:14,730 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: 1 on_message threads starting 2022-12-15 21:52:14,731 Thread-29 udi_interface DEBUG yoLink_init_V3:process_message: process_message : {'time': '1671162734524', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-15 21:52:14,732 Thread-29 udi_interface DEBUG yoLink_init_V3:process_message: process_message for d88b4c020003054c: {'time': '1671162734524', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/request 2022-12-15 21:52:14,733 Thread-29 udi_interface DEBUG yoLink_init_V3:process_message: porcessing request - no action: {'time': '1671162734524', 'method': 'MotionSensor.getState', 'targetDevice': 'd88b4c020003054c', 'token': 'BF74FB92D9E15255448B419F00150C1C'} 2022-12-15 21:52:14,839 Thread-6 udi_interface DEBUG yoLink_init_V3:on_publish: on_publish 2022-12-15 21:52:14,842 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: on_message: {'code': '000000', 'time': 1671162734675, 'msgid': '1671162734524', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-16T01:39:39.940Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-15 21:52:14,843 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Message received and put in queue (size : 1) 2022-12-15 21:52:14,843 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: Creating threads to handle the received messages 2022-12-15 21:52:14,845 Thread-30 udi_interface DEBUG yoLink_init_V3:process_message: Received message - Q size=0 2022-12-15 21:52:14,845 Thread-6 udi_interface DEBUG yoLink_init_V3:on_message: 1 on_message threads starting 2022-12-15 21:52:14,846 Thread-30 udi_interface DEBUG yoLink_init_V3:process_message: process_message : {'code': '000000', 'time': 1671162734675, 'msgid': '1671162734524', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-16T01:39:39.940Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-15 21:52:14,848 Thread-30 udi_interface DEBUG yoLink_init_V3:process_message: process_message for d88b4c020003054c: {'code': '000000', 'time': 1671162734675, 'msgid': '1671162734524', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-16T01:39:39.940Z'}, 'targetDevice': 'd88b4c020003054c'} yl-home/0b7d408bcbf4416387892ff73b5ce6b9/d88b4c020003054c/response 2022-12-15 21:52:14,849 Thread-30 udi_interface DEBUG yoLink_init_V3:process_message: porcessing response: {'code': '000000', 'time': 1671162734675, 'msgid': '1671162734524', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-16T01:39:39.940Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-15 21:52:14,850 Thread-30 udi_interface INFO udiYoMotionSensorV2:updateStatus: updateStatus - udiYoLinkMotionSensor 2022-12-15 21:52:14,850 Thread-30 udi_interface DEBUG yolink_mqtt_classV3:updateCallbackStatus: MotionSensor - updateCallbackStatus : {'code': '000000', 'time': 1671162734675, 'msgid': '1671162734524', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-16T01:39:39.940Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-15 21:52:14,851 Thread-30 udi_interface DEBUG yolink_mqtt_classV3:updateCallbackStatus: Method detected 2022-12-15 21:52:14,852 Thread-30 udi_interface DEBUG yolink_mqtt_classV3:updateStatusData: MotionSensor - updateStatusData : {'code': '000000', 'time': 1671162734675, 'msgid': '1671162734524', 'method': 'MotionSensor.getState', 'data': {'online': True, 'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}, 'deviceId': 'd88b4c020003054c', 'reportAt': '2022-12-16T01:39:39.940Z'}, 'targetDevice': 'd88b4c020003054c'} 2022-12-15 21:52:14,853 Thread-30 udi_interface DEBUG yolink_mqtt_classV3:updateStatusData: updateStatusData - Method data : {'lastUpdTime': 0, 'lastMessage': {}, 'lastStateTime': 1671154779940.0, 'online': False, 'data': {'state': {'alertInterval': 1, 'battery': 4, 'devTemperature': 10, 'ledAlarm': True, 'nomotionDelay': 1, 'sensitivity': 3, 'state': 'normal', 'version': '0470', 'stateChangedAt': 1670866768661}}} 2022-12-15 21:52:14,854 Thread-30 udi_interface DEBUG yolink_mqtt_classV3:getState: MotionSensor - getState 2022-12-15 21:52:14,855 Thread-30 udi_interface.node DEBUG node:setDriver: 8b4c020003054c:Storage Motion Sensor Reporting set GV0 to 0 to Polyglot 2022-12-15 21:52:14,855 Thread-30 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2022-12-15 21:52:14,856 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': '8b4c020003054c', 'driver': 'GV0', 'value': '0', 'uom': 25}]} 2022-12-15 21:52:14,858 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'command': [{'address': '8b4c020003054c', 'cmd': 'DOF'}]} 2022-12-15 21:52:14,859 Thread-30 udi_interface DEBUG yolink_mqtt_classV3:getStateValue: MotionSensor - getStateValue, key:battery 2022-12-15 21:52:14,860 Thread-30 udi_interface.node DEBUG node:setDriver: 8b4c020003054c:Storage Motion Sensor Reporting set GV1 to 4 to Polyglot 2022-12-15 21:52:14,861 Thread-30 udi_interface.node DEBUG node:reportDriver: Updating value to 4 2022-12-15 21:52:14,862 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': '8b4c020003054c', 'driver': 'GV1', 'value': '4', 'uom': 25}]} 2022-12-15 21:52:14,863 Thread-30 udi_interface.node DEBUG node:setDriver: 8b4c020003054c:Storage Motion Sensor Reporting set ST to 1 to Polyglot 2022-12-15 21:52:14,864 Thread-30 udi_interface.node DEBUG node:reportDriver: Updating value to 1 2022-12-15 21:52:14,865 Thread-30 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'address': '8b4c020003054c', 'driver': 'ST', 'value': '1', 'uom': 25}]} 2022-12-15 21:52:14,931 MQTT udi_interface.interface INFO interface:_message: Successfully set 8b4c020003054c :: GV0 to 0 UOM 25 2022-12-15 21:52:14,974 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message command 2022-12-15 21:52:14,976 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING command 2022-12-15 21:52:15,063 MQTT udi_interface.interface INFO interface:_message: Successfully set 8b4c020003054c :: GV1 to 4 UOM 25 2022-12-15 21:52:15,153 MQTT udi_interface.interface INFO interface:_message: Successfully set 8b4c020003054c :: ST to 1 UOM 25 2022-12-15 21:52:15,190 Thread-4 udi_interface DEBUG udi-YoLink:addNodes: Checking for nodes that no longer exit 2022-12-15 21:52:15,192 Thread-4 udi_interface DEBUG udi-YoLink:addNodes: AddressList : ['8b4c02000305cb', '8b4c020003054c'] 2022-12-15 21:52:15,192 Thread-4 udi_interface DEBUG udi-YoLink:addNodes: Node address: setup 2022-12-15 21:52:15,193 Thread-4 udi_interface DEBUG udi-YoLink:addNodes: Node address: 8b4c0200030 2022-12-15 21:52:15,194 Thread-4 udi_interface DEBUG udi-YoLink:addNodes: Node 8b4c02000305cb not in list - removing it 2022-12-15 21:52:15,195 Thread-4 udi_interface.interface INFO interface:delNode: Removing node 8b4c02000305cb 2022-12-15 21:52:15,195 Thread-4 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': '8b4c02000305cb'}]} 2022-12-15 21:52:15,198 Thread-4 udi_interface ERROR udi_interface:write: Exception in thread 2022-12-15 21:52:15,199 Thread-4 udi_interface ERROR udi_interface:write: Thread-4 2022-12-15 21:52:15,200 Thread-4 udi_interface ERROR udi_interface:write: : 2022-12-15 21:52:15,201 Thread-4 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-12-15 21:52:15,202 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner 2022-12-15 21:52:15,206 Thread-4 udi_interface ERROR udi_interface:write: self.run() 2022-12-15 21:52:15,207 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 917, in run 2022-12-15 21:52:15,211 Thread-4 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-12-15 21:52:15,212 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95d9dac_8/./udi-YoLink.py", line 151, in start 2022-12-15 21:52:15,213 Thread-4 udi_interface ERROR udi_interface:write: self.addNodes(self.deviceList) 2022-12-15 21:52:15,214 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95d9dac_8/./udi-YoLink.py", line 333, in addNodes 2022-12-15 21:52:15,216 Thread-4 udi_interface ERROR udi_interface:write: for nde in nodes: 2022-12-15 21:52:15,217 Thread-4 udi_interface ERROR udi_interface:write: RuntimeError 2022-12-15 21:52:15,218 Thread-4 udi_interface ERROR udi_interface:write: : 2022-12-15 21:52:15,219 Thread-4 udi_interface ERROR udi_interface:write: dictionary changed size during iteration 2022-12-15 21:52:15,381 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': '8b4c02000305cb', 'success': True}] 2022-12-15 21:52:26,670 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2022-12-15 21:52:26,672 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
-
AWESOME job!! its fixed..working great Thanks very much!
-
is there a setting im missing somewhere? in the app maybe?