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

[BUG] Unrecognized Solis inverter type RHI-3P8K-HVES-5G #210

Closed
dewafre opened this issue Nov 18, 2022 · 75 comments
Closed

[BUG] Unrecognized Solis inverter type RHI-3P8K-HVES-5G #210

dewafre opened this issue Nov 18, 2022 · 75 comments

Comments

@dewafre
Copy link

dewafre commented Nov 18, 2022

Hello guys,
I dont get any entities in HA and the log says "unrecognized SolisSolax inverter type"

Mandatory details

  1. Integration Version: just installed the last one
  2. HA Version:
    Home Assistant 2022.11.3
    Supervisor 2022.10.2
    Operating System 9.3
    Frontend-versie: 20221108.0 - latest
  3. Inverter Brand: Solis RHI-3P8K-HVES-5G
  4. Plugin Used: Solis
  5. First 6 digits of Serial: 110C92*********
  6. Connection Method: LAN

Detailed Error Log
Logger: custom_components.solax_modbus.plugin_solis
Source: custom_components/solax_modbus/plugin_solis.py:97
Integration: SolaX Inverter Modbus (documentation, issues)
First occurred: 16:33:58 (1 occurrences)
Last logged: 16:33:58

unrecognized SolisSolax inverter type - serial number : 110C9222******

Additional context
Add any other context about the problem here.
I used the IP of the logger + port 8899

@wills106
Copy link
Owner

Just released 0.7.0b44 which should work with your Inverter now.

@dewafre
Copy link
Author

dewafre commented Nov 19, 2022 via email

@dewafre
Copy link
Author

dewafre commented Nov 20, 2022

Hello after reading the wiki and trying to install the energy dashboard I have one little problem.
Can I refer to the #211 (comment)

Thx alot !

@dewafre
Copy link
Author

dewafre commented Nov 21, 2022

Hello after reading the wiki and trying to install the energy dashboard I have one little problem. Can I refer to the #211 (comment)

Thx alot !

Hello @wills106

I think i solved the problem by adding scale = 0.1, in plugin_solis.py
Is this correct?

@wills106
Copy link
Owner

That's correct, if you only get 5kWh instead of 5.1kWh for example add the following as well:
rounding = 1,

The docs were missing how to round the numbers.
Does you total seem accurate though?

@dewafre
Copy link
Author

dewafre commented Nov 22, 2022

The entities that are to high at the moment are:
sensor.solis_grid_import_today => solved scale = 0.1
sensor.solis_meter_grid_import_total
sensor.solis_grid_export_today => solved scale = 0.1
sensor.solis_meter_grid_export_total
sensor.solis_meter_total_activepower

Other issue i have is the energy dashboard.
This morning there was a 0 reading of the sensor.solis_grid_import_today.
Because of the 0 reading, in the energy dashboard is Grid Import data x 2.
The correct reading is ±4,5 but it says 9kWh.
Is there a possibility to cancel zero readings in the plugin?
Thx alot @wills106 for the effort, i love your script ;-)

image

image

@wills106
Copy link
Owner

It's built into the dashboard to reset production values if it drops to zero. (STATE_CLASS_TOTAL_INCREASING)

Does your grid_import_total drop to zero as well? If not you could use that in your dashboard instead?

@dewafre
Copy link
Author

dewafre commented Nov 25, 2022

It's built into the dashboard to reset production values if it drops to zero. (STATE_CLASS_TOTAL_INCREASING)

Does your grid_import_total drop to zero as well? If not you could use that in your dashboard instead?

sensor.solis_grid_import_today => solved scale = 0.1
sensor.solis_meter_grid_import_total => solved scale = 0.01
sensor.solis_grid_export_today => solved scale = 0.1
sensor.solis_meter_grid_export_total => solved scale = 0.01
sensor.solis_meter_total_activepower => solved scale = 0.01

Ok i will try sensor.solis_meter_grid_import_total & sensor.solis_meter_grid_export_total instead in the energy dashboard and let you know if works OK

@wills106
Copy link
Owner

It should work fine, we have to do a similar thing on the Gen2 SolaX.

On the Gen3 & Gen4 you have "Battery Input Energy Today" which we use for the Dashboard.

The Gen2 doesn't have that register, so you have to use "Battery Input Energy Total"

@wills106
Copy link
Owner

@kai-seipp do the above sensors read ok on your Inverter or do they need scaling how @dewafre has suggested?

@kai-seipp
Copy link

Hey Guys,

I don't trust my inverters import / exports readings at all.
I use a shelly 3EM to monitor these values. So I have not yet really checked them.

But yes they do need scaling from what I can see.
Here is what I could find:

Grid Import Yesterday Shelly: 7,66 kWh
Grid Import Yesterday Solis South Inverter: 84 kWh
Grid Import Yesterday Solis North Inverter: 60 kWh

