Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Posted: Sunday 08 December 2019 21:53
Will have to check tomorrow
Open source Home Automation System
https://forum.domoticz.com/
I can confirm that the errors are back when I remove these two linesThorgal789 wrote: ↑Sunday 08 December 2019 16:54 No problem, but just for confirmation, if you remove theses 2 lines, you have again the error message about request lib ? (You are the first one that this solution have worked)
Code: Select all
2019-12-10 08:25:54.600 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:54.600 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '65520', 'r': 'groups', 'state': {'all_on': True, 'any_on': True}, 't': 'event'}
2019-12-10 08:25:54.600 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - All) : {'nValue': 1, 'sValue': 'on'}
2019-12-10 08:25:54.618 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:54.618 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '1', 'r': 'groups', 'state': {'all_on': True, 'any_on': True}, 't': 'event'}
2019-12-10 08:25:54.618 (deCONZ Zigbee) ### Update device (Lampen - keuken - plafond) : {'nValue': 1, 'sValue': 'on'}
2019-12-10 08:25:55.505 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.505 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '1', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:1e:78-01'}
2019-12-10 08:25:55.505 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Keueken - plafond - lamp 1) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:55.521 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.521 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '3', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': 'd0:cf:5e:ff:fe:ea:6b:9a-01'}
2019-12-10 08:25:55.521 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Dimmable light 3) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:55.543 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.543 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '4', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:90:b1-01'}
2019-12-10 08:25:55.543 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Keuken - plafond - lamp 4) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:55.574 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.574 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '2', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:22:d8-01'}
2019-12-10 08:25:55.574 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Dimmable light 2) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:55.582 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.582 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '4', 'r': 'lights', 'state': {'alert': None, 'bri': 56, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:90:b1-01'}
2019-12-10 08:25:55.582 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Keuken - plafond - lamp 4) : {'nValue': 1, 'sValue': '21'}
2019-12-10 08:25:55.662 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.662 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '3', 'r': 'lights', 'state': {'alert': None, 'bri': 56, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': 'd0:cf:5e:ff:fe:ea:6b:9a-01'}
2019-12-10 08:25:55.662 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Dimmable light 3) : {'nValue': 1, 'sValue': '21'}
2019-12-10 08:25:55.677 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:55.677 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '1', 'r': 'lights', 'state': {'alert': None, 'bri': 56, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:1e:78-01'}
2019-12-10 08:25:55.677 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Keueken - plafond - lamp 1) : {'nValue': 1, 'sValue': '21'}
2019-12-10 08:25:55.693 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '2', 'r': 'lights', 'state': {'alert': None, 'bri': 56, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:22:d8-01'}
2019-12-10 08:25:55.693 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Dimmable light 2) : {'nValue': 1, 'sValue': '21'}
2019-12-10 08:25:56.530 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:56.531 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '4', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:90:b1-01'}
2019-12-10 08:25:56.531 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Keuken - plafond - lamp 4) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:56.617 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:56.617 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '1', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:1e:78-01'}
2019-12-10 08:25:56.617 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Keueken - plafond - lamp 1) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:56.633 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:56.633 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '2', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': '00:0b:57:ff:fe:d9:22:d8-01'}
2019-12-10 08:25:56.633 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Dimmable light 2) : {'nValue': 1, 'sValue': '48'}
2019-12-10 08:25:56.648 (deCONZ Zigbee) onMessage called
2019-12-10 08:25:56.648 (deCONZ Zigbee) ### WebSocket Data : {'e': 'changed', 'id': '3', 'r': 'lights', 'state': {'alert': None, 'bri': 123, 'on': True, 'reachable': True}, 't': 'event', 'uniqueid': 'd0:cf:5e:ff:fe:ea:6b:9a-01'}
2019-12-10 08:25:56.648 (deCONZ Zigbee) ### Update device (deCONZ Zigbee - Dimmable light 3) : {'nValue': 1, 'sValue': '48'}
Hi Plantje
Hello, where are you blocked ? Have you set the api key ? error messages ?nicoleburdal wrote: ↑Monday 23 December 2019 21:28 Hi Plantje
I am interesed to share your manual please.
I have a conbee 2 usb dongle on Windows.
It's ok with deCONZ and Phoscon App
But, I can't see my lights neither my Conbee in Domoticz !
Thanks
You don't need to update your version if you don't need last modifications, no significant change on core.Correction for some Philips hue.
Correction for thermostat devices.
Change consumption widget for some devices.
Remove domoticz batterie alert if device have bad return for battery level.
Patch for group with UniqueId.
Did you have a look at this: https://dresden-elektronik.github.io/de ... uireapikeyDieHappy wrote: ↑Wednesday 12 February 2020 19:37 Hello i have some problems with the api key.
When i put in the command:
/home/pi/domoticz/plugins/Domoticz-deCONZ$ python3 API_KEY.py
I get This:
Exemples of use
python3 API_KEY.py <ip>:<port> <command> <Api key> <data>
python3 API_KEY.py 127.0.0.1:80 create
python3 API_KEY.py 127.0.0.1:80 info B4B018AA61
python3 API_KEY.py 127.0.0.1:80 list B4B018AA61
python3 API_KEY.py 127.0.0.1:80 delete B4B018AA61 CA606DA036
python3 API_KEY.py 127.0.0.1:80 clean B4B018AA61
When i put in this command:
/home/pi/domoticz/plugins/Domoticz-deCONZ$ python3 API.py 127.0.0.1:80 create
I get this:
python3: can't open file 'API.py': [Errno 2] No such file or directory
Can someone put me in the right direction???
Ps.
I have already done
sudo -H pip3 install requests
sudo -H pip install requests
Code: Select all
sudo netstat -nltup