ttu / ruuvitag-sensor

Python package for communicating with RuuviTag BLE Sensor and for decoding sensor data from broadcasted data
https://ttu.github.io/ruuvitag-sensor/
MIT License
195 stars 77 forks source link

Bug: incompatible with RuuviFW 1.2.8 #40

Closed ojousima closed 6 years ago

ojousima commented 6 years ago

The 1.2.8 update to Ruuvi Firmware trims extra NULLs at the end of transmission which breaks the data format type check. I can fix this and implement #29 .

ttu commented 6 years ago

Ok, that is great! I will label #29 as in progress.

ersiko commented 6 years ago

Hi Trying to help with my experience. I'm using ruuvitag-sensor v0.10.0 and after upgrading my Ruuvi Tag to RuuviFW 1.2.8, ruuvitag-sensor stopped working. The update function doesn't show any error, just returns an empty dict. I read the new FW changed the default URL mode to a RAW mode, more precise and less battery-consuming (I get two decimals with my cell phone). I moved back to URL mode (pressing B button once) and ruuvitag-sensor library worked again (but less precise, no decimals).

ttu commented 6 years ago

@ersiko Noticed that yesterday as I implemented BLE communication with Bleson. Although first though that it is just some difference how Bleson and hcidump processed the data.

You can try this version if you want to get RuuviFW 1.2.8 RAW mode to work. https://github.com/ttu/ruuvitag-sensor/issues/31#issuecomment-382550336