homebridge-shelly
homebridge-shelly copied to clipboard
[Bug] DW2 sensor - characteristic was supplied illegal value
Hi,
After latest update of Shelly Door Windows sensor to v 1.11.1 I get this messages:
This messages I got, when first installed DW2 sensor without update. After updating It was OK, but then It was new update and it started to do it again.
If somebody look at it I will be happy :-)
I have the same problem what you describe here with my shelly H&T.
Yes It is probably because of latest update of FW.
You are certainly right, I hope that there will be an upgrade to the plugin soon.
The same here! H&T battery level shows „illegal value“ error. This value seems to be not transmitted correctly to Homebridge.
H&T Sensor running latest FW v1.11.1
Why is the battery level -1
? Are you using an external power supply?
No, it started to show this after latest update of FW. I use it same way as before. Something has to do it with newer firmware… EDIT: Asking now tech team of Shelly what they changed in latest FW, so you can fix it easily.
Why is the battery level
-1
? Are you using an external power supply?
Yes these three sensors using external usb power supply. Allterco announced some changes for the H&T regarding values published via CoIoT. I‘m not sure at the moment if these changes affecting the battery value, but I think that was one change as it was not possible to distinguish between battery and usb power via CoAP.
I just published version 0.18.1 that should remove these warnings. As for the battery level, it will probably be shown as 0% when using a usb power supply so I guess this can be improved further.
I just published version 0.18.1 that should remove these warnings. As for the battery level, it will probably be shown as 0% when using a usb power supply so I guess this can be improved further.
0.18.1 is showing 0% battery level when the device is configured for external usb power supply. May be it‘s possible to set it to 100% fix if the configuration is set to external power supply and at the same time transmitting value -1? That could cover this scenario.
I found another error message regarding illegal values for the ambient level of the Shelly Motion Sensor.
Is this related and also fixable?
I found another error message regarding illegal values for the ambient level of the Shelly Motion Sensor. Is this related and also fixable?
That’s exactly what I have with DW 2 sensor too.
I just published version 0.18.1 that should remove these warnings. As for the battery level, it will probably be shown as 0% when using a usb power supply so I guess this can be improved further.
My Shelly H&T works with external power and in HomeKit I still get the battery warning that it is empty at 0%.
My Shelly H&T works with external power and in HomeKit I still get the battery warning that it is empty at 0%.
That’s what Alex said, 0.18.1 is showing 0% battery level when device is usb powered and this needs further improvement.
@apartmedia @MrMysakovich That error was fixed in 0.18.1. Perhaps the illegal value is cached. What happens when your DW2 reports a different light level?
@apartmedia @MrMysakovich That error was fixed in 0.18.1. Perhaps the illegal value is cached. What happens when your DW2 reports a different light level?
I checked it again. Sorry for my mistake I forgot to update to latest version. After update everything is OK. So for me, bug is fixed. Thank you :-)
@apartmedia @danny1605 I've now released version 0.19.0 that sets the battery level to 100% when running on an external power supply.
@apartmedia @danny1605 I've now released version 0.19.0 that sets the battery level to 100% when running on an external power supply.
Thx
@apartmedia @danny1605 I've now released version 0.19.0 that sets the battery level to 100% when running on an external power supply.
Seems to work fine. Great job. Thanx.
Hi, I have vibration detection turned off, but still get motion sensor trigger in HomeKit. Can you fix it?
Or it is ok to show some time, that motion was detected that somebody opened door or window, this is OK, but when will disappear?
Same here
@MrMysakovich @andyblac If you update to 0.19.1 the motion sensor should no longer be triggered when vibration is disabled.
@alexryd yup, now no false motion, thanks.
@MrMysakovich @andyblac If you update to 0.19.1 the motion sensor should no longer be triggered when vibration is disabled.
Perfect! :-) Thank you
@apartmedia @danny1605 I've now released version 0.19.0 that sets the battery level to 100% when running on an external power supply.
Just one hint regarding your fix for reporting the battery level on external usb power for the H&T. Alterco just announced a Beta of FW v1.11.4. They have again changed the battery level reporting when powering via usb. The new FW reports 100% instead of -1. So I think your fix needs to be rolled back or needs some change again as they will stop reporting -1🥴. May be you can extend your logic to either show the reported percentage (the case for the new FW) or 100% when -1 is reported (to still handle the current stable version as 1.11.4 is still beta and will probably not being installed immediately by everyone). Annoying back and forth from Allterco with changing the behavior so often.
This is the post explaining the Update