Victron/Fronius off-grid PV Energy Dashboard - MQTT and modbus integration

This is the data on my consumption that I have, first per day and secondly the real time consumption, which dimensions would you guys recommend?

I have a roof with 70m2 facing South East which is good in Sweden, but there will be some lost spaces due to chimneys etc.Processing: 1CBA9FCE-04C5-4346-88B3-C0203F59A894.png…

Yes the Multi RS can charge from AC. The big advantage of the RS over the MultiPlus is the fact that it works at higher frequency and therefore uses smaller core the weight is only 11 Kg compared to the 30 Kg of the MultiPlus and it isapparently much quieter! The only thing it is missing at the moment is the ESS capability but according to Victron this should come soon.

1 Like

VE.Can is usually used for connection to BMS. You can add a CAN interface to RPi and it works well. I did it sometime ago but opted for an out-of-the-box CCGX as my system is mission-critical and the RPi/CAN had its quirks like for instance having to re-install and re-configure the CAN interface after a Venus upgrade. After all I intend to use this for 20+ years so the extra cost of a CCGX is quite small over that period. I keep my RPi for prototypes.
Take a look at this page for info on the subject

1 Like

The Multi-RS are new, didn’t have them available 2 years ago when I set-up my system. From the documentation it appears it can use the PV output directly to the DC/AC converter without going through the batteries; that is dope as it saves you the Fronius-type inverters and may end up being more efficient. Well done.

1 Like

Your post just opened up a whole new world of opportunities. I checked out the EVE batteries and JK BMS and want to try them! The cost per kWh is much lower than with integrated batteries like Pylontech. Thanks for sharing.

1 Like

To size your system I’d recommend using solcast.com
Create a user, a rooftop site with your planned installation, and check-out the forecasted production. My experience over the past year+ is the they’re very accurate. This would give you the production potencial which you can then balance against your expected consumption.
I see from your screen capture you’re in Sweden right? About 40 years ago I had business with Vatenfall up in Stockholm. Nice memories :slight_smile:

1 Like

Great!

Getting them from AliExpress can be a bit of a jungle, but I got mine from the recommended vendors at this place:

I was afraid that I would struggle to get mine to work properly. I am a business lawyer and not good with technical things, but everything has worked great (after watching a ton of YT ;)). They are just very friendly to handle.

Ok so I read the documentation in more detail and the BUT is the RS Smart does not support parallel or 3 phase configuration, at least for the moment. So you’re limited to 6000VA max consumption which is fine with small off grid installations but not enough for a fully equipped house. Still this type of all-in-1 equipment is quite attractive if it fits your needs in terms of power capacity. Cheaper, less cabling and security devices, etc. Oh pity, I guess if I was to re-do my setup today I’d go the same Fronius-Victron route. No commercial interest here but the setup has 100% uptime since May 2019, worth the money.
What I would “possibly” change are the batteries. I’m looking hard into the EVE/JK setup as it talks to my geek DYI side and is quite cheaper per kWh capacity than the Pylontech. I still need to sort out the integration with Victron Venus and HA but I guess those are details.

Here is my current thought about my configuration.

First it is not simple to correctly size an installation but I have a big advantage over you as my installation will be connected to the grid. From what I understand, in theory, the total power that your inverters need to provide correspond to the maximum power of what you can draw at a certain time. However, as I said my installation will be connected to the grid and, in overload situation, the extra power can always come from it. So, my idea at the moment (will see what the architect thinks) is to go with a Muti RS 6000 VA and in parallel a Fronius Primo 3.6. During the day, when the sun provides the power, I can hope for about 8.6 kW and during the night for about 5 kW (6 kVA). So, based on this information I think I will install either 12 or 16 kWc of solar panels. This corresponds to 30 or 40 400 Wc panels. They will be organized in a series of 10 delivering a maximum voltage around 410 V with a current of 12A. One string will be handled by the Multi RS one string by the Fronius and the last two by a Victron MPPT RS 450/100. For the batteries I am thinking of using two sets of 16 EVE 304 AH cells with two JK-BMS 200A (should provide above 30 kW). For monitoring the inverters/charge controllers I will use a Cerbo GX and for monitoring the set of two batteries, I will be using a Victron SmartShunt 500A. The Multi RS and the MPPT RS will be communicating over a VE.Can bus and the SmartShunt over a VE. direct bus. The Cerbo and the Fronius will be connected over ethernet.

