regarding the difference between App and own tracking:
I have a setup with grafana (for dashboard), postgres (as db) and a node application for accumulating energy values between data points and storing the data.
My modbus update interval is 5s but I have had a difference of roughly 7%. Now I added some protection against those 0 values as mentioned in one of your comments.
Hi Remko, at the moment i have “my” strange behavior again.
The House “consumes” only 989W, the battery gives approx. 3200W. My Car is charging with about 2,7kW. So that values “must” be wrong. Please look at my Screenshots:
Aaaah…there is something. You are charging your car as well… I am not sure how this reflects in the modbus values or how your car charger is connected. I think the issue is there. It would explain the difference you see, since I do not have an e-car and have not taken this into account at all…
Maybe you could post the values you get from the solaredge intergration, so all sensors starting with “solaredge_”
I already posted this in this community but i feel in this thread it might be better.
First of all: Thank you for taking the time and effort to @Remko . I learned a lot in this process.
I have random spikes in the energy dashboard that i am unable to understand where they are coming from. They don’t have a pattern, usually occurring once-twice a day, sometimes not at all.
When looking at the statistics and statistic_short_term in the sqlite file i do see the problem but there my ideas from where to look further stops. The states look good, it appears to me that the statistics code messes something up.
In my setup, I have two SE7600H inverter - each having an LG RESU 10 Prime attached. The primary inverter has also the SmartEV charger connected.
I installed the SolarEdge Modbus integration twice (once for each inverter) and get data from both Inverters - two meters on the primary and one meter on the secondary inverter.
But I do not see the batteries ever. If I check the box for 1 battery during the setup, all values show “unknown”. To verify I connected a raw modbus tool to the inverter and indeed the range that the SunSpec has outlined for a battery is not returning any values.
This makes me think that maybe the installer did not configure the RS485 modbus IDs of the batteries correctly (I saw other people’s posts having similar issues with batteries causing missing data).
Unfortunately there is nowhere a good explanation how the RS485 IDs should be set.
Does anybody have a good tutorial how the Modbus IDs should be configured for all to work (2 inverters, one leader one follower - each having a battery and primary has the EV Charger. The primary seems to have 2 meters and the follower has one meter attached ← all of those are connected via Modbus).
Looking at the data, I cannot really make out if there is any sensor showing how your car is connected to the system and where I could find those values. Is your car connected directly to the DC side of the inverter and is there an extra meter or so in between?
I have no experience with this, so I am struggling a bit of finding out how that is reflected in the Modbus values.
That is strange, I use the same sensors and do not have those issues. The only thing I can think of is that every now and then the modbus connection drops, the value becomes 0 and jumps back to it’s previous state. But then…I should have that issue too since I am using the same sensors. So…I don’t know
I found it. Solaredge only supports 1 client for modbus. I have a wallbox (openwb) that is also connecting to the inverter. Its hidden in the statistics data, but “weird” responses are visible in the “states” table this way.
To solve this i made hassio add-on that can multiplex multiple modbus clients onto one modbus server. If someone has the same issue i can probably try to publish it.
I have a general question. Is it possible to change the device ID of the Inverter bzw meter in this Project (binsentsu / home-assistant-solaredge-modbus)?
Thanks a lot.
I think i had the same problem as well and it drived be crazy during testing but it turned out that any new repository i tried to add resulted in this error. If you get the same error with other repositories as well then just reboot everything and it should fix itself
got this error after adding the repo and restarting hass
22-04-20 23:47:19 ERROR (SyncWorker_3) [supervisor.utils.yaml] Can't read YAML file /data/addons/git/81ab01ea/modbus-proxy/config.yaml - while parsing a block mapping
in "/data/addons/git/81ab01ea/modbus-proxy/config.yaml", line 1, column 1
did not find expected key
in "/data/addons/git/81ab01ea/modbus-proxy/config.yaml", line 10, column 2
22-04-20 23:47:19 WARNING (SyncWorker_3) [supervisor.store.data] Can't read /data/addons/git/81ab01ea/modbus-proxy/config.yaml from repository 81ab01ea