No video

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

  Рет қаралды 8,927

Scrap Metal Works

Scrap Metal Works

Күн бұрын

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
@raybright5805 3 жыл бұрын
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
@mrblue2715 Жыл бұрын
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
@hiteshhere 3 жыл бұрын
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 9 ай бұрын
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
@BACRULES 3 жыл бұрын
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
@juergenfoterek6743 3 жыл бұрын
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.
@SaschiIein
@SaschiIein 8 ай бұрын
240p - really?
@bulldog3494
@bulldog3494 3 жыл бұрын
Can you share your ESPHome File?
@ScrapMetalWorks
@ScrapMetalWorks 3 жыл бұрын
Yaml file added to the description.
@dannyjensen4954
@dannyjensen4954 3 жыл бұрын
Thanks. Great video.
@hiteshhere
@hiteshhere 3 жыл бұрын
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.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Рет қаралды 178 М.
Monitoring Voltage with ESPHome, D1 Mini ADC, and Home Assistant
23:07
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 31 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 83 МЛН
SOLVING the Mystery Behind a Soviet Spy Bug : A True Masterpiece of Technical Elegance!
31:37
Monitor a Car Battery Remotely using ESP8266
6:35
MrDIY
Рет қаралды 39 М.
Build your own CT Clamp Power and Energy Monitor with ESPHome
9:34
Speak to the Geek
Рет қаралды 71 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 560 М.
Monitoring Smart Home Device Battery Levels with Home Assistant
6:55
Horrific LED tester that can literally kill you - (with scary schematic)
15:48
DIY Whole Home Power Monitoring with ESPHome & Home Assistant
30:39
digiblur DIY
Рет қаралды 253 М.