Тёмный

"Hacking" my Victron MPPT to add ONE MISSING Function! 

KPeyanski
Подписаться 28 тыс.
Просмотров 18 тыс.
50% 1

Join me in Revolut - peyanski.com/revolut/
D1 Mini ESP8266 (Amazon) - amzn.to/3zaMZe3
D1 Mini ESP8266 - s.click.aliexpress.com/e/_AFgAIp
Victron MPPT SmartSolar 100 | 20 (Amazon) - amzn.to/400AFbU
Hey guys, in this video, I'm gonna show you how to add any Victron device with a VE.Direct port to your Home Assistant. I'll connect one cheap ESP board to the VE.Direct port of the #Victron MPPT and flash that ESP board with #ESPHome, so that #HomeAssistant will be able to communicate with the board.
I'll share all the tips and tricks, including the actual wiring and the code you need to paste. Plus, I'll show you how to use the ESPHome Dashboard to upload the ESPHome Software to the D1 mini or any other ESP board using a simple Micro USB cable.
To make this project work, you'll need a few things, including a Victron Device with VE.Direct port, an ESP board like the D1 Mini, a Micro USB cable, and a few wires.
By the end of the video, you'll be able to see all of the important sensors inside your Home Assistant and even add them to your Home Assistant Dashboard. So, if you're ready to learn something new and take control of your Victron device with Home Assistant, let's get started!
► MY ARTICLE ABOUT THAT TOPIC - peyanski.com/add-victron-mppt...
► MY HOME ASSISTANT INSTALLATION METHODS FREE WEBINAR - automatelike.pro/webinar
► DOWNLOAD MY FREE SMART HOME GLOSSARY - automatelike.pro/glossary
► AFFILIATE LINKS FROM THE VIDEO
Victron MPPT SmartSolar 100 | 20 (Amazon) - amzn.to/400AFbU
Victron MPPT BlueSolar 75 | 15 (Amazon) - amzn.to/40kgPbu
Victron Phoenix Inverter 3000VA (Amazon) - amzn.to/3JTSljR
EDECOA 1500W 2500W pure sine wave power inverter (AliExpress) - s.click.aliexpress.com/e/_DCx...
D1 Mini ESP8266 - s.click.aliexpress.com/e/_AFgAIp
D1 Mini ESP8266 (Amazon) - amzn.to/3zaMZe3
Jumper / Dupont wires (AliExpress) - s.click.aliexpress.com/e/_A3YiR3
Jumper / Dupont wires (Amazon) - amzn.to/3LWiLD8
Micro USB cable (AliExpress) - s.click.aliexpress.com/e/_AnrsGw
Micro USB cable (Amazon) - amzn.to/32tdxdF
JST PH2.0 Connector for the VE.Direct (AliExpress) - s.click.aliexpress.com/e/_DEk...
JST PH2.0 Connector for the VE.Direct (Amazon) - amzn.to/40wtQPy
► OTHER AFFILIATE LINKS
Shelly Store - bit.ly/3BwMMn2
SwitchBot Flash Deals - switchbot.vip/3BwF221
Reolink Flash Deals - shrsl.com/301ih
Aqara Amazon Store - amzn.to/3EpeCSb
Tech that I’m using right now - www.amazon.com/shop/kpeyanski
Get $100 in credit over 60 days for DigitalOcean - m.do.co/c/6dd2caef1f1f
Register for Kajabi from here app.kajabi.com/r/NetydFAg and I will share half of my commission with you (15%)
► CRYPTO AFFILIATE LINKS
Sign up for Crypto.com and we both get $25 USD (Referral code: xn86atnceg) - crypto.com/app/xn86atnceg
Deposit more than $50 in Binance and receive 100 USDT cashback voucher - www.binance.com/en/activity/r...
Binance - One of the biggest Crypto currency exchange - www.binance.com/en/register?r...
► SUPPORT MY WORK
Paypal - www.paypal.me/kpeyanski
Patreon - / kpeyanski
Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
Revolut - revolut.me/kiriltk3x
Join this channel to get access to perks:
/ @kpeyanski
► TIME TABLE
00:00 Intro
00:17 What is the goal of today’s project?
01:15 What will I use to integrate Victron MPPT in Home Assistant?
03:26 Wiring the D1 mini to the Victron VE.Direct port
04:05 Installation of the ESPHome on the D1 mini with the Victron MPPT ESPHome integration
06:57 Adding the Victron MPPT Sensors in Home Assistant
07:55 How to add the Victron MPPT sensors to the Home Assistant Dashboard?
08:05 Comparison between VictronConnect App and Home Assistant readings
► VICTRONMPPT-ESPHOME (Jiri’s GitHub)
github.com/KinDR007/VictronMP...
► MY ESPHOME CODE FOR THE VICTRON MPPT
gist.github.com/peyanski/423c...
✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
► DISCLAIMER
Some of the links above are affiliate links. If you click on these links and purchase an item I will earn a small commission with no additional cost for you. Of course, you don’t have to do so in case you don’t want to support my work!

