1
0
Fork 0
mirror of https://github.com/Luzifer/lorabattery.git synced 2024-11-09 14:50:09 +00:00
Monitoring device for my cars battery with the ability to broadcast the voltage through TheThingsNetwork using LoRaWAN
Find a file
Knut Ahlers 0104ec36c7
Add documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-06-01 15:18:07 +02:00
docs Add documentation 2020-06-01 15:18:07 +02:00
src Add configuration 2020-05-31 01:57:50 +02:00
.gitignore Add configuration 2020-05-31 01:57:50 +02:00
LICENSE Add documentation 2020-06-01 15:18:07 +02:00
platformio.ini Add configuration 2020-05-31 01:57:50 +02:00
README.md Add documentation 2020-06-01 15:18:07 +02:00

Luzifer / lorabattery

LoRaBattery is a monitoring device for my cars battery without all the crap the existing solutions are bringing with them plus the ability to broadcast the battery voltage through TheThingsNetwork using LoRaWAN.

Story

Prior I was using a Chinese BM2 device which contains a Bluetooth Low-Energy chip to make the data available. Also it is constantly on to be connected to using a smartphone with the BM2-App. This approach has a few disadvantages: It consumes a lot of energy for the device being always on, the BLE connection doesn't give a damn about who is reading the data from the device (just everyone can connect to it and read the battery history and also the first connected device hogs the connection and anyone in the vicinity can block me out). Additionally BLE is a short-range communication protocol which means I'm unable to receive measurements when my car is in its parking space and there is no chance to get the data for example into an InfluxDB.

Therefore I decided I want a device under my control which can speak to my existing infrastructure and submit the data to my Home-Assistant and into my InfluxDB instance. As there are a few concrete walls between my car and my nearest WiFi access-point connecting though WiFi wasn't the solution so I searched for a transmission method more suitable for long-range communication and found LoRaWAN. The reason I chose to go though TheThingsNetwork instead of a direct connection is the possibility to receive data when I'm not near my own base-station.

Hardware

(* = Amazon Ref-Link)

Setup