ESP8266 / D1Mini Garden Tractor Battery Monitor using ESPHome & Home Assistant.

Тәжірибелік нұсқаулар және стиль

Remote monitor of tractor battery voltage over time. Home Assistant integration provides notification when battery voltage drops below 12V. See @scrapmetalworks for more tractor mod videos.
------------------------------------Yaml file--------------------------
esphome:
name: tractor_monitor
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret ssid_name
password: !secret ssid_password
Optional manual IP
manual_ip:
static_ip: 192.168.1.45
gateway: 192.168.1.1
subnet: 255.255.255.0
Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Tractor Monitor Fallback Hotspot"
password: "o1KUAjIckEwO"
captive_portal:
Enable logging
logger:
Enable Home Assistant API
api:
ota:
sensor:
- platform: adc
pin: A0
name: "Tractor Battery Voltage"
update_interval: 30s
filters:
- multiply: 17.4
deep_sleep:
run_duration: 240s
sleep_duration: 120min

Пікірлер: 14

  • @raybright5805
    @raybright58052 жыл бұрын

    Be interesting to see how this is programmed to ESPHome then on to Home Assistant and especially how the visual log graphs are setup - Maybe you could consider a part 2 to this youtube. Nice work...

  • @mrblue2715
    @mrblue271511 ай бұрын

    Thank you for the yaml, just what I was looking for for watching a d1 mini with some 18650's and solar. Thanks again

  • @hiteshhere
    @hiteshhere3 жыл бұрын

    Could you please share what is the value of the Register you are using ? And with this setup how much DC voltage I can measure. By the way, Thanks much for this Awesome Video.

  • @M0nsieurPi

    @M0nsieurPi

    7 ай бұрын

    I was thinking about the same question. Probably 100k or something like that. I = U/R, I = 12V/100.000Ohm = 0,12mA This won't draw too much current. The tractor battery won't notice it much and the controller can still work with it.

  • @BACRULES
    @BACRULES3 жыл бұрын

    This looks like the thing I have been looking for. How far away can u be before you losing contact? Think of build one for my auto mower👀… do control a DC motor

  • @ScrapMetalWorks

    @ScrapMetalWorks

    3 жыл бұрын

    As far as your WiFi will reach and if it’s not far enough you could use a WiFi extender.

  • @juergenfoterek6743
    @juergenfoterek67433 жыл бұрын

    What is the Value of the Resistor. And how can you mesure Voltage with only one Resistor ? As I know you allways need two Resistors and building a Voltage Divider ..

  • @ScrapMetalWorks

    @ScrapMetalWorks

    3 жыл бұрын

    Correct! the other resistor is already integrated into the D1 Mini. I don't recall the value i used but you you need to figure it out for your D1 because those resistors are never accurate.

  • @bulldog3494
    @bulldog34943 жыл бұрын

    Can you share your ESPHome File?

  • @ScrapMetalWorks

    @ScrapMetalWorks

    3 жыл бұрын

    Yaml file added to the description.

  • @dannyjensen4954

    @dannyjensen4954

    3 жыл бұрын

    Thanks. Great video.

  • @SaschiIein
    @SaschiIein6 ай бұрын

    240p - really?

  • @hiteshhere
    @hiteshhere3 жыл бұрын

    Could you please share what is the value of the Register you are using ? And with this setup how much DC voltage I can measure. By the way, Thanks much for this Awesome Video.

  • @ScrapMetalWorks

    @ScrapMetalWorks

    3 жыл бұрын

    I don't recall the value but you need to calculate it based on the actual value of the existing resistor on your D1 Mini and what voltage range you need to measure. Of course there is also an offset to need to use for calibration in the code which in my case was "multiply: 17.4". Sorry this was not meant to be a how to build it.

Келесі