Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

House Consumption #80

Open
Logzy72 opened this issue Oct 15, 2021 · 11 comments
Open

House Consumption #80

Logzy72 opened this issue Oct 15, 2021 · 11 comments

Comments

@Logzy72
Copy link

Logzy72 commented Oct 15, 2021

Im wondering if this intergration reads the house consumption from the inverter if the inverter has a goodwe smart meter connected to it via RS485.
I have a MS series inverter and i dont see any fields for house consumption data.
This could be because the smart meter i have is the Goodwe Homekit which is basically the Goodwe smart meter with a wifi module attached to it.
but i would have thought Id still see the sensor form consumption but the value would be 0.
When my solar was installed the installer did not connect the RS485 from the meter to the inverter.
If I was to connect the RS485 link I think the Goodwe Homekit would then send the consumption data to the inverter.

Could this intergration then read that consumption data from the inverter.

@mletenay
Copy link
Owner

mletenay commented Oct 16, 2021

Well, the house_consumption sensor present in inverters based on ET and ES protocols is calculated by the plugin itself.
The basic formula is power produced by PV + power retrieved from battery (if any) - power exported to grid (measured by smart meter). All these input values are provided directly by the inverter.
The trouble with the DT based inverters (DT, D-NS, XS, MS) is that the inverter does not provide the smart meter value.
(Or it does , but we we did not identified the data offset in response - i.e. modbus register. There are these xx* sensors we do not know their meaning, in theory one of the may represent the smart meter value.)

Anyway, in you case, I'm not sure how or if the smart meter communicates with the inverter, I have seen so far only RS485 connections. But as said above, even if you have wired RS485 connection to smart meter, at this point in time we do not know if or where those values are present in udp packet payloads.

But a general rule applies - if you see some data in the official mobile app (SolarGo) that are not provided by the HA plugin, then there is a high chance we can expose it too once analyzed. If some data are not visible in SolarGo, that may not exist (or just SolarGo is not programmed to show them).
In your case, look if you can somewhere see grid export/import (smart meter) values.

@Logzy72
Copy link
Author

Logzy72 commented Oct 17, 2021 via email

@mletenay
Copy link
Owner

I've just release v0.9.3 where I re-enabled the xx sensors, so you should now see them out of the box.
Most of them don't provide any values, but e.g. xx134, xx142, xx144 seem to report something, we just need to figure out what.

@Logzy72
Copy link
Author

Logzy72 commented Oct 17, 2021

Looks like, on the MS series of inverter, the unknown sensors xx134, xx142, x144 dont report anything either.
All unknown sensors reporting "unknown"

@jebeke65
Copy link

The GW5000S-BP has it also in the plug-in but the value it produces is much too high, hence not correct. When I check the value during the night, I’m getting around 1500W which is certainly not what is consumed in the house

@midadami
Copy link

I have asked GoodWe and plan to keep asking until I get an answer as to why DT based inverters (DT, D-NS, XS, MS) don't offer the house consumption value through SolarGo app. It's probably because they made it that way and need firmware update or similar. My D-NS does have access to house consumption as excess electricity is activated and that can only happen if inverter has access to house consumption number on the moment.

@bruxy70
Copy link

bruxy70 commented Mar 3, 2023

The basic formula is power produced by PV + power retrieved from battery (if any) - power exported to grid (measured by smart meter). All these input values are provided directly by the inverter.

So it does not include the power imported from the grid?

And the difference between House Consumption and Load is, that Load also contains the battery charge?

@stevoh6
Copy link

stevoh6 commented May 29, 2023

I've just release v0.9.3 where I re-enabled the xx sensors, so you should now see them out of the box.
Most of them don't provide any values, but e.g. xx134, xx142, xx144 seem to report something, we just need to figure out what.

@mletenay How and where can I see those values? I have shelly and GW DT inverter with smartmeter, so I can play with it, but I need some basic instructions. Im able to run Python or Nodejs scripts to read registers.

It will be enought to comment out line 177 in sensors.py ?
if not sensor.id_.startswith("xx")

@teranex
Copy link

teranex commented Aug 28, 2023

The basic formula is power produced by PV + power retrieved from battery (if any) - power exported to grid (measured by smart meter). All these input values are provided directly by the inverter.

So it does not include the power imported from the grid?

And the difference between House Consumption and Load is, that Load also contains the battery charge?

@bruxy70 Did you ever find an answer to what the difference between Load and House Consumption is? I'm also wondering about it, but can't really find an answer anywhere.

@bruxy70
Copy link

bruxy70 commented Aug 28, 2023

No, I did not. It is confusing. Based on all the explanations, I think it is supposed to be the same in my scenario (since I have no other load than the house consumption). But it is not.

@teranex
Copy link

teranex commented Sep 1, 2023

No, I did not. It is confusing. Based on all the explanations, I think it is supposed to be the same in my scenario (since I have no other load than the house consumption). But it is not.

Yeah I would also expect that in my case as I also have no other load. The only thing I could imagine would be that House Consumption would be what the house uses, and Load might be House Consumption + Power usage of the inverter itself. But I don't think that is the case since I noticed during the day the House Consumption is always higher than the Load (by 50 - 100W), but House Consumption is below Load during the night...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants