guidosch / bikecounter

This repository contains the hardware and software components of a PIR based tracking device to monitor the usage of local bike trails. The data is sent over LoRaWAN to TTN and from there to a Google Cloud backend which stores the data and provides api endpoints for the data visualization web UI.
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Add battery type to device payload to support different discharging curves #41

Closed guidosch closed 2 years ago

guidosch commented 2 years ago

I found some batteries at home which we could use as well but they may have a different discharging behavior. Lets send the battery type as well so we can implement several batteryLevel calculations in the payload formatter.

MeierTobias commented 2 years ago

The battery type is now a part of the hw-version index