Micro Inverter shows in Victron VRM. Shelly Switch Integration to Home Assistant and Victron.
Ғылым және технология
And this is one of the final steps of our Solar Tilt System project which uses a 4-port Micro Inverter to feed in the power through an AC connection back to the Multiplus and back into the battery shelf. This works for quite a while now but the Victron System never showed the right numbers as it does not know where the additional energy is coming from. In this workshop, I will show you how to integrate any AC-Inverter into Venus OS from Victron and make it visible as a PV-Inverter in the VRM.
Withe the help of a Shelly Plus 1PM or Shelly 1PM smart switch, the integration is very easy and just with a few steps, we can see the micro inverter of the solar tilt system in the Victron VRM.
Unfortunately, I'm not getting support to fix the issues so if anyone else is willing to help and modify the script so it works correctly, I would appreciate your message.
Martin's KZread Channel: / @halmand01
Martin's Github site: github.com/vikt0rm/dbus-shell...
Also more info here: community.victronenergy.com/q...
Root access in Venus OS:
www.victronenergy.com/live/cc...
Shelly Plus 1PM and Shelly 1PM Wifi-operated Smart Switches to power monitor your inverters and loads:
off-grid-garage.com/accessories/
4-port 2.2kW Micro Inverter (works flawlessly with Victron and frequency shifting):
off-grid-garage.com/solar-cha...
Venus OS on a Rasperi Pi:
• All your Victron Gear ...
GuiMod for Venus OS Workshop:
• Stuck with old Venus O...
Please subscribe and join me on my journey of the Off-Grid Garage!
For more information, please check out my website with links to all the batteries, materials, devices and products I have used in my videos: off-grid-garage.com
The 'Buy me a Beer🍻'-link is here (on the website, scroll all the way down):
off-grid-garage.com Thank you for your support!
You can also click on the Thanks button under the video to support the channel. Thank you, if you have already!
T-Shirts, caps, mugs and more in our merch-shop:
off-grid-garage.com/merch
**** These are the batteries you are looking for ****
🔋➡EVE LF280/304 LiFePO4 cells 3.2V/280+304Ah: off-grid-garage.com/batteries/
🌞➡Solar charge Controllers, Inverters and accessories: off-grid-garage.com/solar-cha...
🔧➡Tools, Analysers and Testers: off-grid-garage.com/equipment/
📈➡ Battery Tests and Results: off-grid-garage.com/battery-d...
🔌➡Batteries, charger and accessories: off-grid-garage.com/batteries-3/
⚡➡Cables, Inverters and Electronics: off-grid-garage.com/electronics/
The Sunfunkit DIY battery. Great product to build your own 12V battery. Use OGGA at checkout to get 6% off. More info here: off-grid-garage.com/diy-kits/
Video review: • The Sun Fun Kit Experi...
Best prices for Victron gear in Australia: Auto Parts Co has you covered.
www.autopartsco.com.au/?pd_pr...
(they have 4WD parts and accessories too)
Take a live sneak peek at the Off-Grid-Garage in the Victron VRM World (link at top of the page):
off-grid-garage.com/victron-c...
Here is my Tesla referral link, if you want to buy any Tesla accessories or even order a vehicle. This is a great way to support my channel. Thanks a lot to everyone who have used it so far 🙏 www.tesla.com/en_au/referral/...
My other (German) KZread channels:
/ offgridgarageaustralia
Please don't leave any links in your reply. KZread will not publish your comment in this case.
If you decide to sent me an email, I really appreciate your time and effort for doing this. However, please consider leaving a comment under my videos instead as I may not be able to reply to your email due to the sheer amount of messages I'm receiving.
Пікірлер: 141
I have a total of 20 Shelly products installed in my house. I am super happy that there are such good and affordable devices. Who is looking for Smarhome devices should definitely have Shelly in mind.
@OffGridGarageAustralia
10 ай бұрын
I recently bought a whole lot of Sonoff Mini switches connecting to my Zigbee network. I'm running out of IP addresses on my router, so Zigbees are my preferred devices now.
Super vidéo 😀😀. J'attends avec impatience l'intégration de victron VRM dans home assistant 😁😁😁
Nice to see others who have the skills and time to contribute to better educate the community. Cheers from Michigan, USA
@OffGridGarageAustralia
10 ай бұрын
Thanks 👍
Yay, another video! As always, thanks Andy 👍👍
@OffGridGarageAustralia
10 ай бұрын
Thanks, Dave!
Thanks Andy, nice integration 👍Looking forward to the home assistant integration
Very interesting stuff. Thanks to all the OGG community. 👍
@OffGridGarageAustralia
10 ай бұрын
Yes, great people making great things work.
Thanks Andy and the work that you do. 😊
@OffGridGarageAustralia
10 ай бұрын
Thank you.
Hervorragend, diese Infos habe ich gesucht und wie immer sehr verständlich erklärt, thank you
I think, that there is a further bug: AC Loads does not show correctly. The Venus OS does not add the PV Inverter production to the loads. If PV is 500W and the inverter is adding further 50W, it should show 550W on the AC Loads...but it only shows 50W. Thank you for this Video and thanks you all Developers of those integrations!
@OffGridGarageAustralia
10 ай бұрын
Yes, if the AC-In is set to Generator, it won't be added. I've set the option to Grid now and it works. Martin thinks, the script may only work with ESS and grid connected systems. He hasn't got to time to further look into it, so I'm looking for another solution...😐
@Raphael_Hofmann
10 ай бұрын
You could work with a ET112 and RS485 to USB-converter, that nativly integrates into Venus OS (EM24 DIN or EM540 or EM530 [current clamps] for more than 1 Phase). @@OffGridGarageAustralia
@jcgcs
2 ай бұрын
Is there a solution already?
I love your channel. very good job. A perfect BMS remains a bottle neck. greetings from Belgium.
Great video
@OffGridGarageAustralia
10 ай бұрын
Thanks!
That sky is pretty much what I've had all of July and August in northern Ireland
@OffGridGarageAustralia
10 ай бұрын
Oh, wow... 😑
Heya, nice that you can see now all your pv in and all loads in 1 screan nice
Du bist der Hammer Andreas ❤️🤩
@OffGridGarageAustralia
10 ай бұрын
Thank you, Klaus.
I like the part where you call yourself a lazy bastard. 😂 Thanks for the video. Interesting.
@OffGridGarageAustralia
10 ай бұрын
I am sometimes and have to call myself out! 😉
That sky is my typical English sky ...
@OffGridGarageAustralia
10 ай бұрын
Oh, wow...you need a lot of solar.
@KevIsOffGrid
10 ай бұрын
@@OffGridGarageAustralia and a battery to last a week ;) but I make it work.
@OffGridGarageAustralia
10 ай бұрын
@@KevIsOffGrid I can see your beard is getting longer and longer 🧔♂😉
@551moley
10 ай бұрын
I was thinking the same, that's "Cornish Sunshine"
Greetings from Austria ;)
@1:34 ohhhh I GOT TO get me one of them!
@OffGridGarageAustralia
10 ай бұрын
My son got me this years ago 😂
Weather report Andy, 55 volts yesterday morning. Stop sending the clouds 😂. ⛅️ this morning. MQTT Andy once learnt that it was not that hard.
@OffGridGarageAustralia
10 ай бұрын
I just haven't got time to learn it so waiting for someone to send me a script.
Note that ssh should be native in modern Windows OS (so no need for Putty). Also, vim is the editor of Linux 😅 Finally, you may want to set a static DHCP address for your Shelly as it could change otherwise making your script look for the wrong address.
@pau1phi11ips
10 ай бұрын
vim isn't installed in Venos OS
@davidpenfold
10 ай бұрын
@@pau1phi11ips ok, good old vi then 😆
@OffGridGarageAustralia
10 ай бұрын
@pau1phi11ips, I assume this is you: github.com/pau1phi11ips/dbus-venus-mqqt-pvinverter I've tried your script as well on my Cerbo but with the same result: generator shows negative figures and Total Solar is not combined. If I set Grid as AC-In, it still shows negative numbers for AC-In but at least the Total Solar is correct now (MPPTs plus PV Inverter) Are you able to help and troubleshoot? Happy to colab and get something done. My email is under the About tab on YT. Martin is not keen to investigate further as the script works for him and his ESS 🤷♂️
@brettjtodd
10 ай бұрын
@@OffGridGarageAustralia In the Cerbo remote console, what do you have the recently added Shelly device set to within Setup > Position? Likewise for other devices?
@jcgcs
2 ай бұрын
Still no solution?😢
Super! Thank you and Martin! Very useful! And please please publish Igor’s solution when it’s ready. I am pretty sure you already have MQTT servers, might be even couple of them :) But that’s another topic (currently my system is down as we moved to our new home so can’t check it and write instructions how to use it), maybe will do it when system will be back and running. I do not have Shelly but a lot of Sonoff’s as well as bit hacked circuit breakers with power metering options (as Shelly one isn’t dirty cheap). Any way, thanks once again from sunny NZ and keep your amazing work! Hope one day will be able to bring you some beer in person ;) Thanks Andy!
@OffGridGarageAustralia
10 ай бұрын
Thank you and yes, I will post the other solution once it works. I don't have any MQTT servers running. At least not that I'm aware of.
😎
Hey Andy - I recognise the background music you used. Is music by Australian composer Sven Libaek (well, born in Norway, but lives & works in Oz). Nice choice. He's written so much music for Australian movies & TV series.
Don’t forget to make the Shelly IP address fixed in your network. Otherwise it’s IP address can/will change when the network restarts.
@OffGridGarageAustralia
10 ай бұрын
Yes, it has a static IP like most of my gear.
💙👊😎
Hey Andy. These micro inverter series was really intresting, how to set up the victrons and so forth. Im thinking these would come in handy for spare panels and for example for vertical fits on the walls of the garage or something like that. Thanks for videos, cheers.
Very nice, congrats. I understand the reason for the shelly but to know the production of the micro inverter you should use Solarman integration it will give much more information that the one you get from shelly. Since you are using Hassio you can install one more shelly in the pump and only have it running when the microinverter can fully power it.
@OffGridGarageAustralia
10 ай бұрын
The solarman integration gives me only data every 5 minutes, while the Shelly provides live data.
@CantFindInYoutube
10 ай бұрын
Andy solarman integration updates de data every minute, it will talk direct with the microinverter, has long you can connect to the microinverter thru wifi I'm sure it will work. Hassio - HACS - Integrations - search Solarman Integration - restart - settings - integrations - open solarman - put the data of your microinverter, mine gave me 55 parameters. Let me know if you need help.@@OffGridGarageAustralia
Like# 120
My best guess of why there’s fronius logo, because script is emulating Fronius in AC coupling
@OffGridGarageAustralia
10 ай бұрын
It's gone now. I also had the Fronius inverter setup in Victron and it grabbed the logo. All fixed.
Just to add that the shelly plus 1pm works with grid tied PV inverters too. I simply had to reverse the Live and output "O" wires, with the switch always "ON". The Shelly then operates in reverse, but still provides a positive (solar generation) reading.
@OffGridGarageAustralia
10 ай бұрын
And it does not show a negative AC-in or negative Generator figure any more?
@georgebajan5691
10 ай бұрын
With the Shelly still linked to the Shelly Cloud only , it shows positive (up to 3.5KW) when generating and positive (
@georgebajan5691
10 ай бұрын
@@OffGridGarageAustralia Thanks for the reply. Just to confirm that I have connected the Shelly Plus 1PM to the Shelly Cloud only so far. It indicates positive power when generating - in my case up to 3.5 KW - and positive power when idle,
@georgebajan5691
10 ай бұрын
I've followed the "Martin" integration process and it works perfectly! PV generation readings show up as positive.
@OffGridGarageAustralia
10 ай бұрын
@@georgebajan5691I have tested the script on my Cerbo and downgraded and upgraded the system again and both ways the integrations seems to keep working. I think there was some info on the github page which explained the mechanic they implemented in their script to ensure that. That does not mean it wont break with a future update though. And thanks for the kind words and feedback in your last comment.
Hi! It is ok but much easy and natural with ET112! Keep going!
Andy, 1. You can use the "Victron GX modbusTCP" to get all VRM data to the Home Assistant, control Multiplus, dynamically control EV charging, based on available PV production / battery SoC, etc. 2. Multiplus losses are 30%, when charging from AC and then inverting from the battery. Huge loss of the tilting benefits 😞 (3). Shelly 1pm is not robust for such wattage. Shelly EM, with the 2x A clamps is much better with no inline connections to the inverter/consumption.
@OffGridGarageAustralia
9 ай бұрын
Thanks you. I think I have used that as an HACS integration already. It works well. The power of the tilt system will mainly go directly into the pool pump, the house pressure pump and the SPAT fridge. Some small excess will go back to the garage. I have seen a video where someone calculated all the losses of the MP and charging efficiency was actually surprisingly good with around 80-85% The Shelly runs a treat since installation, no problems so far. It's only 7A which is going through it, less than half of what it is rated for.
@dimitrisp3214
9 ай бұрын
@@OffGridGarageAustralia Trivial losses for direct use and 4x MPPTs, good job. You can add the "vebus acin1toinverter" and "vebus invertertoacout" entities at the Energy Dashboard and check the MP losses when using AC charging + inverter. For DC charging + inverter the 80-85% seems correct. 7A for 1pm is ok for just measuring energy. Using the internal relay for 7A loads on-off can be too high, depending on loads. Actually its not measuring energy, like grid meters / inverters, just gets a power measurement every second, so some % inaccuracy, depending on variations, not so important.
🐸🐸🐸
I'm running a Plus1PM in a similiar configuration for testing purposes and just recently found the reporting into the vrm not working anymore after turning the Shelly off and on again. Had to ssh into venusOS and restart the dbus-service for the given Shelly (no need to reboot!). This is with static IP set both in the shelly and directly in the switch that manages the whole network. In case you encounter a similiar problem...
@OffGridGarageAustralia
10 ай бұрын
Hmm, strange. I have turned off my Shelly a few times so far but it always came back in the VRM after turning it back on. I also have a static IP for the Shelly. Do you use the same script?
@KingWarin
10 ай бұрын
@@OffGridGarageAustralia same GitHub repo, yes, but maybe not the same version as my installation is already some months old, I'll check if I can update. Also i'm pretty sure that everything worked fine some months ago, maybe it was just a hickup
Hi Andy, doesn't the Shelly have the Outbound Websocket support? In that case you don't need anything, just point it to Venus OS and it will popup as a meter you can configure for PV Inverter. No MQTT , no root, and no other difficulties required
@OffGridGarageAustralia
10 ай бұрын
I have no idea how this would work. Quick Google search, it seems to be the Gen2 of the Shelly switch which has that. But still needs some sort of script in Venus OS? Happy to test a simpler solution if there is one.
I don't see a link to Martin's github web site.
@OffGridGarageAustralia
10 ай бұрын
Just added it. Of course I forgot... github.com/vikt0rm/dbus-shelly-1pm-pvinverter
Is it possible to use another instance of shelly 1PM attached to Old Good Xijia 3kW Inverter to show them as AC LOAD on VRM? It would be a super option for ppl like me, which doesn't have Victron Multiplus Inverters (yet ;)) Great video Andy
@OffGridGarageAustralia
10 ай бұрын
Well, you don't need the Multiplus to show the Shelly in VRM. It also works in my SPAT Calibration Centre for testing purposes. But yes, there is a thread on the Victron Community forum where people have modified the script so it shows a load instead of a PV Inverter. Search for the word 'load': community.victronenergy.com/questions/127339/shelly-1pm-as-pv-inverter-in-venusos.html
I needed to change the position of the integration. It is in the file dbus-shelly-1pm-pvinverter.py in line 52. A zero means it is on the AC Input side and position 1 is for connected to output 1 of the multi. I think this will fix the problem with the AC Input Box.
@OffGridGarageAustralia
10 ай бұрын
Well, the position is correct though. Mine is at the output of the Multiplus.
hi Andy, have you solved that negative reading bug with Martin? Thank you
My friend had micro inverters at his house with panels. Problem: they produce a lot of RF interference, being a Amateur Radio operator, the interference disappears with no sun, he got rid of them and went with a single MPPT charger. He can now communicate during the daytime. Some manufactures are not following RF radiation compliance rules.
@OffGridGarageAustralia
10 ай бұрын
I cannot use MPPTs in this location as it is too far away from the battery. AC-coupled solar is the only solution. I don't know anything about RF interference. Should the manufacturer take care of such a problem?
While Naming it Pool-Solar, I just thought: Why not building a new roof for the Pool out of solar pannels? 😎
@OffGridGarageAustralia
10 ай бұрын
Yeah, why not just building a new roof over the pool. How????????????
HELP. Please. My cheap epever charge controler burned out . I'm looking for a victron replacement 100 / 50. Would be perfect . Looking for a used one . I can't afford new
Hi quick question can the multiplus be used as a gridtie inverter with a ct clamp
@OffGridGarageAustralia
10 ай бұрын
Yes, absolutely.
Andy how is it that your shelly pv shows up in the remote console and vrm? on my pi4b it doesn't (os 3.21/guimods)
it seems that Martin has changed his integration scrips and they work only with the shelly 1pm - not with the plus version anymore. any idea, how i get my plus 1pm functioning? thanks!
@humpi8096
21 күн бұрын
Same issue here ....
Can you tell me what version of Shelley firmware you are using ? version 1.0.8 does not work.
Need a wind turbine 😂
@OffGridGarageAustralia
10 ай бұрын
Dooooh!
This is indeed nice feature..too bad you can't use it for DC only..that would be awesome..
@OffGridGarageAustralia
10 ай бұрын
The Shelly 1 can be used for 48V applications up to 16A.
@SylwerDragon
10 ай бұрын
@@OffGridGarageAustralia Nice but for DC 48V system i would need up to 100A current.. If there was that option then for sure that would be perfect for most systems that don't come with option to connect to Victron systems.
@OffGridGarageAustralia
10 ай бұрын
@@SylwerDragon Yeah, that's a Victron Smart Shunt as the cheapest option then in this case.
@SylwerDragon
10 ай бұрын
@@OffGridGarageAustralia now Andy question is ..Can it be set as Power Generator instead of only smart shunt ? Will it show as lets say new extra unit ..and if you will put two shunts will it say Power Generator 1 and 2 for example ? That might be worth to test it.
Hello Andy, I have microinverter sd3 appysistem, whit a et 112 meter I see production in gx.
@OffGridGarageAustralia
10 ай бұрын
Yes, I have the ET 112 as well but the installation location of the micro inverter is too far away from the garage where my Victron is. I know they have a Zigbee adapter...
Grüße nach Australien aus Germany ;D eine Frage habe an meiner Batterie einen PV inverter (Lumentree600) den ich auch wie Du per Shelly im VRM nur anzeigen lassen will ohne dass er als weiterer PV Ertrag mit eingerechnet wird. Kann man das deaktivieren? Habe 3 Victron Laderegler die ja im VRM dokumentiert werden und den Inverter will ich da ja nicht mit drin haben. *grübel* kann man den separat dokumentieren lassen?
@OffGridGarageAustralia
10 ай бұрын
I have tried the same with my grid connected Fronius inverter from the house solar. It shows in Victron but will be added to the Total Solar even it is a standalone system and not feeding into the battery. I just wanted it to show the actual power production, same like you. The only 'solution' I found is setting the AC-Input to Generator (Settings - System Setup). Then, it shows the inverter in VRM without adding it to the Total Solar. BUT, it also shows this power then as a Generator power in the statistic. So, no, this is not possible, at least not with this script.
@NERD2k1
10 ай бұрын
@@OffGridGarageAustralia ok so the generator is displayed and the PV inverter at the same time? You can not set that the generator is only displayed? I wouldn't care about the name if you knew it was my Lumentree. I have a 1PM Plus here, but I'm afraid of destroying my statistics for the last few months, I think I'd better leave it alone ;D Thanks again and many sunny spring days.
Hey Andy, I have a Shelly 3EM which means I have 3 phases. When configuring the .ini file, should I add a second and 3rd line to read L2 and L3???
@OffGridGarageAustralia
Ай бұрын
You have to try and see if it works. I could not alter the ini file without losing all the data being transmitted. So, mine shows L1, L2 and L3 even I'm using only L1.
@EbanQHanna
Ай бұрын
@@OffGridGarageAustralia aaaaahhhhhh okay... thanks for that prompt response... So without further "to do" I'll try this out...
Dose Andy have an eg4 powerpro 280ah heated battery to show us?
@OffGridGarageAustralia
10 ай бұрын
Nope, neither EG4 nor a battery with a heater 🤷♂️
does this require the shelly to have a static ip-address? in most cases, the ip-address is given by the dhcp server (or in most cases your internet router) - so the ip of the shelly might change after the next reboot ...
@OffGridGarageAustralia
10 ай бұрын
If the router restarts, it may hand out a different IP address to the Shelly and the script would stop working. So, yes, highly recommended to setup a static IP for the Shelly or do a IP address reservation in your router.
@herwigg3327
10 ай бұрын
@@OffGridGarageAustralia so there is still room for improvememt ...
@OffGridGarageAustralia
10 ай бұрын
@@herwigg3327 I think the static IP is a must for such devices or something may stop working at some stage and it's hard to troubleshoot. I personally keep a list of all devices and MAC addresses on my network and if the IP is either static, router reserved or dynamic. It helps a lot to identify and resolve issues quickly.
Shelly introduced a 4PM after release of this package. Anyone got it to work?
does some one knows if for Shelly pro 3em is the same?
Hi Andy. Any ideea why i'm not getting that icon in the vrm portal ? Also no icon in the remote console. I can see just the consuption graphic. Thanks. Have a great day. Maybe because i'm using a non victron inverter ?
@OffGridGarageAustralia
10 ай бұрын
I'm using a none Victron inverter as well. The script works with the Shelly not the inverter so should just work. 1. Do you see the Shelly in the Device List in VRM? 2. what Venus OS version and device are you using? 3. rebooted the device after installing the script? 4. have you used the exact same script I have shown in the video?
@dabo5068
10 ай бұрын
1. Yes 2. I'm using 3.10 venus os on raspi 2. 3. Yes 4. Yes. I am able to see al the information in remote console in device list but no icon. If you agree i can sent some print screens via email to you. Just for an opinion. I don't want to bother you.
@OffGridGarageAustralia
10 ай бұрын
@@dabo5068Sure send them. You're almost there. Maybe we can trouble shoot it this way.
I thought this is monitoring the tilt system? Why name it pool solar?
@SolAce-nw2hf
10 ай бұрын
The inverter is at the pool and powering the AC pool pump system from what I understand.
@OffGridGarageAustralia
10 ай бұрын
Yes, correct. It is the tilt system. I should rename it. As we also have the Pool Fence Solar and it gets too confusing.
Moin, For some reason I installed the wrong code. It was for the Shelly 1. But I have the Shelly 1 Plus installed. Now I have 2 programs running and it does not work. So my question is... How can I remove it all so I can start over with the right one? Anyone? Thankx
@robfre70
9 ай бұрын
Problem Solved
Since it is a single phase script I would not dbus init the phases not in use. Then they won't show up as L2 and L3 with 0 value. It takes unnecessary space in the console.
@OffGridGarageAustralia
10 ай бұрын
How do I fix it?
What?
@OffGridGarageAustralia
10 ай бұрын
Yes!
Could you help me with my battery parameters please?
@OffGridGarageAustralia
10 ай бұрын
Sure, what's up?
@sasoozvatic
10 ай бұрын
@@OffGridGarageAustraliathank you, i cant set parameters right, where can i sent you my screenshoot of my parameters?
@sasoozvatic
10 ай бұрын
@@OffGridGarageAustraliai have 51,2v battery what ovp alarm, ovp protect, ovp release, full charge voltage and ovp cell release should i set?
@OffGridGarageAustralia
10 ай бұрын
@@sasoozvatic is that 16s battery Lifepo4 or Li-ion?
@sasoozvatic
10 ай бұрын
@@OffGridGarageAustralia16 cells lifepo4
Auf nichts verstanden Deutsch wäre besser.
@OffGridGarageAustralia
10 ай бұрын
It's an English channel though. Watch Martin's video, it's in German.