Grid Export Yesterday Shelly: 3,09 kWh
Grid Export Yesterday Solis South Inverter: 12 kWh
Grid Export Yesterday Solis North Inverter: 12 kWh

@wills106 wills106 mentioned this issue Nov 26, 2022
@wills106
Copy link
Owner

wills106 commented Nov 27, 2022

@blackwhitebear8 @dewafre @kai-seipp
With 0.7.0b47 do your scalings look correct now?
Also are your timed charge / discharge looking more normal now?
You times for example should be 0-23 hours and 0-59 mins. Before they were probably all random looking?

@blackwhitebear8
Copy link

The update broke more here xd
Screenshot_20221127_120123
Theres no battery connected still

@wills106
Copy link
Owner

Can you share the exact entity names for those two broken ones please.

@wills106
Copy link
Owner

I haven't changed any battery entities so I don't know what's going on with the battery one. Unless you added something that wasn't a battery there?

@blackwhitebear8
Copy link

I saw there were a few more broken ones
Meter active power
Battery power
And house load becouse it doesnt do anything anymore

@wills106
Copy link
Owner

@blackwhitebear8 could I have a screen shot of how they look and a description of what they should be. I don't know if I have scaled too high or too low.

@blackwhitebear8
Copy link

well battery should be 0
meter active power is idk what it needs to be becouse house load doesnt show anything anymore
Screenshot 2022-11-27 122224

@blackwhitebear8
Copy link

i m also seeing this now:
Logger: custom_components.solax_modbus
Source: custom_components/solax_modbus/init.py:226
Integration: SolaX Inverter Modbus (documentation, issues)
First occurred: 12:27:02 (12 occurrences)
Last logged: 12:27:08

Solis: read failed at 0x8199: house_load_total
Solis: read failed at 0x819b: house_load_today
Solis: read failed at 0x819c: house_load_yesterday
Screenshot 2022-11-27 122727

@wills106
Copy link
Owner

"Battery Power" and "House Load" haven't been changed in a while.

Does 0.7.0b48 correct the rear fail of:
Solis: read failed at 0x8199: house_load_total
Solis: read failed at 0x819b: house_load_today
Solis: read failed at 0x819c: house_load_yesterday

@blackwhitebear8
Copy link

Doesnt look like it i also see this now

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.solax_modbus.sensor
Source: custom_components/solax_modbus/sensor.py:124
Integration: SolaX Inverter Modbus (documentation, issues)
First occurred: 12:41:21 (1 occurrences)
Last logged: 12:41:21

input register already declared: 0x816a energy_storage_control_switch

@wills106
Copy link
Owner

0.7.0b49 will correct "Energy Storage Control Switch"

@blackwhitebear8
Copy link

everything seems back to normal now again only meter active power is still saying 300.000W and by sensors its still expecting KWH for some sensors

@wills106
Copy link
Owner

meter active power is still saying 300.000W

I am guessing it isn't expecting any round then, it should just be 300w

still expecting KWH for some sensors

Could you let me know which ones and I can correct the native_unit_of_measurement for them.

@blackwhitebear8
Copy link

solis meter active power is in kwh (maybe that explains why it has .000 when its displayed in W)
more sensors i havent added / in use atm that do this

@kai-seipp
Copy link

@blackwhitebear8 @dewafre @kai-seipp With 0.7.0b47 do your scalings look correct now? Also are your timed charge / discharge looking more normal now? You times for example should be 0-23 hours and 0-59 mins. Before they were probably all random looking?

The entity sensor.solis_meter_active_power must be in W not in kWh.
Scaling of Grid Import / Export looks good now. Still don't Trust the numbers though...

I did see you introduced a control for different programs of the inverter. Nice!
My suggestion is to use the working of what people get in that little documentation Solis is sharing...
manual

So I assume "Spontaneous Mode" should be "Auto Mode"?

@wills106
Copy link
Owner

wills106 commented Nov 27, 2022

Could I have some screen shots of these sensors from the Integration page, not from a dashboard card.

"Meter Active Power"
"Meter Active Power Total"

If any 3 Phase also:

"Meter Active Power L1"
"Meter Active Power L2"
"Meter Active Power L3"

It's hard to tell if the dashboard is doing stuff to the values or not, I need to see the raw numbers then I can correct them.
According to the docs they should all be kW

So I assume "Spontaneous Mode" should be "Auto Mode"?

Yea I was just going of the docs, I thought it was a funny name!

@blackwhitebear8
Copy link

Meter Active Power
image
Meter Active Power Total
image
Meter Active Power L1
image
Meter Active Power L2
image
Meter Active Power L3
image

@wills106
Copy link
Owner

I forgot there are two Meter Active Power in the docs!
I was looking at the wrong one...

So on a 3Phase the following are correct?

"Meter Active Power Total"
"Meter Active Power L1"
"Meter Active Power L2"
"Meter Active Power L3"

@blackwhitebear8
Copy link

battery voltage shows 1.7V but there is no battery connected?
what is a bypass load?
meter current shows high A at all times i dont think theres 18amps flowing though it when theres only 1000 watts of usage
and is there a sensor for inverter errors?

@kai-seipp
Copy link

You can check most of the values shown in HA by comparing them to the ones shown within the Inverters menu. Go there on Info, Meter and click through those.

This integration can only show what the inverter is passing on.

@wills106
Copy link
Owner

wills106 commented Nov 27, 2022

Battery voltage - It might just not be very accurate at low voltages, so it's probably a phantom reading.
Bypass load - no idea to be honest, it's just in the docs. Anything in your User Manual?
Meter Current - do you think it should be 1.8A?
Inverter Errors - Yes, but not yet implemented. I need to add reading individual bits of a register. It's on the Todo List V2. It's needed for SolaX as well.

@blackwhitebear8
Copy link

meter current isnt right if it was 1.8 it would be too low idk how it calculates it

@kai-seipp
Copy link

I checked meter current against my 3EM, yes the decimal must go one to the left. 13,0 should be 1,30

@blackwhitebear8
Copy link

i just took a ss of meter active power and current it current is atm 20A if i divide the W usage i would get 3.5A or something and not 20 or 2

@wills106
Copy link
Owner

My house load is about 350w ~ and the Inverter current is 1.6A to 1.7A

@blackwhitebear8
Copy link

my load is about 775W and the current shows 22,8A

@blackwhitebear8
Copy link

2.28A cant be right either?

@kai-seipp
Copy link

meter current isnt right if it was 1.8 it would be too low idk how it calculates it

Please check against the values your inverter or what your meter display shows.

@wills106
Copy link
Owner

Yea that works out there about's 415v = 1.86A

@blackwhitebear8
Copy link

meter shows around 5.1A atm

@blackwhitebear8
Copy link

20.04 is displayed in HA

@kai-seipp
Copy link

2.28A cant be right either?

Why not, seams quite plausible to me.

@blackwhitebear8
Copy link

2.28A with 775W load is not correct 😂 should be around 3.3A then

@kai-seipp
Copy link

Well I will call it a Sunday for today. Maybe we should all try to bundle our feedback and requests a little. I would hate to see Wills personal battery at low power.

@wills106
Copy link
Owner

Well some of your PV will be powering things. Not just grid pull.

@wills106
Copy link
Owner

You will never get things to add up 100%
PV, Battery (when you get one) Grid are all at different voltages. There will also be losses through conversions etc.

I think that 18A does need changing to 1.8A though. It will be close enough.

@blackwhitebear8
Copy link

Screenshot 2022-11-27 155548

grid + solar =996W house only reports 933W wheres my other power?

@kai-seipp
Copy link

The inverter itself consumes about 20w when active.
And also:

You read out via Modbus, about 100 registers.
By the time you have read out the last the values of register first will already have shifted a little. You should see this as a way to learn where your energy is coming from and going to. Especially over the course of time.

Don't make it a science. I have three different meters in my setup and all are showing little different values. I my opinion we should aim for "good enough". The time and budget you would have to invest for "perfect" is - this is at least my opinion - just not worth it for a home installation.

@blackwhitebear8
Copy link

also what happends when the inverter goes off and turns on again does it auto pickup or? becouse after i restarted it yesterday (HA) i needed to restart HA again todat to get data again everything was just showing 0 before that

@wills106
Copy link
Owner

If you restart HA during the evening / night (when the Inverter is asleep) you will loose the connection and you will have to restart HA when the Inverter wakes up.

If you leave HA alone tonight, when the Inverter goes to sleep HA will wait for it. Then it the morning when the Inverter wakes up it will carry on sending data to HA.

@blackwhitebear8
Copy link

will this eveer be like fixed?

@wills106
Copy link
Owner

It's not a bug.

HA / The Integration can't establish a connection if there is nothing to communicate to.

@blackwhitebear8
Copy link

can you not add something that it retries connection?

@wills106
Copy link
Owner

No, day to day you shouldn't need to restart HA.
There is already code in there to reduce slowdown when it tries to poll during sleep, it skips 9 out of 10 read requests.

@blackwhitebear8
Copy link

i think this error means that the inverter is offline?

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.solax_modbus
Source: /config/custom_components/solax_modbus/init.py:337
Integration: SolaX Inverter Modbus (documentation, issues)
First occurred: 17:09:24 (245 occurrences)
Last logged: 18:34:57

Solis error reading holding registers at device 2 position 0xa86c
NoneType: None

@blackwhitebear8
Copy link

sensor house load doesnt reset / go to 0 when the inverter is offline

@wills106
Copy link
Owner

I am going to close down as the Integration now supports '110C' Inverters.

Any further issues, please raise a new issue.

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

4 participants