I'm not sure what I've been doing wrong... maybe you can give me some hint where to look.
I've configured my Deconz system, initially with 2 wireless Xiaomi switches and 2 temp/humidity sensors, no lights at the moment. They show up fine in Phoscon web app. I've added newest git plugin version, created API key and configured it in Domoticz. All seems to be (almost) ok, but no new devices show up on the list...
Log file in Debug mode repeats the same lines over and over again:
Code: Select all
2019-01-12 21:28:06.692 (Deconz ConBee) Pushing 'onHeartbeatCallback' on to queue
2019-01-12 21:28:06.708 (Deconz ConBee) Processing 'onHeartbeatCallback' message
2019-01-12 21:28:06.708 (Deconz ConBee) Calling message handler 'onHeartbeat'.
2019-01-12 21:28:06.708 (Deconz ConBee) onHeartbeat called
2019-01-12 21:28:06.708 (Deconz ConBee) ### Request lights
2019-01-12 21:28:06.708 (Deconz ConBee) Send Command /api/B53E43891F/lights/ with None
2019-01-12 21:28:06.708 (Deconz ConBee) Deallocating connection object 'deCONZ_Com' (10.0.20.3:80).
2019-01-12 21:28:06.709 (Deconz ConBee) Pushing 'ConnectDirective' on to queue
2019-01-12 21:28:06.709 (Deconz ConBee) Processing 'ConnectDirective' message
2019-01-12 21:28:06.709 (Deconz ConBee) Protocol for 'deCONZ_Com' not specified, 'None' assumed.
2019-01-12 21:28:06.709 (Deconz ConBee) Transport set to: 'TCP/IP', 10.0.20.3:80.
2019-01-12 21:28:06.709 (Deconz ConBee) Connect directive received, action initiated successfully.
2019-01-12 21:28:06.724 (Deconz ConBee) Pushing 'onConnectCallback' on to queue
2019-01-12 21:28:06.759 (Deconz ConBee) Processing 'onConnectCallback' message
2019-01-12 21:28:06.759 (Deconz ConBee) Calling message handler 'onConnect'.
2019-01-12 21:28:06.759 (Deconz ConBee) onConnect called
2019-01-12 21:28:06.759 (Deconz ConBee) Pushing 'WriteDirective' on to queue
2019-01-12 21:28:06.760 (Deconz ConBee) Processing 'WriteDirective' message
2019-01-12 21:28:06.760 (Deconz ConBee) Sending 183 bytes of data
2019-01-12 21:28:06.760 (Deconz ConBee) 47 45 54 20 2f 61 70 69 2f 42 35 33 45 34 33 38 39 31 46 2f GET./api/B53E43891F/
2019-01-12 21:28:06.760 (Deconz ConBee) 6c 69 67 68 74 73 2f 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f lights/.HTTP/1.1..Ho
2019-01-12 21:28:06.760 (Deconz ConBee) 73 74 3a 20 31 30 2e 30 2e 32 30 2e 33 3a 38 30 0d 0a 55 73 st:.10.0.20.3:80..Us
2019-01-12 21:28:06.760 (Deconz ConBee) 65 72 2d 41 67 65 6e 74 3a 20 44 6f 6d 6f 74 69 63 7a 2f 31 er-Agent:.Domoticz/1
2019-01-12 21:28:06.760 (Deconz ConBee) 2e 30 0d 0a 41 63 63 65 70 74 3a 20 74 65 78 74 2f 68 74 6d .0..Accept:.text/htm
2019-01-12 21:28:06.760 (Deconz ConBee) 6c 2c 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 68 74 6d 6c 2b l,application/xhtml+
2019-01-12 21:28:06.760 (Deconz ConBee) 78 6d 6c 2c 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 6d 6c 3b xml,application/xml;
2019-01-12 21:28:06.760 (Deconz ConBee) 71 3d 30 2e 39 2c 2a 2f 2a 3b 71 3d 30 2e 38 0d 0a 43 6f 6e q=0.9,*/*;q=0.8..Con
2019-01-12 21:28:06.760 (Deconz ConBee) 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 76 65 0d nection:.keep-alive.
2019-01-12 21:28:06.760 (Deconz ConBee) 0a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...
2019-01-12 21:28:06.783 (Deconz ConBee) Pushing 'ReadEvent' on to queue
2019-01-12 21:28:06.811 (Deconz ConBee) Processing 'ReadEvent' message
2019-01-12 21:28:06.811 (Deconz ConBee) Received 159 bytes of data
2019-01-12 21:28:06.811 (Deconz ConBee) 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 41 63 63 HTTP/1.1.200.OK..Acc
2019-01-12 21:28:06.811 (Deconz ConBee) 65 73 73 2d 43 6f 6e 74 72 6f 6c 2d 41 6c 6c 6f 77 2d 4f 72 ess-Control-Allow-Or
2019-01-12 21:28:06.811 (Deconz ConBee) 69 67 69 6e 3a 20 2a 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 igin:.*..Content-Typ
2019-01-12 21:28:06.811 (Deconz ConBee) 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3b e:.application/json;
2019-01-12 21:28:06.811 (Deconz ConBee) 20 63 68 61 72 73 65 74 3d 75 74 66 2d 38 0d 0a 43 6f 6e 74 .charset=utf-8..Cont
2019-01-12 21:28:06.811 (Deconz ConBee) 65 6e 74 2d 4c 65 6e 67 74 68 3a 32 0d 0a 45 54 61 67 3a 22 ent-Length:2..ETag:"
2019-01-12 21:28:06.811 (Deconz ConBee) 39 63 64 63 35 33 61 33 32 33 65 31 62 32 37 37 33 36 35 61 9cdc53a323e1b277365a
2019-01-12 21:28:06.811 (Deconz ConBee) 32 65 36 62 30 35 39 32 33 65 30 65 22 0d 0a 0d 0a 7b 7d .. 2e6b05923e0e"....{}
2019-01-12 21:28:06.811 (Deconz ConBee) Pushing 'onMessageCallback' on to queue
2019-01-12 21:28:06.811 (Deconz ConBee) Processing 'onMessageCallback' message
2019-01-12 21:28:06.811 (Deconz ConBee) Calling message handler 'onMessage'.
2019-01-12 21:28:06.811 (Deconz ConBee) onMessage called
2019-01-12 21:28:06.812 (Deconz ConBee) Pushing 'DisconnectDirective' on to queue
2019-01-12 21:28:06.812 (Deconz ConBee) Classic Data : {}
2019-01-12 21:28:06.812 (Deconz ConBee) Processing 'DisconnectDirective' message
2019-01-12 21:28:06.812 (Deconz ConBee) Disconnect directive received for '10.0.20.3:80'.
2019-01-12 21:28:06.812 (Deconz ConBee) Handling disconnect, socket (10.0.20.3:80) is connected
2019-01-12 21:28:06.812 (Deconz ConBee) Queued asyncronous read aborted (10.0.20.3:80).
2019-01-12 21:28:06.812 (Deconz ConBee) Pushing 'DisconnectedEvent' on to queue
2019-01-12 21:28:06.863 (Deconz ConBee) Processing 'DisconnectedEvent' message
2019-01-12 21:28:06.863 (Deconz ConBee) Disconnect event received for '10.0.20.3:80'.
2019-01-12 21:28:06.863 (Deconz ConBee) Pushing 'onDisconnectCallback' on to queue
2019-01-12 21:28:06.863 (Deconz ConBee) Processing 'onDisconnectCallback' message
2019-01-12 21:28:06.863 (Deconz ConBee) Calling message handler 'onDisconnect'.
2019-01-12 21:28:06.812 Error: (Deconz ConBee) Bad JSON response : {}
Here's what is in response to GET 10.0.20.3/api/B53E43891F/config/:
Code: Select all
{
"UTC": "2019-01-12T19:49:55",
"apiversion": "1.16.0",
"backup": {
"errorcode": 0,
"status": "idle"
},
"bridgeid": "00212EFFFF0325CE",
"datastoreversion": "60",
"devicename": "ConBee",
"dhcp": true,
"factorynew": false,
"fwversion": "0x262f0500",
"gateway": "10.0.20.1",
"internetservices": {
"remoteaccess": "disconnected"
},
"ipaddress": "10.0.20.3",
"linkbutton": false,
"localtime": "2019-01-12T20:49:55",
"mac": "b8:27:eb:98:6f:d5",
"modelid": "deCONZ",
"name": "Phoscon GW",
"netmask": "255.255.255.0",
"networkopenduration": 60,
"panid": 19614,
"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": "%cI",
"state": "allreadytoinstall"
},
"checkforupdate": false,
"install": false,
"lastchange": "",
"lastinstall": "",
"state": "allreadytoinstall"
},
"swversion": "2.5.54",
"timeformat": "24h",
"timezone": "Etc/GMT-1",
"uuid": "156f51dd-0f0d-43cf-83d6-707f57fb45f7",
"websocketnotifyall": true,
"websocketport": 443,
"whitelist": {
"06D45E81AD": {
"create date": "2019-01-11T21:42:24",
"last use date": "2019-01-12T19:31:58",
"name": "Phoscon#B1324x964"
},
"0C32C6AFED": {
"create date": "2019-01-11T22:43:19",
"last use date": "2019-01-12T19:49:19",
"name": "Phoscon#B1324x964"
},
"10F43E8807": {
"create date": "2019-01-11T23:46:50",
"last use date": "2019-01-11T23:54:24",
"name": "Phoscon#B1324x964"
},
"22F5219387": {
"create date": "2019-01-11T21:44:45",
"last use date": "2019-01-11T21:44:45",
"name": "deCONZ WebApp"
},
"2788F8B379": {
"create date": "2019-01-11T23:55:37",
"last use date": "2019-01-12T00:00:20",
"name": "Phoscon#B1324x964"
},
"835BEBAFDA": {
"create date": "2019-01-11T23:59:44",
"last use date": "2019-01-12T00:02:18",
"name": "domoticz"
},
"860074BD4D": {
"create date": "2019-01-11T23:42:41",
"last use date": "2019-01-11T23:42:41",
"name": "deCONZ WebApp"
},
"8836F7D27B": {
"create date": "2019-01-11T21:43:12",
"last use date": "2019-01-11T22:48:30",
"name": "Phoscon#B1324x964"
},
"ACD92B9EF4": {
"create date": "2019-01-11T21:36:16",
"last use date": "2019-01-11T21:39:36",
"name": "Phoscon#B1324x964"
},
"B53E43891F": {
"create date": "2019-01-12T00:02:00",
"last use date": "2019-01-12T19:49:55",
"name": "domoticz"
},
"DDE9E1EA61": {
"create date": "2019-01-11T21:34:34",
"last use date": "2019-01-11T21:36:07",
"name": "Phoscon#B1324x964"
}
},
"zigbeechannel": 15
}
and example request for sensors also seems to be ok:
Code: Select all
{
"1": {
"config": {
"configured": true,
"on": true,
"sunriseoffset": 30,
"sunsetoffset": -30
},
"etag": "9cdc53a323e1b277365a2e6b05923e0e",
"manufacturername": "Philips",
"modelid": "PHDL00",
"name": "Daylight",
"state": {
"dark": true,
"daylight": false,
"lastupdated": "2019-01-12T16:55:44",
"status": 230
},
"swversion": "1.0",
"type": "Daylight",
"uniqueid": "00:21:2e:ff:ff:03:25:ce-01"
},
"2": {
"config": {
"battery": 100,
"offset": 0,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "168cf9c4f3df7a9042ac738122ab8f8b",
"manufacturername": "LUMI",
"modelid": "lumi.weather",
"name": "Sensor @Salon",
"state": {
"lastupdated": "2019-01-12T20:27:30",
"temperature": 2234
},
"swversion": "20161129",
"type": "ZHATemperature",
"uniqueid": "00:15:8d:00:01:71:f1:ae-01-0402"
},
"3": {
"config": {
"battery": 100,
"offset": 0,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "168cf9c4f3df7a9042ac738122ab8f8b",
"manufacturername": "LUMI",
"modelid": "lumi.weather",
"name": "Sensor @Salon",
"state": {
"humidity": 4273,
"lastupdated": "2019-01-12T20:27:30"
},
"swversion": "20161129",
"type": "ZHAHumidity",
"uniqueid": "00:15:8d:00:01:71:f1:ae-01-0405"
},
"4": {
"config": {
"battery": 100,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "168cf9c4f3df7a9042ac738122ab8f8b",
"manufacturername": "LUMI",
"modelid": "lumi.weather",
"name": "Sensor @Salon",
"state": {
"lastupdated": "2019-01-12T20:27:30",
"pressure": 985
},
"swversion": "20161129",
"type": "ZHAPressure",
"uniqueid": "00:15:8d:00:01:71:f1:ae-01-0403"
},
"5": {
"config": {
"battery": 85,
"on": true,
"reachable": true,
"temperature": 3100
},
"ep": 1,
"etag": "e74878e122c12d0b2acd6c1cdbb7eba8",
"manufacturername": "LUMI",
"mode": 1,
"modelid": "lumi.sensor_86sw2",
"name": "Wireless Switch No 1",
"state": {
"buttonevent": 1002,
"lastupdated": "2019-01-12T20:18:27"
},
"swversion": "20170411",
"type": "ZHASwitch",
"uniqueid": "00:15:8d:00:01:e0:64:45-01-0006"
},
"6": {
"config": {
"battery": 100,
"offset": 0,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "758afdf54258d6d04caa59ff3c1d954e",
"manufacturername": "LUMI",
"modelid": "lumi.weather",
"name": "Sensor @Łazienka",
"state": {
"lastupdated": "2019-01-12T20:17:05",
"temperature": 2285
},
"swversion": "20161129",
"type": "ZHATemperature",
"uniqueid": "00:15:8d:00:01:b7:b0:c1-01-0402"
},
"7": {
"config": {
"battery": 100,
"offset": 0,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "5a03e9592fa99c8d7fd2d2af7cd0df20",
"manufacturername": "LUMI",
"modelid": "lumi.weather",
"name": "Sensor @Łazienka",
"state": {
"humidity": 4262,
"lastupdated": "2019-01-12T20:17:06"
},
"swversion": "20161129",
"type": "ZHAHumidity",
"uniqueid": "00:15:8d:00:01:b7:b0:c1-01-0405"
},
"8": {
"config": {
"battery": 100,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "5a03e9592fa99c8d7fd2d2af7cd0df20",
"manufacturername": "LUMI",
"modelid": "lumi.weather",
"name": "Sensor @Łazienka",
"state": {
"lastupdated": "2019-01-12T20:17:06",
"pressure": 985
},
"swversion": "20161129",
"type": "ZHAPressure",
"uniqueid": "00:15:8d:00:01:b7:b0:c1-01-0403"
},
"9": {
"config": {
"battery": 100,
"on": true,
"reachable": true
},
"ep": 1,
"etag": "e4fdd38baa0bce0d5bd273d47a544ca3",
"manufacturername": "LUMI",
"mode": 1,
"modelid": "lumi.sensor_switch",
"name": "Smart Switch No 1",
"state": {
"buttonevent": 1002,
"lastupdated": "2019-01-12T18:50:10"
},
"type": "ZHASwitch",
"uniqueid": "00:15:8d:00:01:d6:ab:72-01-0006"
}
}
API key seems to be ok, sensors show up fine when queried by REST... do you have any idea what I've been doing wrong?