-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Deye SUN-12K-SG02LP1-EU not showing data for PV3 (MPPT3) #281
Comments
Hi @peyanski, can you show me attributes of Device sensor? |
sure, I'm attaching screenshots but if you prefer something else just let me know |
it seems that is working now! Too bad that I have no Sun at the moment to confirm it. Many, many, many thanks! |
Can you click on sensor named "Device" to show it's details and then click on "Attributes" at the bottom of that popup window? |
Hi, |
indeed some power values (like grid power and load power are divided by 10). To sort this out I created a sensor templates like this {{ int(states('sensor.deye_grid_power'))*10 }} but if this is added in the definition like @vinste suggested will be better P.S. MPPT3 (PV3) is working after @davidrapan modification. Also working is the @vinste definition MPPT3 is working and power sensors is with correct values (multiplied by 10) |
Okay so which sensors are incorrect? (list all) |
I know only about sensor.deye_grid_power & sensor.deye_load_power. Both of them need to be multiplied by 10 all other seems fine to me. But it will be great if @vinste can confirm that as well |
Each of these require a scale 10 |
That would mean that the modbus rtu documentation is not correct :-/ but I can see that Grid: 218.8 * 25,27 = 5529.076 😉 |
Great, thanks. |
Yes they have their own profiles. There is now autodetection in place using register number 0:
+ Autodetection of Number of MPPTs and Number of Phases using their respective registers for each type. |
Hey @davidrapan thanks for your efforts it is working flawlessly now for our models but that seems to hurt other the other hybrid inverters. What if we leave the SG02LP1-EU with a dedicated definition file? That will sort this issue, actually all issues. What do you think? |
I'd rather not give up on that autodetection. I'll try to figure out if there is any way of differentiating the devices first. |
I wonder if it depends on Rated Power? Solarman App has to be able to detect it too so there needs to be some way. |
It could depend on generations (SG01, SG02,... SG05), or on rated power, or on firmware version, or on family (SUN-7.6/8/10/12K-SG02LP1-EU-AM2/AM3 for instance) |
sg01hp3 in fact does have different scaling than sg04lp3 that's why there are different files for them but in their case they also differentiate in having separate Device type (LV & HV) so for them it's easy. SG02 is in range above 6kW w/ 3 MPPTs and SG03 equal or lower than 6kW w/ 2 MPPTs. I guess it will be good starting point even so SG05 rated power has wider range but also w/ 2MPPTs. |
v24.12.06_4: And check that new checkbox in inverter configuration to switch to |
Hi, |
Which ones exactly are gonne? |
Grid voltage and output voltage |
They are relevant only when you have more than 1 phase. With single phase you have L1 Voltage. |
Then where can I get grid power and voltage? |
You have:
|
Yes, and because in Single Phase you have e.g. |
Yes, but then why keep Grid power and not Grid voltage? In a single phase system, grid power= grid voltage x grid current |
Because Grid Voltage is voltage between L1 and L2 thus value for split phase. |
Full list (structure) of phase sensors is:
Single/Split-Phase sensor visibility reasoning:
This way no matter single/split phase you always have sensor which always refers to sum power (and it doesn't matter if you also use L2 or not) - change from single to split phase only adds new sensors and doesn't change anything. So @vinste, if you think that there is better way tell me and we can change it. 😉 |
The original request for * 10 was just for Load and Grid Power and I don't have device which uses this profile so @peyanski? Can you confirm that for battery? If so, does this change solves it?
|
As you can see in my screen dump, grid L1 current is unfortunately wrong, as well as load power |
Do you have the scale modifier enabled in the options? I don't want to mindlessly change things around like last time. And at least @peyanski confirmed that the values are in his case correct (if it's still true though) so couldn't it be maybe some issue on your end? |
Description
Hello I'm using the Deye SUN-12K-SG02LP1-EU inverter which is having 3 MPPTs where 1 & 2 are working just fine with this great integration, but 3 is not showing at all and I have no entities for it. I'm using the deye_hybrid.yaml I also tried with auto and I selected 3 MPPT during setup but no luck. Everything else is working perfectly apart from the missing MPPT 3 (PV3) What can I do ?
Reproduction Steps
add solarman integration for SUN-12K-SG02LP1-EU inverter with the deye_hybrid.yaml config
Log
`Logger: homeassistant.components.number
Source: helpers/entity_platform.py:764
integration: Number (documentation, issues)
First occurred: 8:42:00 PM (2 occurrences)
Last logged: 8:42:00 PM
Platform solarman does not generate unique IDs. ID Deye_2990981151_Battery Generator Charging Current already exists - ignoring number.deye_battery_generator_charging_current
Platform solarman does not generate unique IDs. ID Deye_2990981151_Battery Grid Charging Current already exists - ignoring number.deye_battery_grid_charging_current
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:764
integration: Switch (documentation, issues)
First occurred: 8:42:00 PM (1 occurrences)
Last logged: 8:42:00 PM
Platform solarman does not generate unique IDs. ID Deye_2990981151_Generator already exists - ignoring switch.deye_generator
`
Version
24.11.02
The text was updated successfully, but these errors were encountered: