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]: Export Control User Limit 10x less then real value #1126

Open
jansidlo opened this issue Nov 6, 2024 · 20 comments
Open

[Bug]: Export Control User Limit 10x less then real value #1126

jansidlo opened this issue Nov 6, 2024 · 20 comments
Labels
bug Something isn't working solax

Comments

@jansidlo
Copy link

jansidlo commented Nov 6, 2024

Describe the bug

Found out that SolaX Export Control User Limit is 10x less then the value in Solax cloud
HA-screenshot
solaxcloud

Integration Version

2024.11.1

Homeassistant core version

2024.10.4

Inverter brand

Solax X3-Hybrid Gen4

Plugin used

plugin_solax.py

Serial prefix

H34B10H

Inverter firmware versions

DSP v1.42 ARM v1.41

Connection Method

USB modbus convertor

Dongle firmware

10.16

Detailed Error Log

No response

Additional context

No response

@jansidlo jansidlo added bug Something isn't working solax labels Nov 6, 2024
@Codiwr
Copy link

Codiwr commented Nov 8, 2024

10x more on mine still! Reads 60000W!

@wills106
Copy link
Owner

If you add
('H34B10H', 1),
to this block:

EXPORT_LIMIT_SCALE_EXCEPTIONS = [
('H4', 10 ), # assuming all Gen4s
('H34', 10), # assuming all Gen4s
('H3UE', 10), # Issue #339, 922
('H4372A', 1), # Issue #857
('H4502A', 1), # Issue #857
('H4502T', 1), # Issue #418
('H4602A', 1), # Issue #882
('H3BD', 10), # X3-Ultra
# ('H1E', 10 ), # more specific entry comes last and wins
]

Does it read correctly?

@jansidlo
Copy link
Author

it didn't work for me.

I added ('H34B10H', 1), to end of block, restarted HA. Then added string to begining of block and nothing has changed.

@BretonLud
Copy link

If you add ('H34B10H', 1), to this block:

EXPORT_LIMIT_SCALE_EXCEPTIONS = [
('H4', 10 ), # assuming all Gen4s
('H34', 10), # assuming all Gen4s
('H3UE', 10), # Issue #339, 922
('H4372A', 1), # Issue #857
('H4502A', 1), # Issue #857
('H4502T', 1), # Issue #418
('H4602A', 1), # Issue #882
('H3BD', 10), # X3-Ultra
# ('H1E', 10 ), # more specific entry comes last and wins
]

Does it read correctly?

I have same problem with H4752A, i resolve this with the first line ('H4',1) but maybe you need to add this, ('H4752A',1) ?

@jansidlo
Copy link
Author

I tried to change scale for H34 and I got the same result.

@BretonLud
Copy link

I tried to change scale for H34 and I got the same result.

Try this ('H34B10H', 10),

@BretonLud
Copy link

10x more on mine still! Reads 60000W!

Can you tell us yours serial number ?

@Codiwr
Copy link

Codiwr commented Nov 12, 2024 via email

@BretonLud
Copy link

BretonLud commented Nov 12, 2024

H4752AJ3415002. Thanks!

On Tue, 12 Nov 2024, 14:13 BretonLud, @.> wrote: 10x more on mine still! Reads 60000W! Can you tell us yours serial number ? — Reply to this email directly, view it on GitHub <#1126 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVSJCOKXHNLQD6VV6KK6P32AIEIPAVCNFSM6AAAAABRIPUDBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGY2DMMJSGE . You are receiving this because you commented.Message ID: @.>

So add this ('H4752A',1) on homeassistant-solax-modbus/custom_components/solax_modbus/plugin_solax.py

EXPORT_LIMIT_SCALE_EXCEPTIONS = [ 
     ('H4', 10 ),     # assuming all Gen4s 
     ('H34', 10),     # assuming all Gen4s 
     ('H3UE', 10),  # Issue #339, 922 
     ('H4372A', 1),   # Issue #857 
     ('H4502A', 1),   # Issue #857 
     ('H4502T', 1),   # Issue #418 
     ('H4602A', 1),   # Issue #882 
     ('H3BD', 10),    # X3-Ultra
     ('H4752A', 1),
      ('H1E', 10 ), # more specific entry comes last and wins 
 ]

