New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xiaomi Sensors not refreshing #1566
Comments
I have a similar problem that my Xiaomi temp sensor doesn't update anymore: |
If you're using the ConBee II please make sure that you have the latest firmware installed. For proper end-device handling at least version 0x26490700 is required. If the update isn't shown in the Phoscon App > Settings > Gateway you may update the firmware as described in: |
In my case it's Conbee I, latest firmware. |
Same problem here with ConBee 1 and Xiaomi Multisensors, Version 2.05.65, Firmware 36330500 |
Can you please provide more details about your setup.
Might be related to #1595 |
I believe I've seen the problems with the multi sensor directly connected to Conbee. I own these routers: Xiaomi socket, Osram SMART+ socket (Germany), Osram SMART+ bulb, Innr socket, Bitron socket, IKEA repeater. |
Hmm strange at least with ConBee (1) and firmware 0x26330500 the connection to Xiaomi sensors should never get lost when the sensor is connected directly to the gateway. To connect it again just start sensor search and reset the sensor by pressing the button until the LED flashes. |
In my case the connection isn't lost. I believe I see a green line in deCONZ. I just never seem to get any measurement updates from the sensor. I'll try this tonight:
Anything else I can try? |
Looking at my own setup, it seems to have been distance related
I moved my conbee ii away from the back of my PC and that seems to have
solved the problem
…On Mon, Jun 17, 2019 at 2:33 PM thowi ***@***.***> wrote:
So, I tried with only the Xiaomi temp sensor connected to the Conbee I
controller:
[image: image]
<https://user-images.githubusercontent.com/840855/59637568-6937f280-9156-11e9-9f42-a00bc9a7661c.png>
I get a reading just after pairing and then no more updates, even when I
press the button on the sensor or when I warm it up in my hand.
When I try to read the temperature cluster info it just times out and I
see the left dot flashing red in deCONZ.
Here's what I see in the logs:
21:44:33:177 SensorNode 5: Temperature 5 added
21:44:33:178 don't create binding for attribute reporting of sensor
Temperature 5
[..]
21:44:33:183 Websocket 192.168.1.197:55747 send message:
{"e":"changed","id":"5","r":"sensors","state":{"lastupdated":"2019-06-17T19:44:33","temperature":2733},"t":"event","uniqueid":"00:15:8d:00:02:32:0b:57-01-0402"}
(ret = 160)
[..]
21:44:34:670 Websocket 192.168.1.100:53804 send message:
{"e":"changed","id":"5","name":"Multi
Sensor","r":"sensors","t":"event","uniqueid":"00:15:8d:00:02:32:0b:57-01-0402"}
(ret = 117)
[..]
21:50:35:956 Node 0x00158D0002320B57 is known by 1 neighbors, last seen 4 s
[..]
23:15:00:915 Node 0x00158D0002320B57 is known by 0 neighbors, last seen
4390 s
[..]
23:14:56:147 ZCL read cluster: 0x0402, attribute: 0x0000
23:14:56:148 ZCL read cluster: 0x0402, attribute: 0x0001
23:14:56:148 ZCL read cluster: 0x0402, attribute: 0x0002
23:14:56:148 ZCL read cluster: 0x0402, attribute: 0x0003
I believe I'm using the latest firmware on Conbee I. At least it doesn't
ask me to update.
[image: image]
<https://user-images.githubusercontent.com/840855/59637826-07c45380-9157-11e9-82fe-8cf8ca2665f4.png>
My deCONZ version (using Ubuntu/APT installation):
[image: image]
<https://user-images.githubusercontent.com/840855/59638080-ab156880-9157-11e9-9f96-bd93ae5e0944.png>
I only own this one temp sensor, so I can't compare to another one.
I don't own a Xiaomi gateway and have never tried to upgrade the sensor
firmware.
So it is possible that the sensor itself may be at fault.
I ordered more, but that will take some time to ship.
It says this on the back:
WSDCGQ11LM
CMIT ID: 2016DP6443
LMK if I can provide any more information.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1566?email_source=notifications&email_token=ACQWXGD3Q2QZOVNBC7HZFHDP277LZA5CNFSM4HUF4AZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX4QN2Y#issuecomment-502859499>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACQWXGH3PCJONEXWT7PN6BDP277LZANCNFSM4HUF4AZQ>
.
|
My controller was already on a USB cable, but only ~30 cm away from my NUC. In #1514 there's a recommendation to try deCONZ 2.05.66. I'm waiting for the latest version to hit the APT repository. |
@thowi I think the specific Xiaomi problem was fixed in 2.05.65, if you update to latest version 2.05.66 it should work again. |
I'm on 2.05.65 now (previously .64) and it seems to work much better! |
I am still having this issue with my ConBee II (FW 264A0700) and the latest gateway version (2.05.69 / 6.9.2019). For testing purposes I have only paired one Xiaomi multisensor (round version, FW 20160516) with DeCONZ. It's visible in the UI and sends a few updates right after pairing. After a few hours the connection is lost and no more updates are sent, although the sensor is very close to the ConBee stick. After rebooting the DeCONZ host the sensor is greyed out in the web UI. I have already tried resetting the network and switching ZigBee channels, without any luck. |
I also have 1 Xiaomi Multi Sensor that loses updates after a while. My other 3 sensors all work fine though. So maybe that sensor is just somehow broken? |
No one have sensor that are "unreachable" but still working ? |
I just bought ConBee II with v264A0700. I am testing it on temp, motion and door sensor. All of them goes offline after reboot but temperature sensor goes back after a temp or humidity change and both motion sensor and door sensor stays offline until I single press their button... |
Btw, @manup, I can mail you my misbehaving square Xiaomi Multi Sensor if you want to try this out in our own lab. Cheers |
Hi! raspberry pi 1, Raspbian Buster Headless sd-card image, conbee2. It worked for weeks without any problems. I'm using ca. 40 xiaomi sensors and two hue- and innr lights. Now I reset the configuration, used another deconz-image, change the raspberry, usb cable, distance ... |
You can try to cheat, re-pair it but realy close to the hue light, and from my tests, let it at this place somes hours. During firsts hours after pairing Xiaomi sensors have stranges reactions, but after never change their parent. |
I have a bunch of the square xiaomi temperature on my network (Conbee I) and generally they work decently well. However, at seemingly random after a couple of weeks or month they drop off of the network and don't work anymore. (quite possible they are at the edge of the range and fail for a bunch of updates). In the past I have usually been able to simply re-pair them again. More recently though I seem to be having issues re-pairing them and they don't connect anymore at all, even when right next to the conbee. I use the phoscon app to add a new sensor and then hold down the sensor button until it starts blinking, but it never connects to network anymore. Connecting a new sensor still works fine. So it looks like either the sensor doesn't reset correctly and still has old broken state information in it, or deConz still has old wrong information about the sensor and doesn't let the sensor back onto the network. I have tried deleting it through phoscon, but that still didn't help. However in the past deleting a sensor clearly didn't delete all information out of the internal databases of deconz, so I am not sure if the relevant information is still in deconz. |
Did you double-check the sensor’s battery? |
@ebaauw I have replaced the battery and it shows as 100% in DECONZ - still the connection drops after a few minutes. |
same issue here.. just bought a conbee II, latest firmware, temp sensor + door sensor. |
I have the same issue with Conbee II (v2.50.71), temp sensor and door sensor. |
Recently my sensors are dying like flies. I didn't change anything in my setup. No wiring or positioning change. I have a mesh of 1 Conbee, 4 sockets, all on one floor and this used to work perfectly until recently. Is there anyway to provide (long term?) debug information to find out why these devices go offline? Conbee I. |
No, for Xiaomi CR2032-powered devices that means the battery has been depleted. See explanation in many other issues. |
Found this issue:
I didn't know that they already stop working properly below 100%. |
That will depend on many factors:
I replace the battery when the sensor starts acting strange and deCONZ reports < 100%. It would be cool to cross-check the measured voltage against the voltage reported in the Xiaomi special attribute report. I wouldn't be surprised to find differences between individual sensors of the same model here as well. You should be able to see the reported voltage in the deCONZ log, when running with
|
Thanks for the tips, Erik! I went through all sensors that went unavailable recently, measured the battery voltage, re-paired them, then checked battery percentage in Phoscon. Here's what I got:
Couple of strange things that I observed:
Thanks again for your reference point on battery (you replace once <100% in Phoscon). Sorry for my somewhat frustrated tone. Some of this is just not intuitive as a user and confusing. |
I'm having sensors drop out too. Then I repair and they work for a while (days) then they drop off again. It's super frustrating. Especially because I can't tell whether they need a new battery or not. |
I'd just like to point out that my dropping out issue was in fact range. |
Temp sensors usually update if the temperature changes at least 0.5°C, humidity 6%, or otherwise roughly every hour. Or if you push the button. BTW, I just dumped that one unreliable sensor. The other ones work pretty well. |
It seems this issue is inactive / resolved. If it is not, please re-open or create another issue! |
I made an interesting observation: when the Xiaomi sensor is meshed to some ZigBee devices like Osram wall plugs it loses it's connection from time to time. Now I forced it to mesh trough a Busch-Jaeger light switch and it's working perfectly ever since. So it might not just be the sensor, it might also be it's connection partner which may cause issues. So you might want to try pairing the sensor next to a reliable ZigBee device (mains powered) which is close to the sensor's designated location. As far as I know the sensor will always connect to the same ZigBee device which was used for pairing, which might be another reason why people have issues with it. |
Yeah, ditch osram, I also replaced with Ikea, much better |
I upgraded to 2.05.65 via the Hass.io addon and it's improved my Xiaomi sensors which were previously losing their connection entirely. Now it appears that they are not refreshing and the 2 that I have re-paired are showing as last refreshing 14 hours ago
The text was updated successfully, but these errors were encountered: