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?
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?
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.
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.
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.
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.
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 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! :)
I have the ESP32 S3 mini board working if anyone needs the code. Also i was thinking maybe add a BME680 to monitor the temp and humidity of my enclosure on the wall.
@@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!
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.
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
This is working perfectly so far. You have my two hands recommendation!
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
Shouldn't this also work with the Victron Blue solar version, which is only missing Bluetooth capability?
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
Thanks for that info :)
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?
No, I'm not using a voltage divider
@@KPeyanski All good. I ended up using esphome-victron_ble on an ESP32. So far it seems to be working.
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
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?
Same problem here. 😞
Same here
same for me with a ESP32 board.
somebody ever found a fix?
same here since a few weeks. it worked okay for a couple of months
hi, same thing too, anyone have a solution please?
will this work with the Multiplus Inverter/charger?
It would be cool to show how to intergate it to the HA energy dashboard.
Agreed, great idea for a follow up video
Yes, I have to play with it first :)
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.
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.
Glad it helped! For the BMV I can suggest to ask the author of the code in GitHub ;)
Did you find out how to do it with BMV-712? Thx.
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.
yes, you can leave it wherever you want as long as it have a wifi coverage on the place you wanted to be
Is there a specific reason why you choose the esphome over Modbus TCP for reading and writing data which Victron provides OOTB?
I don’t know how to make such an integration yet. Can you please share some links to some working solutions
The output of the solar charge controllers are ascii over serial only. You need a Venus on pi or a Cerbo
Do you know what I can do with ve bus devices (e.g batteryprotect from victron). This device doesn't have ve direct interfaces
Out of curiosity - does this work wireless, or the data goes trough cable?
wireless thru WiFi
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.
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?
What the ESPHome logs are saying?
@@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! :)
Hello. What other board can I use? For example esp32 WiFi.
In theory any esp32 or esp8266 board should do!
I have the ESP32 S3 mini board working if anyone needs the code.
Also i was thinking maybe add a BME680 to monitor the temp and humidity of my enclosure on the wall.
Can i use ESP32 instead of 8266?. Great videos btw!
Of course, you can use both ESP32 & ESP8266. Also I'm so glad that you like my videos 😎
@@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!
@@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!
@@uwe.herting.37431 No i dont sorry, But im using a Victron 75/15 Controller.
Update - Been a good few weeks and working without hitch so far.
My victron mppt has no bluetooth, its needed for the process?
No I dont think so
Is it possible to add another victron device to the same D1 mini?
I don't know maybe you have to try and see
Does it also work with VE_Bus ?
No, as far as I know!
Ty!!
thank you too...
Can I use Arduino IDE?
Probably you can, but not with this code and project
YOU SHOULD STOP USING OLD CHIPS AND USE ESP32
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.
I'm having the same issue. What is that prototype shield thingy? I have a short cable with a JST connector soldered to my D1,