Luzifer / lorabattery

Monitoring device for my cars battery with the ability to broadcast the voltage through TheThingsNetwork using LoRaWAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Monitoring device for my cars battery with the ability to broadcast the voltage through TheThingsNetwork using LoRaWAN

License:Apache License 2.0


Languages

Language:C++ 100.0%