I checked, and the new lines are in the plugin.py. removed the device and added it agian. The single presses are fine now but the long presses are still not recognized.
I exported the full log of the single press.
Code: Select all
2021-06-07 18:00:29.084 Deconz: (Deconz) onHeartbeat called
2021-06-07 18:00:29.088 Deconz: (Deconz) ### Initialisation > config
2021-06-07 18:00:29.088 Deconz: (Deconz) ### Request config
2021-06-07 18:00:29.088 Deconz: (Deconz) Send Command /api/C2A23BA324/config/ with None (0 in buffer)
2021-06-07 18:00:29.088 Deconz: (Deconz) Making Request: http://127.0.0.1:80/api/C2A23BA324/config/ with params None
2021-06-07 18:00:29.116 Deconz: (Deconz) Request Return: {"UTC":"2021-06-07T16:00:29","apiversion":"1.16.0","backup":{"errorcode":0,"status":"idle"},"bridgeid":"00212EFFFF071E0F","datastoreversion":"93","devicename":"ConBee II","dhcp":true,"disablePermitJoinAutoOff":false,"factorynew":false,"fwversion":"0x26660700","gateway":"10.10.10.1","internetservices":{"internet":"connected","remoteaccess":"disconnected","swupdate":"connected","time":"connected"},"ipaddress":"10.10.10.55","lightlastseeninterval":60,"linkbutton":false,"localtime":"2021-06-07T15:00:29","mac":"e4:5f:01:08:91:e8","modelid":"deCONZ","name":"Phoscon-GW","netmask":"255.255.255.0","networkopenduration":180,"panid":6859,"portalconnection":"disconnected","portalservices":false,"portalstate":{"communication":"disconnected","incoming":false,"outgoing":false,"signedon":false},"proxyaddress":"none","proxyport":0,"replacesbridgeid":null,"rfconnected":true,"starterkitid":"","swupdate":{"checkforupdate":false,"devicetypes":{"bridge":false,"lights":[],"sensors":[]},"notify":false,"text":"","updatestate":0,"url":""},"swupdate2":{"autoinstall":{"on":false,"updatetime":""},"bridge":{"lastinstall":"2021-05-17T16:24:11","state":"noupdates"},"checkforupdate":false,"lastchange":"","state":"noupdates"},"swversion":"2.11.5","timeformat":"24h","timezone":"Etc/GMT+1","uuid":"95e77e4f-5803-4210-8577-ae44af9d4935","websocketnotifyall":true,"websocketport":8088,"whitelist":{"1B1520A50F":{"create date":"2021-05-15T15:09:53","last use date":"2021-05-16T10:37:40","name":"Phoscon#B1920x937"},"1D14A87469":{"create date":"2021-05-15T14:43:08","last use date":"2021-05-15T14:44:21","name":"Domoticz"},"5A736A1A92":{"create date":"2021-05-18T13:40:11","last use date":"2021-05-18T15:45:01","name":"Phoscon#B1291x927"},"6FAB4DA903":{"create date":"2021-06-02T04:21:44","last use date":"2021-06-02T04:29:06","name":"Phoscon#B1366x938"},"778FEFC322":{"create date":"2021-05-28T20:10:48","last use date":"2021-05-30T20:18:50","name":"Phoscon#B375x635"},"7DADF843CA":{"create date":"2021-05-15T19:22:13","last use date":"2021-05-15T23:01:01","name":"Phoscon#B1920x969"},"A54F2AF41A":{"create date":"2021-06-05T14:31:53","last use date":"2021-06-05T14:36:43","name":"Phoscon#B2400x1171"},"B9147004CF":{"create date":"2021-05-15T15:20:26","last use date":"2021-05-15T15:20:26","name":"Domoticz"},"C2A23BA324":{"create date":"2021-05-15T15:35:26","last use date":"2021-06-07T16:00:29","name":"Domoticz"},"DED06E8B42":{"create date":"2021-06-01T16:09:16","last use date":"2021-06-01T19:14:59","name":"Phoscon#B375x635"},"EA2F109D09":{"create date":"2021-05-18T11:01:01","last use date":"2021-05-18T13:03:00","name":"Phoscon#B1700x936"},"F21FA342ED":{"create date":"2021-05-15T15:11:29","last use date":"2021-05-15T15:11:29","name":"Domoticz"},"FA0EB7FB9F":{"create date":"2021-05-15T15:23:16","last use date":"2021-05-15T15:23:16","name":"Domoticz"}},"zigbeechannel":20}
2021-06-07 18:00:29.117 Deconz: (Deconz) Classic Data : {'UTC': '2021-06-07T16:00:29', 'apiversion': '1.16.0', 'backup': {'errorcode': 0, 'status': 'idle'}, 'bridgeid': '00212EFFFF071E0F', 'datastoreversion': '93', 'devicename': 'ConBee II', 'dhcp': True, 'disablePermitJoinAutoOff': False, 'factorynew': False, 'fwversion': '0x26660700', 'gateway': '10.10.10.1', 'internetservices': {'internet': 'connected', 'remoteaccess': 'disconnected', 'swupdate': 'connected', 'time': 'connected'}, 'ipaddress': '10.10.10.55', 'lightlastseeninterval': 60, 'linkbutton': False, 'localtime': '2021-06-07T15:00:29', 'mac': 'e4:5f:01:08:91:e8', 'modelid': 'deCONZ', 'name': 'Phoscon-GW', 'netmask': '255.255.255.0', 'networkopenduration': 180, 'panid': 6859, 'portalconnection': 'disconnected', 'portalservices': False, 'portalstate': {'communication': 'disconnected', 'incoming': False, 'outgoing': False, 'signedon': False}, 'proxyaddress': 'none', 'proxyport': 0, 'replacesbridgeid': None, 'rfconnected': True, 'starterkitid': '', 'swupdate': {'checkforupdate': False, 'devicetypes': {'bridge': False, 'lights': [], 'sensors': []}, 'notify': False, 'text': '', 'updatestate': 0, 'url': ''}, 'swupdate2': {'autoinstall': {'on': False, 'updatetime': ''}, 'bridge': {'lastinstall': '2021-05-17T16:24:11', 'state': 'noupdates'}, 'checkforupdate': False, 'lastchange': '', 'state': 'noupdates'}, 'swversion': '2.11.5', 'timeformat': '24h', 'timezone': 'Etc/GMT+1', 'uuid': '95e77e4f-5803-4210-8577-ae44af9d4935', 'websocketnotifyall': True, 'websocketport': 8088, 'whitelist': {'1B1520A50F': {'create date': '2021-05-15T15:09:53', 'last use date': '2021-05-16T10:37:40', 'name': 'Phoscon#B1920x937'}, '1D14A87469': {'create date': '2021-05-15T14:43:08', 'last use date': '2021-05-15T14:44:21', 'name': 'Domoticz'}, '5A736A1A92': {'create date': '2021-05-18T13:40:11', 'last use date': '2021-05-18T15:45:01', 'name': 'Phoscon#B1291x927'}, '6FAB4DA903': {'create date': '2021-06-02T04:21:44', 'last use date': '2021-06-02T04:29:06', 'name': 'Phoscon#B1366x938'}, '778FEFC322': {'create date': '2021-05-28T20:10:48', 'last use date': '2021-05-30T20:18:50', 'name': 'Phoscon#B375x635'}, '7DADF843CA': {'create date': '2021-05-15T19:22:13', 'last use date': '2021-05-15T23:01:01', 'name': 'Phoscon#B1920x969'}, 'A54F2AF41A': {'create date': '2021-06-05T14:31:53', 'last use date': '2021-06-05T14:36:43', 'name': 'Phoscon#B2400x1171'}, 'B9147004CF': {'create date': '2021-05-15T15:20:26', 'last use date': '2021-05-15T15:20:26', 'name': 'Domoticz'}, 'C2A23BA324': {'create date': '2021-05-15T15:35:26', 'last use date': '2021-06-07T16:00:29', 'name': 'Domoticz'}, 'DED06E8B42': {'create date': '2021-06-01T16:09:16', 'last use date': '2021-06-01T19:14:59', 'name': 'Phoscon#B375x635'}, 'EA2F109D09': {'create date': '2021-05-18T11:01:01', 'last use date': '2021-05-18T13:03:00', 'name': 'Phoscon#B1700x936'}, 'F21FA342ED': {'create date': '2021-05-15T15:11:29', 'last use date': '2021-05-15T15:11:29', 'name': 'Domoticz'}, 'FA0EB7FB9F': {'create date': '2021-05-15T15:23:16', 'last use date': '2021-05-15T15:23:16', 'name': 'Domoticz'}}, 'zigbeechannel': 20}
2021-06-07 18:00:29.118 Deconz: (Deconz) ### Request lights
2021-06-07 18:00:29.118 Deconz: (Deconz) Send Command /api/C2A23BA324/lights/ with None (0 in buffer)
2021-06-07 18:00:29.118 Deconz: (Deconz) Making Request: http://127.0.0.1:80/api/C2A23BA324/lights/ with params None
2021-06-07 18:00:29.128 Deconz: (Deconz) Request Return: {"1":{"etag":"dcac65829314377b9018ee58f124e197","hascolor":false,"lastannounced":null,"lastseen":"2021-06-07T15:59Z","manufacturername":"dresden elektronik","modelid":"ConBee II","name":"Configuration tool 1","state":{"reachable":true},"swversion":"0x26660700","type":"Configuration tool","uniqueid":"00:21:2e:ff:ff:07:1e:0f-01"}}
2021-06-07 18:00:29.129 Deconz: (Deconz) Classic Data : {'1': {'etag': 'dcac65829314377b9018ee58f124e197', 'hascolor': False, 'lastannounced': None, 'lastseen': '2021-06-07T15:59Z', 'manufacturername': 'dresden elektronik', 'modelid': 'ConBee II', 'name': 'Configuration tool 1', 'state': {'reachable': True}, 'swversion': '0x26660700', 'type': 'Configuration tool', 'uniqueid': '00:21:2e:ff:ff:07:1e:0f-01'}}
2021-06-07 18:00:29.129 Deconz: (Deconz) ### Device > 1 Name:Configuration tool 1 Type:Configuration tool Details:{'reachable': True} and []
2021-06-07 18:00:29.129 Deconz: (Deconz) Skipping Device (Useless) : 00:21:2e:ff:ff:07:1e:0f-01
2021-06-07 18:00:29.129 Deconz: (Deconz) ### Request sensors
2021-06-07 18:00:29.129 Deconz: (Deconz) Send Command /api/C2A23BA324/sensors/ with None (0 in buffer)
2021-06-07 18:00:29.129 Deconz: (Deconz) Making Request: http://127.0.0.1:80/api/C2A23BA324/sensors/ with params None
2021-06-07 18:00:29.142 Deconz: (Deconz) Request Return: {"1":{"config":{"configured":true,"on":true,"sunriseoffset":30,"sunsetoffset":-30},"etag":"4aa9e6cf9ffa22a1d7ff56bf6afc5c2a","manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":false,"daylight":true,"lastupdated":"2021-06-07T11:38:46.898","status":170,"sunrise":"2021-06-07T03:22:26","sunset":"2021-06-07T19:54:57"},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:07:1e:0f-01"},"2":{"config":{"battery":100,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"850795b3a0043a62c5ecf790202ce46d","lastseen":"2021-06-07T15:39Z","manufacturername":"LUMI","modelid":"lumi.weather","name":"Multi Sensor","state":{"lastupdated":"2021-06-07T15:39:15.711","temperature":2358},"swversion":"20191205","type":"ZHATemperature","uniqueid":"00:15:8d:00:06:7b:ff:d0-01-0402"},"3":{"config":{"battery":100,"offset":-3,"on":true,"reachable":true},"ep":1,"etag":"ea52044837d5d4f322a867739e3a3f12","lastseen":"2021-06-07T15:39Z","manufacturername":"LUMI","modelid":"lumi.weather","name":"Humidity 3","state":{"humidity":4547,"lastupdated":"2021-06-07T15:39:15.723"},"swversion":"20191205","type":"ZHAHumidity","uniqueid":"00:15:8d:00:06:7b:ff:d0-01-0405"},"4":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"ff1dbb4348f3b3fc7dfcc552345b62a9","lastseen":"2021-06-07T15:39Z","manufacturername":"LUMI","modelid":"lumi.weather","name":"Pressure 4","state":{"lastupdated":"2021-06-07T15:39:15.730","pressure":1022},"swversion":"20191205","type":"ZHAPressure","uniqueid":"00:15:8d:00:06:7b:ff:d0-01-0403"},"8":{"config":{"battery":67,"group":"4","on":true,"reachable":true},"ep":2,"etag":"32051567397a78789aa640bbed8eda13","lastseen":"2021-06-07T16:00Z","manufacturername":"Philips","mode":1,"modelid":"RWL021","name":"Dimmer Switch","state":{"buttonevent":1002,"eventduration":1,"lastupdated":"2021-06-07T16:00:23.868"},"swversion":"6.1.1.28573","type":"ZHASwitch","uniqueid":"00:17:88:01:02:0e:96:78-02-fc00"}}
2021-06-07 18:00:29.143 Deconz: (Deconz) Classic Data : {'1': {'config': {'configured': True, 'on': True, 'sunriseoffset': 30, 'sunsetoffset': -30}, 'etag': '4aa9e6cf9ffa22a1d7ff56bf6afc5c2a', 'manufacturername': 'Philips', 'modelid': 'PHDL00', 'name': 'Daylight', 'state': {'dark': False, 'daylight': True, 'lastupdated': '2021-06-07T11:38:46.898', 'status': 170, 'sunrise': '2021-06-07T03:22:26', 'sunset': '2021-06-07T19:54:57'}, 'swversion': '1.0', 'type': 'Daylight', 'uniqueid': '00:21:2e:ff:ff:07:1e:0f-01'}, '2': {'config': {'battery': 100, 'offset': 0, 'on': True, 'reachable': True}, 'ep': 1, 'etag': '850795b3a0043a62c5ecf790202ce46d', 'lastseen': '2021-06-07T15:39Z', 'manufacturername': 'LUMI', 'modelid': 'lumi.weather', 'name': 'Multi Sensor', 'state': {'lastupdated': '2021-06-07T15:39:15.711', 'temperature': 2358}, 'swversion': '20191205', 'type': 'ZHATemperature', 'uniqueid': '00:15:8d:00:06:7b:ff:d0-01-0402'}, '3': {'config': {'battery': 100, 'offset': -3, 'on': True, 'reachable': True}, 'ep': 1, 'etag': 'ea52044837d5d4f322a867739e3a3f12', 'lastseen': '2021-06-07T15:39Z', 'manufacturername': 'LUMI', 'modelid': 'lumi.weather', 'name': 'Humidity 3', 'state': {'humidity': 4547, 'lastupdated': '2021-06-07T15:39:15.723'}, 'swversion': '20191205', 'type': 'ZHAHumidity', 'uniqueid': '00:15:8d:00:06:7b:ff:d0-01-0405'}, '4': {'config': {'battery': 100, 'on': True, 'reachable': True}, 'ep': 1, 'etag': 'ff1dbb4348f3b3fc7dfcc552345b62a9', 'lastseen': '2021-06-07T15:39Z', 'manufacturername': 'LUMI', 'modelid': 'lumi.weather', 'name': 'Pressure 4', 'state': {'lastupdated': '2021-06-07T15:39:15.730', 'pressure': 1022}, 'swversion': '20191205', 'type': 'ZHAPressure', 'uniqueid': '00:15:8d:00:06:7b:ff:d0-01-0403'}, '8': {'config': {'battery': 67, 'group': '4', 'on': True, 'reachable': True}, 'ep': 2, 'etag': '32051567397a78789aa640bbed8eda13', 'lastseen': '2021-06-07T16:00Z', 'manufacturername': 'Philips', 'mode': 1, 'modelid': 'RWL021', 'name': 'Dimmer Switch', 'state': {'buttonevent': 1002, 'eventduration': 1, 'lastupdated': '2021-06-07T16:00:23.868'}, 'swversion': '6.1.1.28573', 'type': 'ZHASwitch', 'uniqueid': '00:17:88:01:02:0e:96:78-02-fc00'}}
2021-06-07 18:00:29.144 Deconz: (Deconz) ### Device > 1 Name:Daylight Type:Daylight Details:{'dark': False, 'daylight': True, 'lastupdated': '2021-06-07T11:38:46.898', 'status': 170, 'sunrise': '2021-06-07T03:22:26', 'sunset': '2021-06-07T19:54:57'} and {'configured': True, 'on': True, 'sunriseoffset': 30, 'sunsetoffset': -30}
2021-06-07 18:00:29.157 Deconz: (Deconz) ### Update device (Deconz - Daylight) : {'nValue': 1, 'sValue': 'On'}, IGNORED , no changes !
2021-06-07 18:00:29.157 Deconz: (Deconz) ### Device > 2 Name:Multi Sensor Type:ZHATemperature Details:{'lastupdated': '2021-06-07T15:39:15.711', 'temperature': 2358} and {'battery': 100, 'offset': 0, 'on': True, 'reachable': True}
2021-06-07 18:00:29.158 Deconz: (Deconz) ### Update device (Temperature bathroom) : {'nValue': 0, 'sValue': '23.58', 'BatteryLevel': 100}, IGNORED , no changes !
2021-06-07 18:00:29.158 Deconz: (Deconz) ### Device > 3 Name:Humidity 3 Type:ZHAHumidity Details:{'humidity': 4547, 'lastupdated': '2021-06-07T15:39:15.723'} and {'battery': 100, 'offset': -3, 'on': True, 'reachable': True}
2021-06-07 18:00:29.158 Deconz: (Deconz) ### Update device (Humidity bathroom) : {'nValue': 45, 'sValue': '1', 'BatteryLevel': 100}, IGNORED , no changes !
2021-06-07 18:00:29.158 Deconz: (Deconz) ### Device > 4 Name:Pressure 4 Type:ZHAPressure Details:{'lastupdated': '2021-06-07T15:39:15.730', 'pressure': 1022} and {'battery': 100, 'on': True, 'reachable': True}
2021-06-07 18:00:29.159 Deconz: (Deconz) ### Update device (Deconz - Pressure 4) : {'nValue': 0, 'sValue': '1022;2', 'BatteryLevel': 100}, IGNORED , no changes !
2021-06-07 18:00:29.159 Deconz: (Deconz) ### Device > 8 Name:Dimmer Switch Type:ZHASwitch Details:{'buttonevent': 1002, 'eventduration': 1, 'lastupdated': '2021-06-07T16:00:23.868'} and {'battery': 67, 'group': '4', 'on': True, 'reachable': True}
2021-06-07 18:00:29.159 Deconz: (Deconz) ### Update device (Deconz - Dimmer Switch) : {'nValue': 0, 'sValue': 'Off', 'BatteryLevel': 67}, IGNORED , no changes !
2021-06-07 18:00:29.159 Deconz: (Deconz) ### Request groups
2021-06-07 18:00:29.159 Deconz: (Deconz) Send Command /api/C2A23BA324/groups/ with None (0 in buffer)
2021-06-07 18:00:29.159 Deconz: (Deconz) Making Request: http://127.0.0.1:80/api/C2A23BA324/groups/ with params None
2021-06-07 18:00:29.168 Deconz: (Deconz) Request Return: {"3":{"action":{"alert":"none","bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"devicemembership":[],"etag":"d0a0b520b9fc3b40d3c774afb5625245","id":"3","lights":[],"name":"RWL021 7","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup","uniqueid":"00:17:88:01:02:0e:96:78"},"4":{"action":{"alert":"none","bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":true,"sat":127,"scene":null,"xy":[0,0]},"devicemembership":["8"],"etag":"88ec97327d95fb603de5ba23260286e7","id":"4","lights":[],"name":"RWL021 8","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup","uniqueid":"00:17:88:01:02:0e:96:78"}}
2021-06-07 18:00:29.168 Deconz: (Deconz) Classic Data : {'3': {'action': {'alert': 'none', 'bri': 127, 'colormode': 'hs', 'ct': 0, 'effect': 'none', 'hue': 0, 'on': False, 'sat': 127, 'scene': None, 'xy': [0, 0]}, 'devicemembership': [], 'etag': 'd0a0b520b9fc3b40d3c774afb5625245', 'id': '3', 'lights': [], 'name': 'RWL021 7', 'scenes': [], 'state': {'all_on': False, 'any_on': False}, 'type': 'LightGroup', 'uniqueid': '00:17:88:01:02:0e:96:78'}, '4': {'action': {'alert': 'none', 'bri': 127, 'colormode': 'hs', 'ct': 0, 'effect': 'none', 'hue': 0, 'on': True, 'sat': 127, 'scene': None, 'xy': [0, 0]}, 'devicemembership': ['8'], 'etag': '88ec97327d95fb603de5ba23260286e7', 'id': '4', 'lights': [], 'name': 'RWL021 8', 'scenes': [], 'state': {'all_on': False, 'any_on': False}, 'type': 'LightGroup', 'uniqueid': '00:17:88:01:02:0e:96:78'}}
2021-06-07 18:00:29.168 Deconz: (Deconz) ### Groupe > 3 Name:RWL021 7
2021-06-07 18:00:29.168 Deconz: (Deconz) ### Groupe > 4 Name:RWL021 8
2021-06-07 18:00:29.219 Deconz: (Deconz) onConnect called
2021-06-07 18:00:29.269 Deconz: (Deconz) onMessage called
2021-06-07 18:00:29.269 Deconz: (Deconz) WebSocket Handshake : HTTP/1.1 101 Switching Protocols ***Upgrade: websocket ***Connection: Upgrade ***Sec-WebSocket-Accept: V0htEbn5FhIA1xfQRyG3yU1aG9c= ***Server: deconz ***Access-Control-Allow-Credentials: false ***Access-Control-Allow-Methods: GET ***Access-Control-Allow-Headers: content-type ***Access-Control-Allow-Origin: http://127.0.0.1 ***Date: Mon, 07 Jun 2021 16:00:29 GMT *** ***