doudz / zigate

python lib for zigate
MIT License
46 stars 22 forks source link

lumi.vibration.aq1: struct.error: unpack requires a bytes object of length 8 #85

Closed pheuzoune closed 5 years ago

pheuzoune commented 5 years ago

Hi,

Python exception happen when tilting the vibration sensor.

Here is the extract of zigate.json : lumi.vibration.aq1_zigate.json.txt

And the debug log (I touched it, waited a bit then tilted it) : lumi.vibration.aq1_debug.log

doudz commented 5 years ago

https://github.com/fairecasoimeme/ZiGate/issues/134

doudz commented 5 years ago

Fixed in dev branch (workaround)

pheuzoune commented 5 years ago

Confirmed.

No more stacktrace and values seems correct. I'll close this one and we'll have to wait for a fix in the firmware for definitive fix.

Thanks again !