As you mentioned currently, there are a lot of limitations in the Multi RS firmware: No support for ESS, no support for parallel/3 phases, and apparently not all the information is returned correctly either through MQQT or Modbus. But apparently, they are working of fixing these problems and by the time I will buy the equipment I hope these problems will be fixed.

Below is a simplified diagram of my current thinking

1 Like

It’s an interesting setup combining several options. From what I understand you want to self-consume as much as possible and rely on the public grid just for grey or black days. Have you done a forecast of your consumption, both peak power, kW, and daily energy, kWh? My experience is that we underestimate real consumption and it is good to add some contingency. In parallel, you need to do a forecast of production on “normal” days. As mentioned above, I find solcast.com to be a very reliable source. Also in my experience, we tend to overestimate production so I’d take out some contingency too. Of course production will depend on your panel orientation and inclination and unless you have moving panels you need to decide what you privilege, winter, summer of in-between season production.
One thing about your setup is to check if it respects the Victron 1:0 rule as explained here AC-coupling and the Factor 1.0 rule [Victron Energy]
Because of your mixed setup I’d move this discussion to the Victron community to get advice there.
Another thing is that from the diagram it appears you are connecting the over voltage protectors to the common; I wouldn’t do that, I’d connect it directly to the earth/ground to avoid any spikes going through your system cabling but directly to ground.

1 Like

I’m sorry to monopolize this discussion with questions that get further and further away from the original topic but your experience is very useful.

For the moment I could not make a significant estimate of the consumption but this should be done by the technical office which studies the thermal, hydraulic and energy aspects of my future house. I can’t compare with my current house because the new house will be extremely different. The new house will be built in wood with a very strong insulation and will use a heating floor fed by a heat pump. I guess that during winter the main energy expenditure will be the heat pump and the various household appliances… From what I have seen, the annual consumption of a heat pump with a COP of 4 is estimated to about 50-60 kWh per m². As my house will be about 170 m², this represents an estimate of about 10 Mwh.

To get an estimate of power production I am using JRC Photovoltaic Geographical Information System (PVGIS) - European Commission site (integration in HA Forecast.Solar - Home Assistant). The solar panel will be facing South but unfortunately, they will be mounted on a roof with an angle of only 8° which is far from optimum during winter time. But overall, the loss of production due to this angle compare to the optimum is only estimated to about 4%. Here is the simulated performance for 16 KWc of panel with system lost of 14% an azimuth of 0 and an angle of 8°


The yearly production is equal to 16.3 MWh

In the solution I describe the Factor 1.0 rule is well respected as I only have 3.6 kW for the AC coupled PV inverter compared to the 6 kVA of the Multi inverter.

Actually, while talking about the inverter, I moved my solution from a MultiPlus II to a Multi RS mainly because I am concerned about the noise of the MultiPlus. Many people complain about the noise made by the MultiPlus (both ventilation and rumbling) some even report 70 dB!? In my case, the inverters will be located inside the house and all the comments I’ve seen on the Multi RS seem to indicate that it is very discreet. Are your three MultiPlus located in your house? and are they that noisy?

The drawback of using the Multi RS is that it is a new architecture compared to the MultiPlus/Qattro line that have a long history. It seems to use newer and potentially better technology but it is far from being mature and this explain why it has bug and still missing a lot of features…

Where in the Victron community would you move the discussion? I am not yet familiar with their forum.

I have updated my schematic above to take in account your advice (also added the batteries descriiption)

I can see that there is an integration for solcast.com in HA https://github.com/oziee/ha-solcast-solar

1 Like

No problem to use this thread/forum, glad if I can be of any help as I myself profited a lot form other user’s experiences. Now your post raises a number of questions/subjects.

