-
Notifications
You must be signed in to change notification settings - Fork 22
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
H3 Pro 15kW - rFreq wrong scale #683
Comments
Hi, thanks for this. Could you do a couple of test please by reading the registers directly. To do that in home assistant, go to Developer Tools, and select 'Actions' (or Services as it used to be called). In the 'action' box start typing Foxess - Modbus and select 'Foxess - Modbus: Read registers' Choose your inverter in the 'inverter' drop down field Set the start address to 38846, the count to 2, the type to holding - and click on' perform action' as this - If you could screen shot the response and paste it below please. Then could you set the start address to 39139, the count to 1, the type to holding - and click on' perform action' Again if you could screen shot the response and paste below please. |
Ok, thanks. The latest modbus spec confirms that 39139 is the actual grid voltage register, whereas 38846 is the meter1/ct frequency - admittedly the latest spec is incorrect in that it says the 38846 (i32) register is a 100 scale but it should be reading 39139 instead which scales correctly at 0.01 There are likely to be a few changes being made over the next few week so it would be good if you could change line 1210 from this And restart your home assistant, it should then be reporting grid frequency correctly - if you can confirm that i'll do a PR for it, but as I say it might be a few weeks before it makes a formal release. |
The values that they're getting for the frequency do look correct (albeit 10x too large). I'll check the spec I have for the H3 Pro when I can, see where that register and scale actually came from. This might have been broken in a recent firmware update or something, as I'm sure it would have been caught when we were first putting in H3-Pro support. |
Hi @FozzieUK i changed the line - works like expected. kr |
Mitigated |
@canton7 it looks like the original testing may have found the meter1/ct frequency registers when testing and not the actual grid frequency register which looking at the latest modbus spec received yesterday is of the right scale (albeit the 38846, 38847 are also shown as 100 scale when in fact they are 1000). |
Reopening, as we still need to fix this in the integration! |
Hi all, Kind regards - and ... btw: THANK YOU FOR THIS GREAT INTEGRATION !!!! |
Hi,
i have a FoxEss H3 Pro 15kW and use Homeassist and your Plugin since the PV was installed in August.
Everything (that I can overview) works great - thanks 4 that!
When i look into the entity_descriptions.py the scale for all intverters is set to
scale=0.01 (Line 1217)
In the ModBus description the gain (for H3 Pro) is given with 100 - but this seams to be wrong.
So it is possible to change the scale to 0.001 whitch results with correct frequence - but this is only a mitigation.
I don´t know how to "case" the scale and will be grateful if this could be implemented.
Version of the custom_component
Used Version 1.12.2
Configuration
no special config
Describe the bug
I got an error on the Log that the rFreq Value got a Range Error
The text was updated successfully, but these errors were encountered: