dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.88k stars 485 forks source link

[Issue] Xiaomi (Aqara / Lumi) sensors became unreachable without direct connection (routing issue) #2704

Closed samsam-rolon closed 4 years ago

samsam-rolon commented 4 years ago

Hello,

I have some issues with my Xiaomi devices sinces I've switch them on conbee II GW. I'm explain :

Running on deCONZ in Docker (On Synology) image If any one have an idea ?

samsam-rolon commented 4 years ago

Screenshot : image

API EXTRACT

```json { "1": { "config": { "configured": true, "on": true, "sunriseoffset": 30, "sunsetoffset": -30 }, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "Philips", "modelid": "PHDL00", "name": "Daylight", "state": { "dark": false, "daylight": true, "lastupdated": "2020-04-20T05:37:57", "status": 160, "sunrise": "2020-04-20T04:54:20", "sunset": "2020-04-20T18:56:44" }, "swversion": "1.0", "type": "Daylight", "uniqueid": "00:21:2e:ff:ff:04:87:8d-01" }, "10": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": false }, "ep": 1, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Balcon", "state": { "lastupdated": "2020-04-18T15:06:11", "temperature": 2436 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:ec:1b-01-0402" }, "11": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": false }, "ep": 1, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Balcon", "state": { "humidity": 4963, "lastupdated": "2020-04-18T15:06:11" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:ec:1b-01-0405" }, "12": { "config": { "battery": 100, "on": true, "reachable": false }, "ep": 1, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Balcon", "state": { "lastupdated": "2020-04-18T15:06:11", "pressure": 1005 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:ec:1b-01-0403" }, "13": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "07877d7fb4f88399d8861b3d458eb0b2", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Entrée", "state": { "lastupdated": "2020-04-19T21:34:57", "temperature": 2230 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:47:fe:a6-01-0402" }, "14": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "07877d7fb4f88399d8861b3d458eb0b2", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Entrée", "state": { "humidity": 5531, "lastupdated": "2020-04-19T21:34:57" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:47:fe:a6-01-0405" }, "15": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "07877d7fb4f88399d8861b3d458eb0b2", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Entrée", "state": { "lastupdated": "2020-04-19T21:34:57", "pressure": 1002 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:47:fe:a6-01-0403" }, "16": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "7c6d7d0b35796d656efa4b7deb60b584", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Salon", "state": { "lastupdated": "2020-04-20T09:28:53", "temperature": 2037 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:b6:76-01-0402" }, "17": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "7c6d7d0b35796d656efa4b7deb60b584", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Salon", "state": { "humidity": 5387, "lastupdated": "2020-04-20T09:28:53" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:b6:76-01-0405" }, "18": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "7c6d7d0b35796d656efa4b7deb60b584", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Salon", "state": { "lastupdated": "2020-04-20T09:28:53", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:b6:76-01-0403" }, "19": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "e62d3fcfc0353149b8786a11afa704ed", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Cuisine", "state": { "lastupdated": "2020-04-19T22:47:38", "temperature": 2172 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:eb:49-01-0402" }, "2": { "config": { "on": true, "reachable": true }, "ep": 1, "etag": "31e7f428f11fd00e6dfe12d7de624e5b", "manufacturername": "Legrand", "modelid": "Connected outlet", "name": "Adapter plug", "state": { "current": 0, "lastupdated": "2020-04-20T09:54:28", "power": 0, "voltage": 0 }, "swversion": "016", "type": "ZHAPower", "uniqueid": "00:04:74:00:00:0b:a4:c3-01-0b04" }, "20": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "e62d3fcfc0353149b8786a11afa704ed", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Cuisine", "state": { "humidity": 5675, "lastupdated": "2020-04-19T22:47:38" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:eb:49-01-0405" }, "21": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "e62d3fcfc0353149b8786a11afa704ed", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Cuisine", "state": { "lastupdated": "2020-04-19T22:47:38", "pressure": 1002 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:eb:49-01-0403" }, "22": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2100 }, "ep": 1, "etag": "acc9e751ee7794f4a2ae761894517114", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre Cuisine", "state": { "lastupdated": "2020-04-20T09:26:06", "open": true }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:74:f7:2a-01-0006" }, "23": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2300 }, "ep": 1, "etag": "4b31895b1edbb9848106d43b1706364e", "manufacturername": "LUMI", "modelid": "lumi.sensor_wleak.aq1", "name": "CI Cuisine", "state": { "lastupdated": "2020-04-19T23:04:25", "lowbattery": false, "tampered": false, "water": false }, "swversion": "20170721", "type": "ZHAWater", "uniqueid": "00:15:8d:00:02:3a:4a:2a-01-0500" }, "24": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2100 }, "ep": 1, "etag": "76055a4153f5fa3ce556c3e5fa5a357b", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Baie Gauche Salon", "state": { "lastupdated": "2020-04-20T09:10:39", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:75:32:37-01-0006" }, "25": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2300 }, "ep": 1, "etag": "17e1628ebcc5874028d5dfc0574b5d12", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Baie Droite Salon", "state": { "lastupdated": "2020-04-20T09:04:28", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:bf:d4:69-01-0006" }, "26": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2300 }, "ep": 1, "etag": "795ccaf392a1f3fe7210af4002c58b23", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre CH1", "state": { "lastupdated": "2020-04-20T09:38:36", "open": true }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:bf:9e:c4-01-0006" }, "27": { "config": { "battery": 91, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "4a84e1321de4841350582c2daf9c3ff5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT WC", "state": { "lastupdated": "2020-04-20T09:42:36", "temperature": 1890 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:77:2f:be-01-0402" }, "28": { "config": { "battery": 91, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "4a84e1321de4841350582c2daf9c3ff5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT WC", "state": { "humidity": 5291, "lastupdated": "2020-04-20T09:42:36" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:77:2f:be-01-0405" }, "29": { "config": { "battery": 91, "on": true, "reachable": true }, "ep": 1, "etag": "4a84e1321de4841350582c2daf9c3ff5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT WC", "state": { "lastupdated": "2020-04-20T09:42:36", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:77:2f:be-01-0403" }, "3": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "114d18abc5c403d59140d5ca2c0896ae", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Baie de Brassage", "state": { "lastupdated": "2020-04-20T09:47:33", "temperature": 2767 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:eb:75-01-0402" }, "30": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 1900 }, "ep": 1, "etag": "3ae20c73b030243e5ef68a4a4d759b15", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre CH2", "state": { "lastupdated": "2020-04-19T23:48:15", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:04:01:74:a4-01-0006" }, "31": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2100 }, "ep": 1, "etag": "3c779710b3922994a03170031f0c353d", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre SdB", "state": { "lastupdated": "2020-04-20T09:18:46", "open": true }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:04:46:f7:1e-01-0006" }, "35": { "config": { "battery": 95, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "d543a80aa73c6477f3adbbaef13a4c38", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Bureau", "state": { "lastupdated": "2020-04-20T09:54:07", "temperature": 2114 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:49:d3:ad-01-0402" }, "36": { "config": { "battery": 95, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "d543a80aa73c6477f3adbbaef13a4c38", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Bureau", "state": { "humidity": 4169, "lastupdated": "2020-04-20T09:54:07" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:49:d3:ad-01-0405" }, "37": { "config": { "battery": 95, "on": true, "reachable": true }, "ep": 1, "etag": "d543a80aa73c6477f3adbbaef13a4c38", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Bureau", "state": { "lastupdated": "2020-04-20T09:54:07", "pressure": 1001 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:49:d3:ad-01-0403" }, "38": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "c4d4ec2af663ab33fe4324950e441b54", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH1", "state": { "lastupdated": "2020-04-20T09:51:35", "temperature": 2043 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:4a:70:88-01-0402" }, "39": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "c4d4ec2af663ab33fe4324950e441b54", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH1", "state": { "humidity": 4581, "lastupdated": "2020-04-20T09:51:35" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:4a:70:88-01-0405" }, "4": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "114d18abc5c403d59140d5ca2c0896ae", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Baie de Brassage", "state": { "humidity": 3441, "lastupdated": "2020-04-20T09:47:33" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:eb:75-01-0405" }, "40": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "c4d4ec2af663ab33fe4324950e441b54", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH1", "state": { "lastupdated": "2020-04-20T09:51:35", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:4a:70:88-01-0403" }, "44": { "config": { "battery": 88, "offset": 0, "on": true, "reachable": false }, "ep": 1, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Congelateur", "state": { "lastupdated": "2020-04-14T18:53:32", "temperature": -2272 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:21:6c:15-01-0402" }, "45": { "config": { "battery": 88, "offset": 0, "on": true, "reachable": false }, "ep": 1, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Congelateur", "state": { "humidity": 4573, "lastupdated": "2020-04-14T18:53:32" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:21:6c:15-01-0405" }, "46": { "config": { "battery": 88, "on": true, "reachable": false }, "ep": 1, "etag": "63920a74ab266534fd1f2370af44b4ce", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Congelateur", "state": { "lastupdated": "2020-04-14T18:53:32", "pressure": 1012 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:21:6c:15-01-0403" }, "47": { "config": { "battery": 98, "on": true, "reachable": true, "temperature": 2800 }, "ep": 1, "etag": "6e026fc63456d22b7b9a0d540865816f", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre Bureau", "state": { "lastupdated": "2020-04-20T09:51:27", "open": true }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:74:f7:f2-01-0006" }, "48": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "6a4bbb926f983231c1031e81d47c0f5d", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH2", "state": { "lastupdated": "2020-04-20T09:53:08", "temperature": 1796 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:21:79:44-01-0402" }, "49": { "config": { "battery": 90, "group": "4", "on": true, "reachable": true }, "ep": 1, "etag": "b63391a2273478e25773ce05b5d25675", "manufacturername": "Legrand", "mode": 1, "modelid": "Remote switch", "name": "Int SF Cuisine (Cuisine)", "state": { "buttonevent": 2002, "lastupdated": "2020-04-20T07:35:53" }, "swversion": "0021", "type": "ZHASwitch", "uniqueid": "00:04:74:00:00:ab:64:b8-01-0006" }, "5": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "114d18abc5c403d59140d5ca2c0896ae", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Baie de Brassage", "state": { "lastupdated": "2020-04-20T09:47:33", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:eb:75-01-0403" }, "50": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "6a4bbb926f983231c1031e81d47c0f5d", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH2", "state": { "humidity": 5070, "lastupdated": "2020-04-20T09:53:08" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:21:79:44-01-0405" }, "51": { "config": { "battery": 80, "group": "9", "on": true, "reachable": true }, "ep": 1, "etag": "5661f0af5952e3e92191d2d880b1317a", "manufacturername": "Legrand", "mode": 1, "modelid": "Remote switch", "name": "Int SF Cuisine (Salon)", "state": { "buttonevent": 2002, "lastupdated": "2020-04-20T04:01:30" }, "swversion": "0021", "type": "ZHASwitch", "uniqueid": "00:04:74:00:00:ab:64:a1-01-0006" }, "52": { "config": { "battery": 90, "group": "10", "on": true, "reachable": true }, "ep": 1, "etag": "9064cd65a3e05f3477e2968446a3a5e9", "manufacturername": "Legrand", "mode": 1, "modelid": "Remote switch", "name": "Int SF Entrée", "state": { "buttonevent": 2002, "lastupdated": "2020-04-19T22:35:38" }, "swversion": "0021", "type": "ZHASwitch", "uniqueid": "00:04:74:00:00:ab:64:ba-01-0006" }, "53": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "6a4bbb926f983231c1031e81d47c0f5d", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH2", "state": { "lastupdated": "2020-04-20T09:53:08", "pressure": 1001 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:21:79:44-01-0403" }, "54": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "6546d94851c651792d77a72178b3639c", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT SdB", "state": { "lastupdated": "2020-04-20T09:54:18", "temperature": 2002 }, "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:21:79:30-01-0402" }, "55": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "6546d94851c651792d77a72178b3639c", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT SdB", "state": { "humidity": 4762, "lastupdated": "2020-04-20T09:54:18" }, "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:21:79:30-01-0405" }, "56": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "1905a4a7451fb72978d411f7c3f43f05", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT SdB", "state": { "lastupdated": "2020-04-20T09:54:19", "pressure": 1001 }, "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:21:79:30-01-0403" }, "7": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2600 }, "ep": 1, "etag": "48dee7f3ea190d8debd4f601da41b200", "manufacturername": "LUMI", "mode": 1, "modelid": "lumi.sensor_switch.aq2", "name": "Bp SF Bureau", "state": { "buttonevent": 1002, "lastupdated": "2020-04-19T23:26:00" }, "swversion": "20161128", "type": "ZHASwitch", "uniqueid": "00:15:8d:00:01:e8:3c:a9-01-0006" } } ```

SwoopX commented 4 years ago

It may be of further help you you could let us know which deconz version and firmware you're running...

samsam-rolon commented 4 years ago

It may be of further help you you could let us know which deconz version and firmware you're running...

Oups. Sorry. image I precise that I'm running deCONZ via DOCKER but I was facing the same issue with dedicated Virtual Machine

yves19 commented 4 years ago

Xiaomi Aqara sensors are devices powered on battery. So they hibernate while not transmitting and wake up only at regular time to transmit their information. That's why they are considered as unreacheable by deCONZ but with no damage for the rest of operation. The only way to force a wake up of these sensors is to quickely press their including button and you should see them again ... for a while till they go back in sleep mode. By the way I am interested in the use of your CT WC on one hand and of your CT Congélateur as well

SwoopX commented 4 years ago

@yves19 In general, you're absolutely right. However, from the REST API data perspective, some devices were not seen for more than one day. And that's the rather unusual part.

samsam-rolon commented 4 years ago

Xiaomi Aqara sensors are devices powered on battery. So they hibernate while not transmitting and wake up only at regular time to transmit their information. That's why they are considered as unreacheable by deCONZ but with no damage for the rest of operation.

Yup I know this but .... Usually, I have at least few update per days. Here, I have some sensors without any update for more than 1 day. And I had re-included some because it wasn' updated sinces 3 days !

The only way to force a wake up of these sensors is to quickely press their including button and you should see them again ... for a while till they go back in sleep mode. By the way I am interested in the use of your CT WC on one hand and of your CT Congélateur as well

Well, WC is just to check a if this room is very cold sometimes or just a strange feeling related to floor tile. For Congélateur (aka Freezer for English readers), just about monitor temperature inside and be triger an alert if t° grows up (related to electricity stop or just basic breakdown)

@yves19 In general, you're absolutely right. However, from the REST API data perspective, some devices were not seen for more than one day. And that's the rather unusual part.

Yes ! Thats why I've open an issue

EDIT : Some of them are RED linked now ... image

samsam-rolon commented 4 years ago

An other case from a T° sensors (CT Entrée cf api logs) which I've trigger manually an update with the physical button wich didn't updated in GUI, in API and instead in log I didn't found it ... I had re-include it yesterday night ! I'm running the docker with those options, IDK if I get enought logs or not

Edit : If I force update deCONZ Soft side via VNC and simultanly press button

LOGS

``` 16:21:56:331 ZCL attribute report 0x00158D000272B676 for cluster: 0x0403, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:21:58:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:03:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:05:040 no button map for: lumi.sensor_magnet.aq2 ep: 0x01 cl: 0x0000 cmd: 0x0A pl[0]: 001, 16:22:05:040 ZCL attribute report 0x00158D0002753237 for cluster: 0x0000, ep: 0x01, frame control: 0x1C, mfcode: 0x115F , 16:22:05:040 0x00158D0002753237 extract Xiaomi special attribute 0xFF01, 16:22:05:040 01 battery 3005 (0x0BBD), 16:22:05:040 03 temperature 25 °C, 16:22:05:040 04 unknown 5032 (0x13A8), 16:22:05:040 05 RSSI dB (?) 59 (0x003B), 16:22:05:040 06 LQI (?) 4294967296 (0x0100000000), 16:22:05:040 0a unknown 0 (0x0000), 16:22:05:040 64 on/off 0, 16:22:09:013 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:10:513 remove outdated neighbor 0xD17A, 16:22:10:513 remove outdated neighbor 0xAFC7, 16:22:16:510 ZCL attribute report 0x00047400008B0569 for cluster: 0x0008, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:22:16:514 ZCL attribute report 0x00047400008B0569 for cluster: 0x0006, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:22:17:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:19:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:25:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:27:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:32:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:34:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:37:526 Current channel 11, 16:22:37:534 Device TTL 2275 s flags: 0x7, 16:22:39:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:41:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:46:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:49:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:54:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:22:56:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:01:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:03:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:09:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:11:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:16:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:17:483 ZCL attribute report 0x000474000099C9C4 for cluster: 0x0102, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:23:18:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:23:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:25:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:30:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:32:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:37:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:37:527 Current channel 11, 16:23:37:535 Device TTL 2215 s flags: 0x7, 16:23:37:758 Announced to internet https://phoscon.de/discover, 16:23:39:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:45:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:47:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:53:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:23:55:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:03:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:05:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:08:656 GW firmware version: 0x264a0700, 16:24:08:656 GW firmware version is up to date: 0x264a0700, 16:24:10:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:12:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:17:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:18:753 send NWK_Addr_req to node 0x00158D000247FEA6, 16:24:19:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:19:165 send NWK_Addr_req to node 0x00158D000247FEA6, 16:24:19:795 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62430 s, 16:24:20:483 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62431 s, 16:24:21:011 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62431 s, 16:24:24:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:24:166 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62435 s, 16:24:24:951 send NWK_Addr_req to node 0x00158D000247FEA6, 16:24:26:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:31:015 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:33:015 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:37:529 Current channel 11, 16:24:37:537 Device TTL 2155 s flags: 0x7, 16:24:38:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:39:689 send NWK_Addr_req to node 0x00158D000247FEA6, 16:24:40:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:40:976 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62451 s, 16:24:42:600 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62453 s, 16:24:45:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:47:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:50:581 max transmit errors for node 0x00158D000247FEA6, last seen by neighbors 62461 s, 16:24:52:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:54:015 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:24:59:846 ZCL attribute report 0x00047400001E3165 for cluster: 0x0006, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:25:00:016 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:02:016 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:08:015 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:10:016 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:16:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:17:346 ZCL attribute report 0x00047400008B0569 for cluster: 0x0008, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:25:18:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:23:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:25:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:30:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:32:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:37:014 skip binding for attribute reporting of ep: 0x00 cluster 0x0006 (end-device might sleep), 16:25:37:528 Current channel 11, 16:25:37:536 Device TTL 2095 s flags: 0x7, 16:25:46:275 ZCL attribute report 0x0004740000791B8D for cluster: 0x0008, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , 16:25:49:291 ZCL attribute report 0x0004740000791B8D for cluster: 0x0006, ep: 0x01, frame control: 0x18, mfcode: 0x0000 , ```

EDIT 2 : image After 24h more

Smanar commented 4 years ago

Hello, 60% for a Xiaomi sensor, mean empty battery. BTW the "ct cuisine" and "ct entree" are at 100%, do theses device use a legrand device as router, or use direct connexion ? I had same problem too, I seem Xiaomi can have same problem with not updated legrand device than with Osram. Or the device can try direct connexion instead of using the near router, like the 2 devices with red line.

Have you updated theses devices (the router) ? If you can't, have you a way for I send you something to try ?

samsam-rolon commented 4 years ago

Hello, 60% for a Xiaomi sensor, mean empty battery. BTW the "ct cuisine" and "ct entree" are at 100%, do theses device use a legrand device as router, or use direct connexion ? I had same problem too, I seem Xiaomi can have same problem with not updated legrand device than Osram (problem is from xiaomi)

Have you updated theses devices ? If you can't, have you a way for I send you something to try ?

I had re-include everything yesterday around 6PM after deleting all.

Yesterday (All seems working, I will get some update about 2h):

![deCONZ-map](https://user-images.githubusercontent.com/25209236/79953989-fcc80700-847c-11ea-9780-f98f54e4cfd3.PNG)

Today's graph :

![image](https://user-images.githubusercontent.com/25209236/79954023-081b3280-847d-11ea-979b-07a7e3e78347.png) ![image](https://user-images.githubusercontent.com/25209236/79955724-7b25a880-847f-11ea-89f0-0657c7474564.png)

Today's API Call :

``` { "1": { "config": { "configured": true, "on": true, "sunriseoffset": 30, "sunsetoffset": -30 }, "etag": "2130fe070f1e97505678292b3251e837", "manufacturername": "Philips", "modelid": "PHDL00", "name": "Daylight", "state": { "dark": false, "daylight": true, "lastupdated": "2020-04-22T05:34:21", "status": 160, "sunrise": "2020-04-22T04:50:31", "sunset": "2020-04-22T18:59:48" }, "swversion": "1.0", "type": "Daylight", "uniqueid": "00:21:2e:ff:ff:04:87:8d-01" }, "16": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "6ff4144e3e9d5278d4e8e237334060e4", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Salon", "state": { "lastupdated": "2020-04-22T07:53:58", "temperature": 2038 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:b6:76-01-0402" }, "17": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "6ff4144e3e9d5278d4e8e237334060e4", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Salon", "state": { "humidity": 4877, "lastupdated": "2020-04-22T07:53:58" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:b6:76-01-0405" }, "18": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "6ff4144e3e9d5278d4e8e237334060e4", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Salon", "state": { "lastupdated": "2020-04-22T07:53:58", "pressure": 1004 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:b6:76-01-0403" }, "19": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "3297f3b354c3f31bd239741215d86caa", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH1", "state": { "lastupdated": "2020-04-21T18:27:41", "temperature": 2119 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:4a:70:88-01-0402" }, "2": { "config": { "on": true, "reachable": true }, "ep": 1, "etag": "e1d8dd501de96bfa95dae4f094048922", "manufacturername": "Legrand", "modelid": "Connected outlet", "name": "Adapter plug", "state": { "current": 0, "lastupdated": "2020-04-22T08:02:19", "power": 0, "voltage": 0 }, "swversion": "016", "type": "ZHAPower", "uniqueid": "00:04:74:00:00:0b:a4:c3-01-0b04" }, "20": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "3297f3b354c3f31bd239741215d86caa", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH1", "state": { "humidity": 4926, "lastupdated": "2020-04-21T18:27:41" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:4a:70:88-01-0405" }, "21": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "3297f3b354c3f31bd239741215d86caa", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH1", "state": { "lastupdated": "2020-04-21T18:27:41", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:4a:70:88-01-0403" }, "22": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "c0e5cfe7b5e65a474d1f20e08213a714", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH2", "state": { "lastupdated": "2020-04-21T18:34:25", "temperature": 2064 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:21:79:44-01-0402" }, "23": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "c0e5cfe7b5e65a474d1f20e08213a714", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH2", "state": { "humidity": 4896, "lastupdated": "2020-04-21T18:34:25" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:21:79:44-01-0405" }, "24": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "c0e5cfe7b5e65a474d1f20e08213a714", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT CH2", "state": { "lastupdated": "2020-04-21T18:34:25", "pressure": 1001 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:21:79:44-01-0403" }, "25": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "53b2aa4e1e64c3a8da85f176f54559fc", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT SdB", "state": { "lastupdated": "2020-04-21T17:47:29", "temperature": 2041 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:21:79:30-01-0402" }, "26": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "eb3328deb57467540d39f1aaac3e2160", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT SdB", "state": { "humidity": 5184, "lastupdated": "2020-04-21T17:47:29" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:21:79:30-01-0405" }, "27": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "eb3328deb57467540d39f1aaac3e2160", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT SdB", "state": { "lastupdated": "2020-04-21T17:47:29", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:21:79:30-01-0403" }, "28": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "f6912d393fd800223951f5d878390365", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT WC", "state": { "lastupdated": "2020-04-21T18:31:50", "temperature": 1925 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:77:2f:be-01-0402" }, "29": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "f6912d393fd800223951f5d878390365", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT WC", "state": { "humidity": 5628, "lastupdated": "2020-04-21T18:31:50" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:77:2f:be-01-0405" }, "3": { "config": { "battery": 98, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "65af17d0d38cc8a2257e72493bfbbdf9", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Baie de Brassage", "state": { "lastupdated": "2020-04-22T07:54:47", "temperature": 2776 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:eb:75-01-0402" }, "30": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "f6912d393fd800223951f5d878390365", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT WC", "state": { "lastupdated": "2020-04-21T18:31:50", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:77:2f:be-01-0403" }, "31": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "75f85ecf2fc36b84a33d71aca93c35e9", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Cuisine", "state": { "lastupdated": "2020-04-21T18:29:51", "temperature": 2144 }, "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:eb:49-01-0402" }, "32": { "config": { "battery": null, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "75f85ecf2fc36b84a33d71aca93c35e9", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Cuisine", "state": { "humidity": 4886, "lastupdated": "2020-04-21T18:29:51" }, "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:eb:49-01-0405" }, "33": { "config": { "battery": null, "on": true, "reachable": true }, "ep": 1, "etag": "75f85ecf2fc36b84a33d71aca93c35e9", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Cuisine", "state": { "lastupdated": "2020-04-21T18:29:51", "pressure": 1000 }, "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:eb:49-01-0403" }, "34": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "1789ca9bcbcd8e6352023e0451cbc1f5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Balcon", "state": { "lastupdated": "2020-04-21T18:37:58", "temperature": 1875 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:72:ec:1b-01-0402" }, "35": { "config": { "battery": 91, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "d62a2c35f144815e9a92295c6d2da11b", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Bureau", "state": { "lastupdated": "2020-04-22T07:35:03", "temperature": 2253 }, "swversion": "20161129", "type": "ZHATemperature", "uniqueid": "00:15:8d:00:04:49:d3:ad-01-0402" }, "36": { "config": { "battery": 91, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "d62a2c35f144815e9a92295c6d2da11b", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Bureau", "state": { "humidity": 5008, "lastupdated": "2020-04-22T07:35:03" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:04:49:d3:ad-01-0405" }, "37": { "config": { "battery": 91, "on": true, "reachable": true }, "ep": 1, "etag": "d62a2c35f144815e9a92295c6d2da11b", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Bureau", "state": { "lastupdated": "2020-04-22T07:35:03", "pressure": 1004 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:04:49:d3:ad-01-0403" }, "38": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "74bb9171c955bd4ff624bb924360dc63", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Balcon", "state": { "humidity": 4553, "lastupdated": "2020-04-21T18:27:06" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:ec:1b-01-0405" }, "39": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "1789ca9bcbcd8e6352023e0451cbc1f5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Balcon", "state": { "lastupdated": "2020-04-21T18:37:58", "pressure": 1000 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:ec:1b-01-0403" }, "4": { "config": { "battery": 98, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "8c160c049ab022b05eef27b0ab73464e", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Baie de Brassage", "state": { "humidity": 3819, "lastupdated": "2020-04-22T07:54:48" }, "swversion": "20161129", "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:72:eb:75-01-0405" }, "40": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2300 }, "ep": 1, "etag": "6f506c450a70dd85cba5742436cebc62", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre Cuisine", "state": { "lastupdated": "2020-04-21T19:43:15", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:74:f7:2a-01-0006" }, "41": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2500 }, "ep": 1, "etag": "be354cba8684419d545c9343a6ee3a4d", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Baie Droite Salon", "state": { "lastupdated": "2020-04-21T19:07:44", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:bf:d4:69-01-0006" }, "42": { "config": { "battery": 95, "on": true, "reachable": true, "temperature": 2500 }, "ep": 1, "etag": "f6c8dc8d33581f09887ca1cc5385a6a0", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Baie Gauche Salon", "state": { "lastupdated": "2020-04-21T19:13:47", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:75:32:37-01-0006" }, "43": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2100 }, "ep": 1, "etag": "70d8350e1dcd95065b9e7163f7518bb4", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre CH2", "state": { "lastupdated": "2020-04-21T19:19:51", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:04:01:74:a4-01-0006" }, "44": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 2200 }, "ep": 1, "etag": "bdacce5d5ce5f25a7054bb5b00e51519", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre CH1", "state": { "lastupdated": "2020-04-22T08:00:24", "open": true }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:bf:9e:c4-01-0006" }, "45": { "config": { "battery": 98, "on": true, "reachable": true, "temperature": 2100 }, "ep": 1, "etag": "559b4ac16a57a656bc4b49832946a6b6", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre SdB", "state": { "lastupdated": "2020-04-22T07:51:37", "open": true }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:04:46:f7:1e-01-0006" }, "49": { "config": { "battery": 100, "group": "4", "on": true, "reachable": true }, "ep": 1, "etag": "e86048ffedf5bf7314bc0ca24cfe8ce0", "manufacturername": "Legrand", "mode": 1, "modelid": "Remote switch", "name": "Int SF Cuisine (Cuisine)", "state": { "buttonevent": 2002, "lastupdated": "2020-04-21T17:52:43" }, "swversion": "0021", "type": "ZHASwitch", "uniqueid": "00:04:74:00:00:ab:64:b8-01-0006" }, "5": { "config": { "battery": 98, "on": true, "reachable": true }, "ep": 1, "etag": "8c160c049ab022b05eef27b0ab73464e", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Baie de Brassage", "state": { "lastupdated": "2020-04-22T07:54:48", "pressure": 1003 }, "swversion": "20161129", "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:72:eb:75-01-0403" }, "51": { "config": { "battery": 100, "group": "9", "on": true, "reachable": true }, "ep": 1, "etag": "d5ed483da03b8ab6e7af0fa5c4d7f4b0", "manufacturername": "Legrand", "mode": 1, "modelid": "Remote switch", "name": "Int SF Cuisine (Salon)", "state": { "buttonevent": 2002, "lastupdated": "2020-04-22T04:01:26" }, "swversion": "0021", "type": "ZHASwitch", "uniqueid": "00:04:74:00:00:ab:64:a1-01-0006" }, "52": { "config": { "battery": 90, "group": "10", "on": true, "reachable": true }, "ep": 1, "etag": "dc901caf6161f549b6d262f44a99dcb4", "manufacturername": "Legrand", "mode": 1, "modelid": "Remote switch", "name": "Int SF Entrée", "state": { "buttonevent": 2002, "lastupdated": "2020-04-21T21:42:24" }, "swversion": "0021", "type": "ZHASwitch", "uniqueid": "00:04:74:00:00:ab:64:ba-01-0006" }, "60": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "914413f04dced6e39f2934edc949f2f5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Entree", "state": { "lastupdated": "2020-04-21T19:25:17", "temperature": 2219 }, "type": "ZHATemperature", "uniqueid": "00:15:8d:00:02:47:fe:a6-01-0402" }, "61": { "config": { "battery": 100, "offset": 0, "on": true, "reachable": true }, "ep": 1, "etag": "914413f04dced6e39f2934edc949f2f5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Entree", "state": { "humidity": 5692, "lastupdated": "2020-04-21T19:25:17" }, "type": "ZHAHumidity", "uniqueid": "00:15:8d:00:02:47:fe:a6-01-0405" }, "62": { "config": { "battery": 100, "on": true, "reachable": true }, "ep": 1, "etag": "914413f04dced6e39f2934edc949f2f5", "manufacturername": "LUMI", "modelid": "lumi.weather", "name": "CT Entree", "state": { "lastupdated": "2020-04-21T19:25:17", "pressure": 1000 }, "type": "ZHAPressure", "uniqueid": "00:15:8d:00:02:47:fe:a6-01-0403" }, "63": { "config": { "battery": 95, "on": true, "reachable": true, "temperature": 2800 }, "ep": 1, "etag": "6118481f71d9f64fbb7867a6cf0ead5f", "manufacturername": "LUMI", "modelid": "lumi.sensor_magnet.aq2", "name": "CO Fenetre Bureau", "state": { "lastupdated": "2020-04-22T07:47:22", "open": false }, "swversion": "20161128", "type": "ZHAOpenClose", "uniqueid": "00:15:8d:00:02:74:f7:f2-01-0006" }, "7": { "config": { "battery": 100, "on": true, "reachable": true, "temperature": 3200 }, "ep": 1, "etag": "874742e99f5a60c8b15aa3b85bf752af", "manufacturername": "LUMI", "mode": 1, "modelid": "lumi.sensor_switch.aq2", "name": "Bp SF Bureau", "state": { "buttonevent": 1002, "lastupdated": "2020-04-21T17:33:33" }, "swversion": "20161128", "type": "ZHASwitch", "uniqueid": "00:15:8d:00:01:e8:3c:a9-01-0006" } } ```

They are using for some Legrand router as you can see. I didn't know about the 60%. I can renew all battery if it can help.

Just, any press button or forced update (fake heating or openning/closing door) didn't work at all.

Also, CT Cusine as you can see didn't show any version of firmware :

![image](https://user-images.githubusercontent.com/25209236/79955070-8cba8080-847e-11ea-91ab-cdd04b0b5091.png)

~I can try to include them to Xiaomi GW before re-switch them on Conbee also ?~ Probably useless instead there is a latest FW available, issue looks like router on legrand side ...

samsam-rolon commented 4 years ago

Hum... After analysing screens, that looks like you hypothésis : Legrand Routeurs are the issue. Because most of All direct connection was still alive and all undirect connection (with 1 hop by Legrand routers) looks like disconected.

I had some device without any one message since yesterday 7pm ... The only same case I've found was here : https://github.com/KiwiHC16/Abeille/issues/877

Have you updated theses devices (the router) ? If you're talking about all my Legrand Stufff : they was all connected on official Legrand GW before so they are all with lastest Legrand FW right now (as far as I know)

image

EDIT : https://github.com/KiwiHC16/Abeille/issues/877

Smanar commented 4 years ago

Yep, I know this issue ^^ I have commented too, I had same problem with a switch.

But pipiche have made lot of test since this date, I can try to ask him, but from my memory with updated device this defaut disappears.

It's for that I m asking if you already have updated them, I know you have the legrand gateway, but if you don't want to dismount your installation I can give you something for try.

But It seem you have more recent version than me ...

samsam-rolon commented 4 years ago

Yep, I know this issue ^^ I have commented too, I had same problem with a switch.

But pipiche have made lot of test since this date, I can try to ask him, but from my memory with updated device this defaut disappears.

It's for that I m asking if you already have updated them, I know you have the legrand gateway, but if you don't want to dismount your installation I can give you something for try.

Well, you can explain me, if will see !

<french>j'utilise encore la gateway legrand pour certaines zone ou si une instabillité du réseau apparait, Madame risque d'être très faché ... donc j'attends d'être full complient sur deCONZ pour tout migrer :) ceci dit, je peux faire quelques test sans trop faire raler madame ! </french>

Smanar commented 4 years ago

Too late ^^. I have just edited last post.

It seem you have more recent firmware version than me , strange you still have this problem. I will try to ask pipiche if he have some information about that.

samsam-rolon commented 4 years ago

Well I see. Based on https://github.com/pipiche38/Domoticz-Zigate-Wiki/blob/master/en-eng/Legrand-Netatmo-corner.md, I've noticed something very strange. In pairing mode, only 1 wired switch led is green. Other are purple.

It will be intresting to have a way to exchange between all of us, like Legrand Zigbee User Group

Smanar commented 4 years ago

Haaaa ok, nice ^^ it's perhaps a good discovery.

Ok so bad new, if you have paired your device before the version 73 with updated device the led is purple for sure. Purple mean device paired but not all feature, for exemple you can miss the dimmer or the power consumption, and I hope better mesh. You just need to include them again, without deleting them, like that, you wil not loose your setting. Make a try with 1 router first, don't need to dismount all your installation for that.

But fimware version 2b, it's strange you have used old deconz version ... If you have green LED after pairing it will be ok, if you have purple better retry, even it work on deconz.

They are lot of way to exchange ^^, you can try to contact pipiche on discord if you have legrand zigbee question, but he is realy busy atm, they are making a new zigate model.

samsam-rolon commented 4 years ago

Sorry but ... Version 73 of what ? Just Re-include them on Conbee ?

In order to be more clear : 2 wired switch are green, 2 wired switch and the roller shutter are purple. I didn't check µmodule because they are hidden of course.

Smanar commented 4 years ago

Oups, sorry, haven't see the update

So if I make a resume.

Only 2 Xiaomi still here, even direct connexion are lost, so there is more than legrand problematic.

"Int plafonnier entree" is green or purple" ? It's an easy one to use for test.

BTW pipiche give me this link, nothing for help, but some information in it https://community.hubitat.com/t/xiaomi-aqara-devices-pairing-keeping-them-connected/623

And was about deconz version 2.05.73, and yep just Re-include them on Conbee ? Up having the green led.

samsam-rolon commented 4 years ago

Hello ! Sorry for the long time ! After few try and re-inclusion all my AC Legrand Devices are Green when deCONZ is in paring mode 😄 Now, I can try to deploy some Xiaomi battery modules and make a new test

Smanar commented 4 years ago

But I m not optimistic :(

The device that are directly connected and leave too is not a good thing, I realy don't have explanation for that.

I have find a useless sensor on my side, I will try to make it use a legrand router to make tries too.

Smanar commented 4 years ago

Ok need to check, but same issue, all Xiaomi device have leaved in less than 2h.

samsam-rolon commented 4 years ago

Ouch .... Okay so problem is between Legrand and Xiaomi relaying broadcast information about alive.

From my side, all Legrand stuff (which is connected to Conbee) is green now. I'm just quit frustrated now ...

I will try to re-include on or two module and see what's happens

Smanar commented 4 years ago

Legrand battery device can be displayed as unconnected, but still working, remember legrand don't make periodic return, so a device can stay somes days without saying it's alive.

I m collecting information ATM, it seem there is the same problem on z2m > https://github.com/Koenkk/zigbee2mqtt/issues/2878

Waiting for zigate return.

But yes, so much frustrated, on my side I have bulbs and switches, and as switch are "inside the wall" sensor prefer use bulb, so I have never see this problem, except the first time.

That's definitively not a good thing, I have so much aquara too.

Smanar commented 4 years ago

Ok so bad news.

I m almost sure Legrand is not able to make router for Xiaomi device, I have confirmation from pipiche, he have make try on his side, same result. Just for information, I haven't checked, so I can't be sure, but like for other manufacture, I think the problem is from Xiaomi too.

akenad commented 4 years ago

Xiaomi sensors are supposed to work preferently directly with Gateways Xiaomi, and initialy they are not supposed to be routed with repeater other than Xiaomi. So they can work good on ConBee/RaspBee but directly. Some few Zigbee repeater like IKEA work. As you can have several GW Xiaomi, you can have several remote Pi GW RaspBee/ConBee.

Smanar commented 4 years ago

Yep, but it's the only one manufacture with this problem. It's just because they don't respect zigbee protocol (they are not the only one, but I think the worst), and I m not sure they are not supposed to be routed, there is Xiaomi router too.

And for me it's not usefull having several gateway, as only one can be used as coordinator.

akenad commented 4 years ago

I have 2 GW (first and second floor) on the same Jeedom and it works fine.

samsam-rolon commented 4 years ago

I don't want to use the Xiaomi GW that's why I've buy a Conbee. Because Xiaomi GW was too closed sources and not open to other manufacturer ...

Right now, I've tried to move on all my Xiaomi sensors on their original GW in order to check if there is any FW update to correct the issue.

Also, @Smanar something strange that I was thinking : you told me that somes routers are working why Xiaomi sensors, but your also saying that is du to non respect of zigbee protocol Xiaomi side. How we could know that isn't from Legrand implementation ?

samsam-rolon commented 4 years ago

After research and as far as I know, the issue came from the Xiaomi sensors because after sleeping, they doesn't send the right "permit join" request after exit from sleeping.

So I have few options :

SwoopX commented 4 years ago

@smesguich What makes you think the devices send any permit join request? And what about the OTA, for Xiaomi? Is there a newer firmware?

samsam-rolon commented 4 years ago

@SwoopX just here : https://faire-ca-soi-meme.fr/domotique/2019/07/16/test-du-kit-zigbee-konke-smart-home/#Le_capteur_drsquoouverture_de_porte and agreagation nigh reading GH issue and forums about Xiaomi Aqara and the way that they implement Zigbee

Smanar commented 4 years ago

@akenad yep, but you are using 1 or 2 network ? If you are using 1 network, only 1 GW is used as coordinator, the second one is just a router, so there is better router than a complete GW. If you are using 2 network, it s not the better solution, because you will have a better mesh with 1 big network than 2 smaller.

About the mesh bug, I haven't find technical information but I have find that

With latest versions Xiaomi devices should stay online at least when connected directly to the gateway and most routers with a few exceptions (see below).

A bug was recently discovered where some Zigbee 3.0 routers ask end-devices to rejoin if they time out in their neighbour table. The Xiaomi end-devices don't implement that correctly and will just leave the network and repairing them to the network is required.

Related issues: #1488 and Koenkk/zigbee2mqtt#1474

Currently known routers which have this problem are:

OSRAM US Sylvania plug
Müller Licht tint lights

Note the bug is in the Xiaomi devices not the routers. As a workaround I suggest powering off all problematic devices during pairing so that the Xiaomi devices select a "working" parent device.

ATM there is no better firmware for Xiaomi.

Unfortunately you are using full connected switch installation, so no zigbee bulb, but if you have unused plug, you can test the ikea repeater (cheaper), but I have good return for the "Master router"

And you have some sensors directly connected, you need a router only for the most distant.

SwoopX commented 4 years ago

@SwoopX just here : https://faire-ca-soi-meme.fr/domotique/2019/07/16/test-du-kit-zigbee-konke-smart-home/#Le_capteur_drsquoouverture_de_porte and agreagation nigh reading GH issue and forums about Xiaomi Aqara and the way that they implement Zigbee

@smesguich permit join != rejoin. A permit join is issued from the coordinator while a rejoin is issued from the device. If you read thoroughly, you see that it's about loosing connectifity and not about waking up from deep sleep state. That's a small but major difference.

However, the rejoin matter is true and so that "issue" stays.

samsam-rolon commented 4 years ago

@SwoopX just here : https://faire-ca-soi-meme.fr/domotique/2019/07/16/test-du-kit-zigbee-konke-smart-home/#Le_capteur_drsquoouverture_de_porte and agreagation nigh reading GH issue and forums about Xiaomi Aqara and the way that they implement Zigbee

@smesguich permit join != rejoin. A permit join is issued from the coordinator while a rejoin is issued from the device. If you read thoroughly, you see that it's about loosing connectifity and not about waking up from deep sleep state. That's a small but major difference.

However, the rejoin matter is true and so that "issue" stays.

Yeah, your right.

samsam-rolon commented 4 years ago

Just thinking : Instead of building a CC2530 based router, May I use my second conbee as router only ?

Smanar commented 4 years ago

There is some tries, for exemple https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1934 But you need a raspberry or another machine.

The conbee have a better range than usual device, but for me it's something "overkilled". The "master router" will be cheaper and more stable (autonomous, no setting needed, no OS, ... )

The "master router" will be easier to use too, you just have to plug or unplug it, to enable/disable it.

But on your situation (and I think it will be soon for me), I will first make try with turning off all legrand device, and pairing all Xiaomi. So the maximum devices will use direct connection or others routers (will be easier for me, because of my bulbs). And only after I will search for adding routers in "white zone".

samsam-rolon commented 4 years ago

Hm .... okay so maybe overkilled. Also, it's better to have a 2nd conbee as DEV version or in case of hw failure. I've order all I need to build a router CC2530 so 😄

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.