First, the rule 1:0. My understanding of this rule (but that’s why I still recommend addressing the Victron user community directly - https://community.victronenergy.com/index.html) is that the Victron inverter/charger, in this case the Multi RS, needs to be able to absorb the extra power (current peak and eventually voltage peak) if, when the batteries are almost charged, the consumer loads being fed by the grid-tied-inverter, the Fronius, suddenly go from maximum to minimum such as for instance your heat pump which was on full power stops because target temperature was reached. The Victron senses that and increases the frequency on the output to “tell” the Fronius to stop producing but even if electronics are fast real-life is faster and the Fronius will still over produce for a small time during which the Victron needs to be able to absorb that extra load otherwise over-current and problem. Now, since you Multi RS has its own set of panels connected to it, it could be that its current load is already taken up by these leaving no overhead to absorb the overload from the Fronius. Maybe I got it all wrong and if that’s the case please excuse me but if I were you I’d just research this topic to be sure all is going to be ok. The 1:0 rule was there for the world of combined grid-tied inverters and inverter/charger like “traditional” set-ups. The Multi RS is new, so better safe than sorry…

Second, the noise. My Multipluses, all 3 of them, are installed in the technical room inside the house together with electrical, HVAC, domestic hot water, server, router and switches. There is some noise and the Multis are not the worst offenders but with the door closed barely audible. Just measured and Multis’ SPL is 58dB(A) whereas the server is 64 (it is a 1U with small fans, bad choice). After 1 year living in the house what I have learned is that the issue is not the noise but the heat. 3 inverter/chargers + 2 grid-tied inverters and the batteries do produce heat and whereas that is good in the winter it is not in the summer so I have a medium term plan to move the PV installation out to a shed by the still-to-be-constructed carport and get rid of the heat generation. Cabling is already in place as I figured I’d need something like that in the future when I laid out the cable runs.
But the real point is the Multi RS. I believe it is a very elegant solution as it combines everything under one roof but you may be right that it is still in its infancy. Nevertheless, Victron is a serious company and will not let you high and dry and you will be acquiring tomorrow’s tech rather than today’s. It’s all about choice and it’s good you have it.

Third you are absolutely right, it doesn’t make sense to talk about consumption without taking into account the type of construction. From what I understand your’s is planned to be energy efficient. Just for info, mine is located on the Spanish Mediterranean coast and is built to PassiveHaus standards and due to orientation, openings, and insulation it has zero need for heating energy in winter and requires about 10W/m2 of cooling power in summer plus about 1W/m2 dehumidification power in summer. The house is 360m2 floor so that means roughly short of 4kW cooling power on the hottest days. Of course this need varies during the day/months and the theoretical result for cooling energy requirements is in the order of 14kWh/m2 per year (from mid-May to early-September) which adds to about 5MWh/year. Comparatively the heating energy requirements is zero as said because of the orientation and building envelope characteristics. These numbers are normal when you follow PassivHaus standards and build in this area. Of course, if your winters are colder you’d need more heating but less cooling energy but one should balance the other. If you’re interested browse through Energy efficiency of the Passive House Standard: Expectations confirmed by measurements in practice [Passipedia EN]
As I guess you are in France and if you’re interested in a 3rd pair of eyes I can recommend a very competent architect that can advise you without being intrusive and respecting the relation you already have with your own architect. I did that myself and it was oh so useful! http://www.visionhabitats.fr

The best thing about PassivHaus standards (and mind you, it is not magic, some countries already have new construction standards which are close to PH but Spain definitely not) is not so much in the energy savings but above all the comfort. Constant temperature, equal throughout the house and through the year, no drafts, the first time you experience it you have a strange feeling of wellbeing difficult to explain. And then, when you go back to your old house that you thought was well insulated and had those good double-pane windows you notice how uncomfortable it was!

But I digressed here and the point is that you should be aiming for around 15kWh/m2 per year space heating energy requirement which in your case with 170m2 is less than 3MWh per year. Happy to discuss further if you’re interested.

Finally, a word on production. PVGIS is an absolute place to go for estimates and the numbers they give are a good starting point. The reality is that the sun insists on a 24h cycle and that’s where it gets complicated. Monthly or even weekly production figures are useful for PV power plants and a guideline for a private PV installation but they don’t take you from day to day. Below the daily forecast from the last 6 months


Yes, it goes all over the place and those troughs, black or grey days, that’s when the batteries and the generator are needed. Because of the panel orientation (full south, 35 degrees to horizontal) the highest daily energy production is expectedly in April, with winter months quite good, when the sun shines. And this is the Spanish coast where people will tell you there’s always sun and never rain! Trust me, climate perception is just that, perception and if you want to be self-sufficient and still cook that canard à l’orange in your oven in winter you either a) will thank the public grid or b) will need many more batteries than you’re planning.
Seriously, when I was planning for my installation about 4 years go I used climate records for the area going back all the way 25 years and statistically, there are never more than 3 black days in this area. As you’ll see from the graph, this winter we had a full 2 weeks where production was so low that the generator had to come on almost every day. And it doesn’t help to just add batteries because there’s no sun to charge them either or you have to add panels etc.

