question

wolfgang-huse avatar image
wolfgang-huse asked

Scan BLE passive thermometers and send data through mqtt

Hello... at first, thanks to @gone-sailing for your MQTT-Driver https://github.com/freakent/dbus-mqtt-devices

I wanted to add some low-cost passive Bluetooth termometers but as i don´t have access to velib project to integrate this directly into the Bluetooh-Module i start to take a different approach.

I created a script that collects temperature/humidity from ThermoBeacon (ThermoPlus, Bifri, Oria) based on this project: https://github.com/rnlgreen/thermobeacon

Additionally you can add local RPi Temperature.

If someone wants to test my code, you find it here:

https://github.com/wolfganghuse/ble-mqtt

i plan to swap decoder-code with BLEParser https://github.com/Ernst79/bleparser to add support for more thermometers.

Bluetooth Low Energy - BLE
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
wolfgang-huse avatar image
wolfgang-huse answered ·

Hello... i found some issues doing an install into a fresh system. there are some issues regarding needed space and utilities... please wait with install until i provide a patch.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

wolfgang-huse avatar image
wolfgang-huse answered ·

ok, latest 0.3.2 is working... please be sure to run

/opt/victronenergy/swupdate-scripts/resize2fs.sh

before installing the script, the additional packages won´t fit on a stock partition.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic