Connecting Victron to Home Assistant using MQTT

  Рет қаралды 13,101

Melon Monkey Garage

Melon Monkey Garage

7 ай бұрын

Hi Everyone, In this video, I show you how to locally connect your Victron device (such as the Cerbo GX) to home assistant using MQTT. This way you can control and monitor your Victron devices and use home assistant for automation and creating better dashboards.
touch victron.conf file:
connection victron
address 192.1CHANGE THIS
topic N/# in 0 victron/
topic R/# out 0 victron/
MQTT Topic (9:17):
victron/R/48e7da85ccd9/system/0/Serial
Code Github Page (12:10)
gist.github.com/KidA001/dc558...
Other Resources:
www.imval.tech/index.php/blog...

Пікірлер: 55
@JMX246
@JMX246 7 ай бұрын
well explained - new to both of these - thanks for posting ! (using it with VenusOS on the Victron side) - RPI3B and on the HA side - new RPI4-4gb
@sweetlifeadventure7
@sweetlifeadventure7 6 ай бұрын
Wow! Exceptionally clear and I am now convinced that I will be doing this. You got me from "wow that's a thing?" to "I'm doing this with my new build". I can see that the monitoring side will be great to have, PLEASE make a part 2 showing what we can do or control!
@Marstepan
@Marstepan 4 ай бұрын
check your venuos firmware release on your cerbo and if you have anything after 3.30 you please replace the payload for keepalive with: victron/R//keepalive
@benschaefer6858
@benschaefer6858 2 ай бұрын
Amazing video - it's so fulfilling to see my Victron data on HA. I struggled a bit and now I will never forget this mosquitto has 2 T'S! 🙂
@JMX246
@JMX246 7 ай бұрын
would be great if you could do a PART-II on how to integrate this into HA dashboards
@PatrickDanforth
@PatrickDanforth 3 ай бұрын
Thanks! Very helpful, it took me two tries but it is up and running now!
@juanpierredutoit4293
@juanpierredutoit4293 5 ай бұрын
Thanks so much, learnt a ton today! Thank so much for all the time you put into this!
@remimunteanu
@remimunteanu 5 ай бұрын
You can also add "topic W/# out 0 victron/" to the mqtt config file and it will alow you to change some settings also (write topics). Great video !
@bwebman
@bwebman Ай бұрын
Amazing, thank you! Now I can set up some automations to efficiently use any excess power I might have!
@Marstepan
@Marstepan 4 ай бұрын
topic W/# out 0 victron/ examples of controls please! ;) thank you for clear and 'end to end' approach! great work. looking forward for 'controls' part 2!
@DannyCsaszar
@DannyCsaszar 6 ай бұрын
thanks for posting this, got mine setup now. One thing that had this old man stumped is that the "!" is what I missed in your video at time 12:51. Once I added it then the mqtt started working
@Alex-jw9xx
@Alex-jw9xx 2 ай бұрын
really, really well explained, thank you so much!
@dougle03
@dougle03 2 ай бұрын
This really is a great video. However, This can also be done with the 'HACS' Add-on using the 'Victron GX modbusTCP integration'. It passes through all possible data and is far easier to install and configure.
@francoisdupreez9754
@francoisdupreez9754 18 күн бұрын
Great stuff, got mine working. Thanks for sharing!
@ruidias9622
@ruidias9622 4 ай бұрын
Thank you! Worked without issues!
@soucraven
@soucraven Ай бұрын
Excellent!!! This is fully superb job
@VincentArdolino
@VincentArdolino 3 ай бұрын
Wow, mind blown 🤯 This is an amazing crash course in MQTT and Victron and Home Assistant. I have all these systems living on islands because I’ve never had any luck with setting up the MQTT broker. This was a high speed crash course that delivers so much information into a highly compressed timeline. Great job.
@Nogodsnomasterz
@Nogodsnomasterz 6 ай бұрын
Great video! Really appreciate you taking the time.
@kellyjsanders86
@kellyjsanders86 5 ай бұрын
How much does the recent Victron implementation of FlashMQ (from Mosquitto) change your approach? thx
@timlucas4014
@timlucas4014 7 ай бұрын
Thanks for this but I had to add address 192.1CHANGE THIS :1883 ( the :1883 ) Also active: true folder: mosquitto and my HA IP address rather than core-mosquitto For any one else having problems
@melonmonkeygarage7735
@melonmonkeygarage7735 6 ай бұрын
Glad you got it to work.
@rodneyhrytsak3407
@rodneyhrytsak3407 5 ай бұрын
Hello! At 4:29 it does not bring me straight to that page. Where do you enter the samba credentials that were setup in samba share in home assistant?
@remimunteanu
@remimunteanu 5 ай бұрын
If you are runnig Venus OS 3.20 or later you can avoid message flood by publishing '{ "keepalive-options" : ["suppress-republish"] }' on 'victron/R/YOUR-SERIAL-NUMBER/keepalive' using a periodic timer, and to get all topics (like first connection) you can publish to the same 'keepalive' topic but with no message and it will query all topics. Hope this helps :)
@toukevable
@toukevable 22 күн бұрын
I'd like to be able to toggle my converter switch, is it possible ? Any explanation about it somwhere ?
@scottmurphy1146
@scottmurphy1146 6 ай бұрын
FANTASTIC I'm gonna build one Any thoughts on getting a Growatt AIO Inverter into Venus OS via RS485/CAN via Modbus/MQTT ? I'M looking WOW I found you Thank You !
@melonmonkeygarage7735
@melonmonkeygarage7735 5 ай бұрын
Hmmm, not sure. Its not something I am familiar with
2 ай бұрын
I managed to integrate Victron VRM into home assistant, but with a small problem: the data is only available when I connect with my VRM application on my phone. As soon as I am no longer connected via my application, the data is no longer updated in home assistant. How to fix this problem ?
@HaithamAbouBakr
@HaithamAbouBakr 6 ай бұрын
Hi thanks for posting this. i wonder whether you had a chance to have cerbo GX integrated with Fibaro HC3. let me know if you did this before
@melonmonkeygarage7735
@melonmonkeygarage7735 5 ай бұрын
Unfortunately, I have not.
@timtaylor8557
@timtaylor8557 Ай бұрын
So this won't work with just a Smartsolar MPPT controller?
@patrickruiz6764
@patrickruiz6764 3 ай бұрын
merci pour ce tuto que j'ai eu du mal a comprendre je me serre de duckdns pour acceder a hom-assistant je n'arrive pas !!!! peut tu m'aider merci
@Przedzik
@Przedzik 3 ай бұрын
great Video !!! I like to add more entities, start with one grid power I copy all exactly as loads just change values too much my mqtt but can't get them visible in the HA :( # AC Grid - state_topic: "victron/N/my id /system/0/Ac/Grid/L1/Power" name: "AC Grid" unique_id: "ac_grid" device_class: power value_template: '{{ value_json.value }}' unit_of_measurement: "W" icon: mdi:power-socket-uk am I missing some step?
@MOKPT3
@MOKPT3 6 ай бұрын
Thank you so much. I have 2 Cerbos. How can I get data from both?
@melonmonkeygarage7735
@melonmonkeygarage7735 6 ай бұрын
Hmmmm. I'm not entirely sure, I bet you would have to add both to the victron.conf file. But would probably have to use different variables for the topics (N and R). Then you would probably have to add another path to the keep Alive automation using the new variables for the second cerbo.
@didierv3069
@didierv3069 3 ай бұрын
Great job but I'm block at minute 11:15 when you connect Home Assistant Hurrican. I receved a disconnected server message. What's wrong? Thanks
@Wirelessinfopuntbe
@Wirelessinfopuntbe 3 ай бұрын
My to, I receved also a disconnected server message.
@marekmelena1913
@marekmelena1913 5 ай бұрын
Problem here.. I was successful. Up to automation. I see mqtt messages in mqtt eplorer - cerbo. But i dont see it in HA mqtt explorer. Any clue? Id is correct.
@marekmelena1913
@marekmelena1913 5 ай бұрын
fixed! i totally missed to change FALSE to TRUE in mosquitto broker.. :)
@toukevable
@toukevable 5 ай бұрын
Hi, thank you for your vid but I'm stuck at 4:29. I put credentials in samba share but I don't have home assistant poping in network (except my link to home assistant web browser) , what should I do ?
@juanpierredutoit4293
@juanpierredutoit4293 5 ай бұрын
Just pop in your homeassistant IP into explorer "If you are on Windows you use \\\, if you are on MacOS you use smb:// to connect to the shares." Thats where you enter the Samba creds you made.
@rodneyhrytsak3407
@rodneyhrytsak3407 5 ай бұрын
Same! Did you find a solution?
@toukevable
@toukevable 22 күн бұрын
@@rodneyhrytsak3407 sorry did not see your com. I actually managed to do it but I don't remember at all how since the time. Because I tried to access it today but did not work as it should.
@francoisdupreez9754
@francoisdupreez9754 18 күн бұрын
Open file explorer- when on 'This PC", there's 3 dots at the top, click 'add network location', then type homeassistent.
@ppi57
@ppi57 6 ай бұрын
On a Mac, I can't make a file with .conf as the suffix... it defaults to .rtf
@ppi57
@ppi57 6 ай бұрын
Ok, I rounded up an old laptop but when I click on Homeassistant under "Networks" it sends me right to the home assistant instance webpage... what am I missing?
@AdiMock
@AdiMock 6 ай бұрын
That‘s my problem too.
@melonmonkeygarage7735
@melonmonkeygarage7735 5 ай бұрын
sorry for the late response, it sounds like home assistant is only showing up under "other devices" on the network page in file explorer. It should be showing up under the "computer" section. On my laptop I couldn't get it to show up properly using samba share either, so I had to map network drive. Here is the resources I used. community.home-assistant.io/t/samba-share-not-accessible-through-windows-10/352134/2 I got it to work using the info posted by francis, and I entered the credentials set in the samba share addon. Hope this helps!
@thomasengel5387
@thomasengel5387 Ай бұрын
Victron has switched to "FlashMQ". Unfortunately, your instructions no longer work.
@amieXchen
@amieXchen Ай бұрын
Really?
@francoisdupreez9754
@francoisdupreez9754 18 күн бұрын
I'm new to HAand want to use it with my system, any pointers?
@digitalmarketersouravbd
@digitalmarketersouravbd 7 ай бұрын
Hey there, I watched your video and it's amazing. Your content is very great. But some problem is found in your channel, so your videos are not reaching the right audience. Due to this, the video is getting enough views. As a result, your watch time is not increasing. if you want I can talk about it.
@aaronsingmaster1936
@aaronsingmaster1936 6 ай бұрын
FYI 'touch.Victron.conf' is not the name of the file you want to create (of course, you can if you want). "touch" is a linux command that creates an empty file, thus "touch Victron.conf' creates a file, 'Victron.conf'.
@melonmonkeygarage7735
@melonmonkeygarage7735 5 ай бұрын
that makes more sense! ha
@ondrejcervik4724
@ondrejcervik4724 5 ай бұрын
Hello Please could you give me hint. I stuck on creating config file in shares. Can I do it in file editor? And how it should be named please?
MQTT and Home Assistant: An Abridged Version
10:55
ResinChem Tech
Рет қаралды 2,5 М.
Controlling a Fan with the Cerbo GX
7:35
EXPLORIST life Mobile Marine & Off-Grid Electrical
Рет қаралды 27 М.
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 56 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН
Get Started with the Home Assistant MQTT Integration
9:06
Joyce Lin
Рет қаралды 17 М.
"Hacking" my Victron MPPT to add ONE MISSING Function!
9:00
KPeyanski
Рет қаралды 17 М.
Automatic Bathroom Fan Controller Demo in Home Assistant
2:49
Home Assistant Tips By Larry
Рет қаралды 2,9 М.
MQTT 101: Integrate your DIY Devices into Home Assistant
28:06
ResinChem Tech
Рет қаралды 70 М.
What is a Server? (Deepdive)
17:51
LiveOverflow
Рет қаралды 171 М.
Custom VICTRON
15:19
Mispronounced Adventures
Рет қаралды 62 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 63 М.
Home Assistant 101: How to Integrate MQTT Devices
28:52
ResinChem Tech
Рет қаралды 28 М.
Running a NAS on Proxmox, Different Methods and What to Know
18:47
ElectronicsWizardry
Рет қаралды 29 М.
СКУЛЬПТУРЫ ИЗ МУСОРА (@tdeininger - Instagram)
0:19
В ТРЕНДЕ
Рет қаралды 1,9 МЛН
ToRung short film: 🐶puppy is hungry🥹
0:32
ToRung
Рет қаралды 30 МЛН
Советы на всё лето 4 @postworkllc
0:23
История одного вокалиста
Рет қаралды 4,6 МЛН
А вы бы как с ним поступили?
0:22
Почему?
Рет қаралды 2,8 МЛН