So my humble advice is:

  • Do your research as well as you can, and you’re definitely already doing it, and come up with your baseline scenario,
  • Increase your baseline consumption by 20 to 30% and decrease baseline production by another 20 to 30% and see what it means - how does your installation cope with that? Those are first-level buffers to dampen short term unexpected variations, which will happen for sure,
  • Create a design where you have already planned for extension - technical room space, roof size or ground panel structures, batteries and battery chargers, cabling or at least cable runs,
  • Decide on your design, get it up and running, kill any bugs and live with it for at least 1 year. Collect all data including statistical cost savings so you know the ROI of your installation,
  • After 1 year, compare plan and results, and decide whether you’re happy, or if you need an upgrade,
  • Carefully balance simplicity/cost/innovation. Not in your case but if you’re going to rely on your installation being up to have lights, open the door, hot water for the shower, basic stuff, you don’t want to cut corners or be at the cusp of newness.

I would like to give you some background information. Normally I don’t really need to do all this research about the photovoltaic system because I have a design office that is supposed to calculate and determine the different technical installations for me. But, because of my scientific background, I am interested in studying in detail certain fields, in particular everything that touches electricity and home automation. Even if my proposals will have to be validated, it allows me to orientate the objectives because the solutions proposed by the architects are often standards based on big brands which offer little flexibility of evolution and interconnection. That’s why I make sure that the solutions I select can be easily integrated into the Home Assistant that will be the heart of my home automation system.

As you have noticed the construction project will take place in France in the Paris region. Since January 1st of this year the building norms in France have evolved and become stricter concerning the ecological aspect and in particular for everything that concerns insulation, heating, and refrigeration. So, my house will have to respect a certain number of rules which do not go as far as the PassivHaus certification but which are close to it at least on the thermal level. I don’t have the possibility of reaching this level of certification because my house will be built in a city on a small lot that doesn’t allow much flexibility in the orientation of the house and the openings. In the main room of my house, there will be a closed fireplace with heat recovery that will be redistributed by the closed-circuit ventilation system of the house which should minimize the electrical consumption of the heat pump. I should have in a month or two a precise estimate of the energy expenses necessary for the heating and cooling of the house because these data are essential to respect the new standards in France and therefore will be calculated by the design office. This should allow me to calculate more precisely the photovoltaic needs.

In view of a number of installations described on the internet, I had initially assumed to have a photovoltaic power of 8 kWp (20 panels). And this is probably what I will install in the first instance but with the ability to easily expand it to 12 or 18 kWp (40 panels) …

Now to return to the technical point about the Factor 1.0 rule you explain very well the justification of this rule but what I retain in the end is that: “The maximum PV power must be equal to or less than the VA power rating of the inverter / charger”. In my case the PV power of the Fronius is 3.6 kW and thus largely lower than the 6000 VA of the Victron Multi RS. The Multi RS is what is commonly called a hybrid inverter but in practice it is simply the integration of a MPPT charge controller (MPPT RS 450/100) to a conventional inverter. So, this structure is equivalent to that of a MultiPlus inverter coupled in DC to an MPPT and therefore it should not change anything to the rule of the factor 1.0. In fact the coupling of the Multi RS to a Fronius is described in section 4.13 of the manual and refers to the 1:1 rule.

One of the major problems for me currently is that the Multi RS does not handle ESS and therefore I do not think it is yet possible to use the zero feed-in of the Fronius. See what Guy Stewart (community manager) says about ESS here Multi RS Solar Hybrid - Self Consumption Optimization - Victron Community . I will try the demo of the Multi RS in VictronConnect 2.70.

