Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
mrdiyca
Published © GPL3+

Monitor Your Car Battery: Code & Setup

This is how I monitor my car battery remotely over Wifi using this DIY device costing only couple of dollars.

IntermediateFull instructions provided3,913
Monitor Your Car Battery: Code & Setup

Things used in this project

Hardware components

Espressif Wemos D1 Mini
×1
Wemos D1 Mini Power Shield
×1
Resistors
×1

Story

Read more

Code

Home Assistant code

C/C++
- platform: mqtt
   unique_id: car-elantra-battery
   state_topic: "tele/carbattery/SENSOR"
   name: car_elantra_battery
   unit_of_measurement: "v"
   value_template: "{{ (value_json.ANALOG.Range | float / 100 | round(2) )}}"
   qos: 2

Credits

mrdiyca

mrdiyca

3 projects • 1 follower

Comments