Comments (14)
As I have only one inverter I have never tried to setup this integration for two inverters so I cannot say for sure how it will behave or exactly how you should do it.. I also seem to remember reading in Fronius docs that with multiple inverters one is "master"? So that you query only one of the inverters but with different device_id for each of them.
If you use "scope: System" that should give you the totals for your system, for the limited number of sensors that are supported in that mode.
You should then also be able to configure two more integrations with "scope: Device" where one has "device_id: X" and the other "device_id: Y". You should also give them unique names with "name: inverter1" etc.
Try that and let us know how it worked out :)
from sensor.fronius.
Interresting, you put some ideas in my mind...
sensor:
- platform: fronius_inverter
ip_address: 192.168.1.60
name: Fronius60
powerflow: True
power_units: kW - platform: fronius_inverter
ip_address: 192.168.1.58
name: Fronius58
powerflow: True
power_units: kW - platform: fronius_inverter
ip_address: 192.168.1.60
name: FroniusSystem
powerflow: True
power_units: kW
scope: System
Now I have all the info I need, even more... basically, the entities under the scope: System have the same values as the name: Fronius60... to have global info, I will have to add the values of the two inverters, but that's fine....
Thanks for the idea...
from sensor.fronius.
You're welcome :)
I do think that your system should/could be configured so that the two inverters are connected together in Solar.web. Then you will have only one PoC that you can query for the three integrations, and the System one will give you the totals of the whole system.
from sensor.fronius.
I totally agree with you, and the two inverters are connected together in Solar.web... and I would like to have the right info without having to sum it up, but I don't know how to do it... as soon as I use scope: System, I only have the same value as one of the inverter... any better idea about a different syntax, maybe?
from sensor.fronius.
Ok, if both are connected together you should see the system summary for the ac_power, daily_energy, year_energy and total_energy sensors and not the same as for a single inverter. At least that is how Fronius describes the API and how this integration handles the response.
Can you post the output from this request?
http:///solar_api/v1/GetInverterRealtimeData.cgi?Scope=System
from sensor.fronius.
I tried to access the API on both inverters.. and values are different...
http://192.168.1.xx/solar_api/v1/GetInverterRealtimeData.cgi?Scope=System
{
"Body" : {
"Data" : {
"DAY_ENERGY" : {
"Unit" : "Wh",
"Values" : {
"1" : 6436
}
},
"PAC" : {
"Unit" : "W",
"Values" : {
"1" : 120
}
},
"TOTAL_ENERGY" : {
"Unit" : "Wh",
"Values" : {
"1" : 3646781
}
},
"YEAR_ENERGY" : {
"Unit" : "Wh",
"Values" : {
"1" : 3646781
}
}
}
},
"Head" : {
"RequestArguments" : {
"DeviceClass" : "Inverter",
"Scope" : "System"
},
"Status" : {
"Code" : 0,
"Reason" : "",
"UserMessage" : ""
},
"Timestamp" : "2020-06-17T07:42:30+02:00"
}
}
And what Fronius software displays (2 secs later):
from sensor.fronius.
Basically, if I query both inverters and sum the PAC values, the result will correspond to the total displayed in fronius software
from sensor.fronius.
.. and about Year Energy, what Fronius says...
from sensor.fronius.
Just a thought... I have a Fronius Symo and a Fronius Symo Hybrid to charge my batteries....
from sensor.fronius.
Your two inverters are standalone devices that are "connected" together only by solar.web. So each one's System reading will report only that inverters totals. With this setup there is no need for the third integration (the System one). You can use the two Device integrations and sum it up in HA like you did.
Apparently to have them linked together so that the local API shows them both they need to be linked together and one will be master and the other slave. How to do that I do not know since I have only a single inverter.
from sensor.fronius.
Thanks for your help... you're absolutely right and I understand a bit better how it works now.... I'm using the API with a bit of math and I have all the info needed.... it is really an amazing tool... cheers
from sensor.fronius.
Hi,
In my case, when I use scope option set to System no other entities are recognized than:
sensor.froniussystem_ac_current
sensor.froniussystem_ac_frequency
sensor.froniussystem_ac_voltage
sensor.froniussystem_dc_current
sensor.froniussystem_dc_voltage
But the state of them is unknown. When I change scope to Device everything is ok, but I receive data from the master inverter only.
My configuration is:
platform: fronius_inverter
ip_address: 192.168.1.xx
name: FroniusSystem
units: kWh
scope: System
I asked Fronius API by http://192.168.1.xx/solar_api/v1/GetInverterRealtimeData.cgi?Scope=System
The result is:
{
"Body" : {
"Data" : {
"DAY_ENERGY" : {
"Unit" : "Wh",
"Values" : {
"1" : 5814,
"2" : 3689
}
},
"PAC" : {
"Unit" : "W",
"Values" : {
"1" : 3117,
"2" : 1854
}
},
"TOTAL_ENERGY" : {
"Unit" : "Wh",
"Values" : {
"1" : 22360800,
"2" : 106947
}
},
"YEAR_ENERGY" : {
"Unit" : "Wh",
"Values" : {
"1" : 2442399,
"2" : 106947
}
}
}
},
"Head" : {
"RequestArguments" : {
"DeviceClass" : "Inverter",
"Scope" : "System"
},
"Status" : {
"Code" : 0,
"Reason" : "",
"UserMessage" : ""
},
"Timestamp" : "2021-07-03T10:01:11+02:00"
}
}
What's wrong why I don't have daily, year and total entities? Could you help with this?
from sensor.fronius.
I change to standard fronius integration, and it works fine.
from sensor.fronius.
In theory you should connect the two inverters to each other via MODBUS (assigning them different IDs), and only connect one of them to the LAN network.
That way data for both of them will appear in the same API.
from sensor.fronius.
Related Issues (20)
- Failed to update: connection error HOT 4
- Not receiving data HOT 1
- Adding support for 2020.8 Energy dashboard? HOT 33
- fronius gen24 & fronius symo always 0 HOT 27
- Sugerencia HOT 3
- WARNING: 2021.9 breaks Energy dashboard derived from this component HOT 4
- Few issues with 0.9.7 HOT 2
- Fronius Battery Support in Energy Manager HOT 6
- kWh instead of MWh in day energy HOT 7
- Energy Cost Sensor - last_reset deprecation (2021.9.4→2021.9.5) HOT 4
- Solar consumption
- No Day/monthly/year Energy Data from Fronius Symo /Gen24 HOT 15
- Fronius SmartMeter Energy AC Consumed Value
- New Energy Screen shows total instead of delta values HOT 1
- Energy Usage is Compounded HOT 3
- Sensor sensor.fronius_day_energy reset to "0" at 23
- Gen24 - API + Webserver becomes unavailable HOT 3
- Received invalid command: energy/info + Failed to update: connection error
- device_state_attributes HOT 2
- SCAN Interval
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensor.fronius.