![Melon Monkey Garage](/img/default-banner.jpg)
- 7
- 39 832
Melon Monkey Garage
Приєднався 16 кві 2022
Connecting Victron to Home Assistant using MQTT
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/dc5584db340cf3ad513f9415b20ed5fa
Other Resources:
www.imval.tech/index.php/blog/victron-mqtt-server-bridging
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/dc5584db340cf3ad513f9415b20ed5fa
Other Resources:
www.imval.tech/index.php/blog/victron-mqtt-server-bridging
Переглядів: 12 991
Відео
Waterproof Temperature Sensor With ESPHome + Home Assistant!
Переглядів 14 тис.Рік тому
Hi Everyone, In this video, I show you how to build a waterproof temperature sensor that works with esp home and home assistant. I will be using this to monitor my aquarium temperature. If you enjoyed this video, please leave a like and hit that subscribe button!! Parts used in this video: Dallas Temperature Sensor: a.co/d/hosUkHQ 4.7K ohm Resistor: a.co/d/cF0jwr5 ESP8266: a.co/d/ahaX4eZ Projec...
Powering this Speaker with USB C! PD (Power Delivery)
Переглядів 117Рік тому
In this video, I show you how I made this old speaker run off USB-C Power Delivery. If you enjoyed this video and want to see more content like this, please hit that like button and subscribe! Products used in this video: USB-C PD Trigger Boards: a.co/d/gds8nTD a.co/d/eT1BeZz DC-DC Step-Up Converter: a.co/d/5qbNXVl USB-C Passthroughs: a.co/d/7NeZCkA a.co/d/bliI32R a.co/d/a5Cmdtm Short USB-C Cab...
New, Super Small Sonoff ZBMINI Extreme overview and comparison
Переглядів 2,7 тис.Рік тому
In this video, I compare the new Sonoff ZBMINI Extreme to the standard ZBMINI and the ZBMINI-L. If you enjoyed watching this video, or want to see more content like this, consider subscribing and clicking that like button! Link to buy: SONOFF ZBMINI Extreme: itead.cc/product/sonoff-zbminil2-extreme-zigbee-smart-switch-no-neutral-required/ SONOFF ZBMINI: a.co/d/0pv6CJr
Making WLED Projects Run off USB C! (Power Delivery)
Переглядів 1,2 тис.Рік тому
In this video, I show you how to make any WLED Projects run off of USB-C Power Delivery. I made a mistake, during my testing I had the brightness limiter on, at full brightness, a 8ft strip with 150 LEDs will pull 9.3 watts, not 2.7 watts. If you have a Power Delivery charger, you have 15 watts available at 5V 3A, if you are using a USB-A charger, that will vary. The fine print on the charger s...
Making Smarthome sensors last *almost* forever using AA Batteries
Переглядів 176Рік тому
In this video, I show you how to take almost any battery-powered Smart home Sensor and make it run off of AA batteries, including Rechargeables. Products used in this video: Battery Case (that I used): a.co/d/gRjhfAb Alternative Battery Case: a.co/d/aXKtg7n Switch bot: a.co/d/bnnFtx1 Ryobi Soldering Iron: a.co/d/33GO4nB EBL Lithium Rechargeable Batteries 4 Pack (with charger): a.co/d/5Wwn7hf EB...
Reviving a plastic chair with a BlowTorch!
Переглядів 9 тис.2 роки тому
Reviving a plastic chair with a BlowTorch!
Thanks for the great video. Is there a limit on how many sensors you can add?
Great stuff, got mine working. Thanks for sharing!
I'd like to be able to toggle my converter switch, is it possible ? Any explanation about it somwhere ?
Use Hacs 2024
Excellent!!! This is fully superb job
What if you have a very long probe cable? I have a 15m cable connected to a wifi temp sensor right now but want to change it to an ESP board to get faster reporting. Do I still need the resister if I have this length cable?? Thanks.
🔥
So this won't work with just a Smartsolar MPPT controller?
Amazing, thank you! Now I can set up some automations to efficiently use any excess power I might have!
Victron has switched to "FlashMQ". Unfortunately, your instructions no longer work.
Really?
I'm new to HAand want to use it with my system, any pointers?
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 ?
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.
really, really well explained, thank you so much!
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! 🙂
Thanks! Very helpful, it took me two tries but it is up and running now!
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.
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
My to, I receved also a disconnected server message.
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
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?
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!
Thank you! Worked without issues!
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?
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.
fixed! i totally missed to change FALSE to TRUE in mosquitto broker.. :)
Thanks so much, learnt a ton today! Thank so much for all the time you put into this!
How much does the recent Victron implementation of FlashMQ (from Mosquitto) change your approach? thx
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 !
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 :)
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 ?
Just pop in your homeassistant IP into explorer "If you are on Windows you use \\<IP_ADDRESS>\, if you are on MacOS you use smb://<IP_ADDRESS> to connect to the shares." Thats where you enter the Samba creds you made.
Same! Did you find a solution?
@@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.
Open file explorer- when on 'This PC", there's 3 dots at the top, click 'add network location', then type homeassistent.
First of all thank you! Your video helped show me how the resistor is soldered between the data and power wires. And I loved the box you used! Going to order one to help make it more presentable. Im using this for the same thing, except I’m monitoring 4x tanks per ESP board and using HomeAssistant to flick a Kasa outlet for my heaters. I’m going to share this with my fellow fish club members, so easy! :D
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 !
Hmmm, not sure. Its not something I am familiar with
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
Unfortunately, I have not.
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
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'.
that makes more sense! ha
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?
On a Mac, I can't make a file with .conf as the suffix... it defaults to .rtf
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?
That‘s my problem too.
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!
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!
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/<your victron vrmid>/keepalive
Thank you so much. I have 2 Cerbos. How can I get data from both?
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.
Great video! Really appreciate you taking the time.
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
Glad you got it to work.
Another difference worth mentioning. The ZBMINI-L2 Extreme is only a Zigbee end device and cannot act as a router. If you have a large home and use only these, you may get in trouble with wireless range. Add some ZBMINI with N wire to bridge the gap. They consume more power, but they are routers as well.
can you explain why it needs the resistor.... and how did you get to the point how strong the resistor needed to be
It says on the ESP website under Dallas Temp sensor. "The 1-Wire bus the sensors are connected to should have an external pullup resistor of about 4.7KΩ. For this, connect a resistor of about 4.7KΩ between 3.3V and the data pin. Values ± 1KΩ will, in most cases, work fine as well, if you don’t have massively long wires."
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.
would be great if you could do a PART-II on how to integrate this into HA dashboards
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
So much stuff out there. I happened upon your video and it got a whole lot easier. Thank you so much for taking the time to share your experience. Much appreciated!
I could not get this to work as the ESP board would not come online after entering the wifi credentials. I kept giving up but really wanted this to work. I finally figured out the issue which was not with the board or this tutorial, it was an issue with my router setup. There's some setting in there that wont allow the board to connect, I confirmed this by connecting to a different router, one i use as an access point which is on the same network. It connected straight away and the rest of the tutorial worked perfectly. So if you have that problem where the board doesn't come 'online' after the install, try looking at your router settings! Thanks guy, this is such a good ESP/home assistant project and a really cheap way to have many temperature sensors and then have those sensors trigger automations for whatever your trying to do. I now have my 4 aquariums monitored in home assistant with alerts to tell me if something is not right. That cost me under around $12usd for 2 boards, the jumpers and 4 sensors from Ali express. Just for fun I'm going to set one up with some LED lights on a solar controller with battery in my chicken coup so i can monitor the temp in there. Why? Because i can.
Does your router have 2.4ghz turned off? These esp8266 boards are not 5ghz capable. They will only connect via 2.4ghz.
Can you do a wire with zbminil2 extreme (or any of those) with 2 ways or 3 ways switch
awesome! i lost a bunch of fish due to a heater malfunction, or i unplugged it and didnt notice till it was too late. After playing with wled and esp, im looking for my next project, and this video happened to be recommended, perfect! Im looking to setup 4 of these for 4 tanks and my home assistant will send notifications if temp drops.
nice
Great video, thanks! I’m planning to use this to get a window a/c to run cooler. I need a temp probe for ambient, and one up against the cooling fins to ensure they’re not cold enough to be icing over- your example is perfect. Last piece is applying heat to the a/c’s temp probe when I want it on, do you have any ideas or pointers for that? I’ve seen people use a lightbulb but figure there’s a more elegant solution using a resistor, just never attempted something like that before.
Thank you for showing the size comparison to the mini!