devbis / ble2mqtt

Bluetooth to MQTT bridge, add your bluetooth-capable (including controllable) devices to your smart home
MIT License
125 stars 26 forks source link

ruuvitag: add support for RuuviTag devices #65

Closed QuintinHill closed 9 months ago

QuintinHill commented 9 months ago

Only the latest format is supported.

Tested locally: 2023-09-29 00:49:12 INFO: [Ruuvi_0C58_Sauna_Ruuvi] send state=SensorState(battery=100, temperature=23.89, humidity=59.49, pressure=None, movement_counter=148)

$ mosquitto_sub -t ble2mqtt/# online {"temperature": 23.89, "humidity": 59.49, "movement_counter": 148, "battery": 100, "linkquality": 97}

I have a RuuviTag Pro which doesn't support pressure readings so these aren't tested.

devbis commented 9 months ago

thank you for the contribution!