Хобби

Опубликовано:

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@Andre98765
@Andre98765 Год назад
many thanks for this tutorial, I just set this up with my ioBroker (using esphome adapter). it saves me from using a raspberry pi in my garden house
@mariousai
@mariousai 3 месяца назад
ohhh I love this! I'll try as soon as possible. at the moment I just integrated my Victron Smart Shunt by bluetooth, using BatMon
@KPeyanski
@KPeyanski 3 месяца назад
This is working perfectly so far. You have my two hands recommendation!
@dincasilviu3987
@dincasilviu3987 Год назад
Hello. I’m from Romania and I have a home assistant system for monitoring the devices in the house. the photovoltaic system consisting of 4 mppt epever tracer 4210 and rj45 wi-fi modules. how could I integrate those mppts in ha? they are connected to the internal network and I have their ip. they work with epever pair cloud. I greet you.
@Andre98765
@Andre98765 Год назад
Do you know what I can do with ve bus devices (e.g batteryprotect from victron). This device doesn't have ve direct interfaces
@paulsharp1712
@paulsharp1712 9 месяцев назад
Hello does D1 communicate the data via mini usb or wifi network? Also can you connect multiple Victron devices? I have BMV-720 and 2x MPPT
@MrRoboto2338
@MrRoboto2338 Месяц назад
Shouldn't this also work with the Victron Blue solar version, which is only missing Bluetooth capability?
@kconatymd
@kconatymd 5 месяцев назад
will this work with the Multiplus Inverter/charger?
@subthousandoaks
@subthousandoaks 7 месяцев назад
Ty!!
@KPeyanski
@KPeyanski 7 месяцев назад
thank you too...
@richardmrozinsky3323
@richardmrozinsky3323 8 месяцев назад
Thanks for the tutorial! I had to change the UART id, but other than that all is working well. I'd like to set this up with the BMV-712. It would appear I need to add the various BMV-712 sensors into the yaml file. I'm not sure of the details yet, but if anyone else has instructions on how to do this it would be appreciated. Thanks again.
@KPeyanski
@KPeyanski 8 месяцев назад
Glad it helped! For the BMV I can suggest to ask the author of the code in GitHub ;)
@skm7812
@skm7812 4 месяца назад
Did you find out how to do it with BMV-712? Thx.
@NtotheO91
@NtotheO91 Год назад
Is there a specific reason why you choose the esphome over Modbus TCP for reading and writing data which Victron provides OOTB?
@KPeyanski
@KPeyanski Год назад
I don’t know how to make such an integration yet. Can you please share some links to some working solutions
@thebobcotton
@thebobcotton Год назад
The output of the solar charge controllers are ascii over serial only. You need a Venus on pi or a Cerbo
@Francois_Dupont
@Francois_Dupont 7 месяцев назад
in the picture you show connecting the WeMos to a computer using USB. is is possible to then run the WeMos board stand-alone after it is flashed? for example my victron is very far away from my HomeAssistant server.
@KPeyanski
@KPeyanski 7 месяцев назад
yes, you can leave it wherever you want as long as it have a wifi coverage on the place you wanted to be
@jackofmosttrades.masterofsome
As usual a fantastic tutorial. Well done! This is the first time I have used ESPhome. I have a boat and just installed a victron charger on board. So this is perfect for me. However, my D1 mini will not connect to the wifi.... I had a spare D1 mini, so I tested it on my house installation of home assistant and that one wouldnt connect to wifi either (completely different router, Rpi etc)... I googled for solutions, tried them all and still no luck....... :( Any ideas?
@KPeyanski
@KPeyanski Год назад
What the ESPHome logs are saying?
@jackofmosttrades.masterofsome
@@KPeyanski I found this issue. The old incorrect wifi password trick! I changed it in the secrets and it still didnt work, which is where my frustration began and when I messaged you. It turns out that if you change the secrets info, you have to reflash esp. Or at least that is what worked in my case. I now have remote access to my battery charger on my boat! I used a different victron yaml to suit my model of charger, but it worked perfectly in the end. Thanks for the idea! :)
@rolandkowalke
@rolandkowalke Год назад
Hi Kiril - I built the tool with the D1 mini pro and flashed it with your source code. Pin D7 connected to pin 3 and GND to PIN 1 of the MPPT. But my log just says: [W][victron:093]: Last transmission too long ago Can you tell me what's wrong?
@jorgjungheinrich8572
@jorgjungheinrich8572 11 месяцев назад
Same problem here. 😞
@mr2web
@mr2web 10 месяцев назад
Same here
@Francois_Dupont
@Francois_Dupont 7 месяцев назад
same for me with a ESP32 board. somebody ever found a fix?
@DivinaFarms_James
@DivinaFarms_James 20 дней назад
Did you add a voltage divider or logic level converter between the ESP and the Victron device? Or was it measuring 3v3 between Tx & Ground on your solar charger?
@KPeyanski
@KPeyanski 15 дней назад
No, I'm not using a voltage divider
@DivinaFarms_James
@DivinaFarms_James 15 дней назад
@@KPeyanski All good. I ended up using esphome-victron_ble on an ESP32. So far it seems to be working.
@STRANAIF
@STRANAIF 3 месяца назад
Note that for the 75 volt model, the VE.Direct port is upside down. The pins from left to right then become 4 3 2 1 or 5V TX RX GND
@KPeyanski
@KPeyanski 3 месяца назад
Thanks for that info :)
@kpredkiewicz
@kpredkiewicz Год назад
Out of curiosity - does this work wireless, or the data goes trough cable?
@Francois_Dupont
@Francois_Dupont 7 месяцев назад
wireless thru WiFi
@emphantom9122
@emphantom9122 8 месяцев назад
Hello. What other board can I use? For example esp32 WiFi.
@KPeyanski
@KPeyanski 8 месяцев назад
In theory any esp32 or esp8266 board should do!
@shaynewarren
@shaynewarren Год назад
Is it possible to add another victron device to the same D1 mini?
@KPeyanski
@KPeyanski Год назад
I don't know maybe you have to try and see
@fibranijevidra
@fibranijevidra Год назад
It would be cool to show how to intergate it to the HA energy dashboard.
@FCTruter
@FCTruter Год назад
Agreed, great idea for a follow up video
@KPeyanski
@KPeyanski Год назад
Yes, I have to play with it first :)
@uwe.herting.37431
@uwe.herting.37431 Год назад
A Zigbee plug - or in this case a Wifi plug - which measures power would be the easiest for the 230V consumption. For charging some input might be used. So there is a in/out from the battery which shows up in the HA energy dashboard.
@holgerwinkelmann6219
@holgerwinkelmann6219 Год назад
Does it also work with VE_Bus ?
@KPeyanski
@KPeyanski Год назад
No, as far as I know!
@Baje36
@Baje36 Год назад
Can i use ESP32 instead of 8266?. Great videos btw!
@KPeyanski
@KPeyanski Год назад
Of course, you can use both ESP32 & ESP8266. Also I'm so glad that you like my videos 😎
@Baje36
@Baje36 Год назад
@@KPeyanski Finally got back to this. You have the wires labelled wrong in your video. Pins 1,3 When it should be 2,4. Great video otherwise! Thanks!
@uwe.herting.37431
@uwe.herting.37431 Год назад
@@Baje36 In the git repository pin 1/3 are mentioned, too. From where did you get it that it is rather pin 2/4 and which Victron device are you using? In the PDF about the MPPT chargers by Victron there is a jumper between pin 2/3 (the two centre pins) to be seen. Do you know the purpose of the jumper by chance? Thanks in advance!
@Baje36
@Baje36 Год назад
@@uwe.herting.37431 No i dont sorry, But im using a Victron 75/15 Controller.
@Baje36
@Baje36 Год назад
Update - Been a good few weeks and working without hitch so far.
@sureaa
@sureaa Год назад
Can I use Arduino IDE?
@KPeyanski
@KPeyanski Год назад
Probably you can, but not with this code and project
@SayWhaaaaaaaaaaaaaaaaaaaaaaat
@SayWhaaaaaaaaaaaaaaaaaaaaaaat 4 часа назад
YOU SHOULD STOP USING OLD CHIPS AND USE ESP32
@LoganFan
@LoganFan 5 месяцев назад
Hi my Friend. Good instructions, but its not working for me! Always in Log: - [15:10:00][W][victron:093]: Last transmission too long ago - No Data is coming!!! ESP is online, Script is like yours and cables are OK! Does anyone have an idea! THX all Its A Victron 75/15 Update! Everything works perfectly! I checked everything again and discovered that there was a short circuit on the prototype shield that my ESP is plugged into.
Далее
NOOOOO 😂😂😂
00:15
Просмотров 6 млн
Five HACS for Home Assistant - Home Automation Ideas
8:12
Connecting Victron to Home Assistant using MQTT
17:38
На сколько опасна рыба меч?
0:40