it's work for me

@Codiwr
Copy link

Codiwr commented Nov 12, 2024 via email

@styriaman
Copy link

styriaman commented Nov 15, 2024

This problem occurs also on a X3 Ultra
in HA 3000W -> on the inverter 30000W
BTW: The serial of my X3 Ultra starts with "H3BC....." and not with "H3BD"

@BretonLud
Copy link

This problem occurs also on a X3 Ultra in HA 3000W -> on the inverter 30000W BTW: The serial of my X3 Ultra starts with "H3BC....." and not with "H3BD"

then add this line ('H3BC', 10) on

EXPORT_LIMIT_SCALE_EXCEPTIONS = [ 
     ('H4', 10 ),     # assuming all Gen4s 
     ('H34', 10),     # assuming all Gen4s 
     ('H3UE', 10),  # Issue #339, 922 
     ('H4372A', 1),   # Issue #857 
     ('H4502A', 1),   # Issue #857 
     ('H4502T', 1),   # Issue #418 
     ('H4602A', 1),   # Issue #882 
     ('H3BD', 10),    # X3-Ultra
     ('H4752A', 1),
     ('H3BC',10),
      ('H1E', 10 ), # more specific entry comes last and wins 
 ]

@BretonLud
Copy link

@wills106

The new variable EXPORT_LIMIT_SCALE_EXCEPTIONS :

EXPORT_LIMIT_SCALE_EXCEPTIONS = [ 
     ('H4', 10 ),     # assuming all Gen4s 
     ('H34', 10),     # assuming all Gen4s 
     ('H3UE', 10),  # Issue #339, 922 
     ('H4372A', 1),   # Issue #857 
     ('H4502A', 1),   # Issue #857 
     ('H4502T', 1),   # Issue #418 
     ('H4602A', 1),   # Issue #882 
     ('H3BD', 10),    # X3-Ultra
     ('H4752A', 1),
     ('H3BC',10),
     ('H34B10H', 10) # need return @jansidlo ,
      # ('H1E', 10 ), # more specific entry comes last and wins 
 ]

@wills106
Copy link
Owner

Just released 2024.11.2 with these changes.

@Codiwr
Copy link

Codiwr commented Nov 16, 2024 via email

@BretonLud
Copy link

Thanks for trying. The update by BretomLud worked. This update had broken the integration - pulling the dongle and replacing doesn't restore entities as is usually the case - Had to restore HA backup.

On Sat, 16 Nov 2024, 09:18 wills106, @.> wrote: Just released 2024.11.2 https://github.com/wills106/homeassistant-solax-modbus/releases/tag/2024.11.2 with these changes. — Reply to this email directly, view it on GitHub <#1126 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVSJCJQI2L4PSWTYWKW4HT2A4EYDAVCNFSM6AAAAABRIPUDBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGQ4TAMZYHE . You are receiving this because you commented.Message ID: @.>

The update work for me and dont broken ^^

@jansidlo
Copy link
Author

I tried to change scale for H34 and I got the same result.

Try this ('H34B10H', 10),

no change after entering this line. I expected to see a difference.
but I found SolaX Config Export Control Limit Readscale in diagnostic menu. I changed it to 10 and Export Control Limit value is correct now

@BretonLud
Copy link

I tried to change scale for H34 and I got the same result.

Try this ('H34B10H', 10),

no change after entering this line. I expected to see a difference. but I found SolaX Config Export Control Limit Readscale in diagnostic menu. I changed it to 10 and Export Control Limit value is correct now

Can you show me where you find this ?

@wills106
Copy link
Owner

It's disabled by default, it's under entities not shown.
image

@jansidlo
Copy link
Author

jansidlo commented Nov 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solax
Projects
None yet
Development

No branches or pull requests

5 participants