It is good to know that the MultiPlus is not that noisy as this gives me an alternative.

Again, thank you very much for all your advice. I hope this can be helpful to others who are trying to define their PV system.

1 Like

I would like to come back to the 1.0 factor story. I could not understand why the power of the Victron inverter had to be at least equal to that of the Fronius inverter? So I asked the question on the Victron community and the answer is obvious! When the Fronius delivers its maximum power to a load and if that load is stopped suddenly, the energy delivered by the Fronius must be absorbed somewhere before the regulation takes place. The only place where this can happen is into the battery through the Victron inverter, and therefore the inverter must obviously support a power level equal to or greater than that of the Fronius.
By the way, in your case your 2 Fronius have a power of 16.4 kW and your 3 Victron only 15 kW so they are slightly undersized. :slight_smile:

1 Like

I am not really familiar with the Victron community either, but would 100% recommend diysolarforum.com. Internet at its best! Amazing knowledgeable people. I could build my off grid system in the cabin despite being a real noob and having no engineering education (I am a partner at a law firm lol).

The Victron forum can be a bit ‘you should consult with your local electrician’ (which of course should be done, but perhaps not necessarily during the planning phase).

I have the MultiPlus II in my cabin, it makes no noise when the load is on the lower side, say Max 1000 watts, but when you go higher than that it starts to make a noticeable humming sound.

It’s definitely an issue that can be “built away”. I got an indoor pool in my year round house and the pool pump of course makes a lot more noise, but with proper isolation the sound barely escape the room it’s stored in.

BTW, I am 100% sold on the combined AC/DC coupled system you proposed above. Think 5kw DC coupled + 5kw AC coupled fits my need perfectly.

This is my kWh consumption:

And my kw load:

The one thing that has be wondering a bit is that with a Fronius 5.0-3 + MultiPlus II 48/5,000 or RS 6000 I wouldn’t be able to provide any 3 phase AC power. That means that the stove and a bigger stone oven I have would have to be run by the grid.

I also don’t have an electric/PHEV car yet, but is looking to change the GLS for an EQS SUV when that is released. These electric cars are charged with 3 phase right?

What do you guys think, is it better to plan for 3 phase right away? Perhaps get like 3 MultiPlus 48/3000?

I have tried countless ways to add these elements to my sensor.yaml file, but in every case they seem to require a platform. When I use “energy” they don’t show up, and I can’t find another that works (e.g. “template” has different naming conventions). Any input would be much appreciated!

Hello there, missed your comment on 3-phase so late re-comment. Personally I run large oven and appliances on 1-phase as the max current remains well under max permissible load of 63A for the internal wiring. This will depend on local regulations and the specific wiring sizes of your installation. I went 1-phase instead of 3 for simplicity but with hindsight it is, in my case, a 50/50 decision. The added complexity of 3-phase pays out when you run large asynchronous motors such as swimming pool pump (mine is 3HP or ~2200Watt) as it is easier to speed-control them and they are more efficient in 3-phase. As for EV charging I know nothing so will not comment.

Difficult to comment as you’re not giving lots of information.
From your image (note, better use the “preformated text” of the editor which you can do with the </> formatting as I have done below) it appears your grid_to_house sensor is the result of a calculation. If that is the case, you need to use the template integration. Assuming you are declaring this sensor in the configuration.yml file then:

template:
  - sensor:
      - name: Grid to House
        unique_id: grid_to_house
        unit_of_measurement: 'W'
        state_class: measurement
        device_class: power
        state: [write here the template]

Can you try this and report back on whether you get the sensor to show-up? Then we can go the next step.

Hi Isgv. You have a very nice installation. I have couple of question to it:

  1. You wrote in original post that you want to compare the kWh price of your system with on-grid prices. Did you make it already? What kWh price you are getting now, assuming typical lifetimes for batteries, solar panels, generator fuel etc?

  2. Did you make thinking what would reduce this price per kWh even further? What optimizations could be done - more solar, less batteries, less solar, more batteries?

  3. You are using MQTT to connect to HA. Is it possible only via Viktron Gateway CCGX? Are you able to control power flow from HA in order, for example, limit charging from the generator, when you expect sunny day tomorrow?