Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Posted: Sunday 16 June 2019 15:50
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
2019-06-16 16:05:31.006 Status: (ConBee USB) Firmware version : 0x26330500
2019-06-16 16:05:31.006 Status: (ConBee USB) Websocketnotifyall : True
2019-06-16 16:05:31.058 Status: (ConBee USB) Launching websocket on port 443
2019-06-16 16:05:31.647 Status: (ConBee USB) ### deCONZ ready
2019-06-16 16:05:31.647 Status: (ConBee USB) ### Found 2 Operators, 16 Sensors, 5 Groups and 3 others, with 0 Ignored
2019-06-16 16:05:31.748 Error: (ConBee USB) 'onCommand' failed 'TypeError':'Can't convert 'bool' object to str implicitly'.
2019-06-16 16:05:31.748 Error: (ConBee USB) ----> Line 839 in '/home/pi/domoticz/plugins/Domoticz-deCONZ/plugin.py', function onCommand
2019-06-16 16:05:31.748 Error: (ConBee USB) ----> Line 383 in '/home/pi/domoticz/plugins/Domoticz-deCONZ/plugin.py', function onCommand
Code: Select all
if not deCONZ_ID:
Domoticz.Error("Device not ready : " + str(Unit) )
return
Code: Select all
2019-06-16 19:37:36.675 (deCONZ) onCommand called for Unit 25: Parameter 'On', Level: 50, Hue:
2019-06-16 19:37:36.676 (deCONZ) Send Command /api/36E138295E/groups/4/action with {'bri': 127, 'on': True} (0 in buffer)
2019-06-16 19:37:36.669 Status: User: Admin initiated a switch command (63/deCONZ - Couloir/On)
Hello,
Code: Select all
2019-06-17 21:45:18.820 (deCONZ) onCommand called for Unit 22: Parameter 'On', Level: 48, Hue:
2019-06-17 21:45:18.820 (deCONZ) Send Command /api/36E138295E/lights/3/state with {'bri': 122, 'on': True} (0 in buffer)
2019-06-17 21:45:18.837 (deCONZ) Classic Data : [{'success': {'/lights/3/state/on': True}}, {'success': {'/lights/3/state/bri': 122}}]
2019-06-17 21:45:18.888 (deCONZ) ### WebSocket Data : {'uniqueid': '00:0d:6f:ff:fe:07:ab:cb-01', 'e': 'changed', 'id': '3', 'state': {'colormode': 'ct', 'alert': None, 'reachable': True, 'bri': 122, 'ct': 535, 'on': True}, 't': 'event', 'r': 'lights'}
2019-06-17 21:45:18.889 (deCONZ) ### Update device (deCONZ - Lum Couloir 1) : {'Color': '{"ct":246,"t":0,"ww":0}', 'nValue': 1, 'sValue': '47'}
2019-06-17 21:45:18.896 (deCONZ) ### WebSocket Data : {'t': 'event', 'e': 'changed', 'state': {'all_on': False, 'any_on': True}, 'r': 'groups', 'id': '4'}
2019-06-17 21:45:18.896 (deCONZ) ### Update device (deCONZ - Couloir) : {'nValue': 1, 'sValue': 'on'}
2019-06-17 21:45:19.156 (deCONZ) ### WebSocket Data : {'uniqueid': '00:0d:6f:ff:fe:07:ab:cb-01', 'e': 'changed', 'id': '3', 'state': {'colormode': 'ct', 'alert': None, 'reachable': True, 'bri': 31, 'ct': 535, 'on': True}, 't': 'event', 'r': 'lights'}
2019-06-17 21:45:19.157 (deCONZ) ### Update device (deCONZ - Lum Couloir 1) : {'Color': '{"ct":246,"t":0,"ww":0}', 'nValue': 1, 'sValue': '12'}
2019-06-17 21:45:20.119 (deCONZ) ### WebSocket Data : {'uniqueid': '00:0d:6f:ff:fe:07:ab:cb-01', 'e': 'changed', 'id': '3', 'state': {'colormode': 'ct', 'alert': None, 'reachable': True, 'bri': 122, 'ct': 535, 'on': True}, 't': 'event', 'r': 'lights'}
2019-06-17 21:45:20.120 (deCONZ) ### Update device (deCONZ - Lum Couloir 1) : {'Color': '{"ct":246,"t":0,"ww":0}', 'nValue': 1, 'sValue': '47'}
Ok, I have make change directly on master (not on beta yet)