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

H3 Pro Latest Inverter firmware changes totals x 10 #724

Open
a900a900a900 opened this issue Jan 6, 2025 · 5 comments
Open

H3 Pro Latest Inverter firmware changes totals x 10 #724

a900a900a900 opened this issue Jan 6, 2025 · 5 comments

Comments

@a900a900a900
Copy link

397998058-94c4b46e-fbd5-41ef-bc63-4f1a83c26ae6

H3 pro 30 KW updated firmware to 1.25 and 1.56 and battery charge and discharge total has jumped by a decimal place 4800 to 48000. Feed in total, load energy and yield have also jumped. by the same
Uploading Fox.log.txt…

Version of the custom_component
1.12.2

@bradziszewski
Copy link

bradziszewski commented Jan 8, 2025

I’m experiencing the same issue on the H3 Pro with metrics like “Solar Generation Today,” “Solar Generation Total,” and several others.
Screenshot 2025-01-08 at 20 57 18
IMG_047FF8EF5053-1
IMG_8015501FD7A3-1

@FozzieUK
Copy link
Contributor

@a900a900a900 , @bradziszewski I have checked the latest modbus spec and it is showing these registers as 'gain 100' whereas the entity is set to gain 10 scale (0.1).

Which is a real pain as it is a departure from the scale 0.1 used for all of the inverters Fox have manufactured to date.... with the exception of the H3 Pro (and i'm guessing all models that will follow)

This seems as if Fox have realised and changed the latest H3 Pro firmware so that it matches the modbus spec - if you are able please could you confirm the correct scale by modifying your HA installation and the file custom_components/foxess_modbus/entities/entity_descriptions.py as follows

Note: these line numbers are for integration version 1.12.2

entity solar_energy_total and change the scale from 0.1 to 0.01 (line #1404)

entity solar_energy_today and change the scale from 0.1 to 0.01 (line #1426)

entity battery_charge_total and change the scale from 0.1 to 0.01 (line #1448)

entity battery_charge_today and change the scale from 0.1 to 0.01 (line #1484)

entity battery_discharge_total and change the scale from 0.1 to 0.01 (line #1505)

entity battery_discharge_today and change the scale from 0.1 to 0.01 (line #1541)

entity feed_in_energy_total and change the scale from 0.1 to 0.01 (line #1562)

entity feed_in_energy_today and change the scale from 0.1 to 0.01 (line #1598)

entity grid_consumption_energy_total and change the scale from 0.1 to 0.01 (line #1619)

entity grid_consumption_energy_today and change the scale from 0.1 to 0.01 (line #1655)

entity total_yield_total and change the scale from 0.1 to 0.01 (line #1676)

entity total_yield_today and change the scale from 0.1 to 0.01 (line #1698)

entity input_energy_total and change the scale from 0.1 to 0.01 (line #1720)

entity input_energy_today and change the scale from 0.1 to 0.01 (line #1742)

entity load_power_total and change the scale from 0.1 to 0.01 (line #1764)

entity load_energy_today and change the scale from 0.1 to 0.01 (line #1807)

Save the file and restart HA - and if you could confirm that all of these sensors are now reporting the correct value please

@FozzieUK
Copy link
Contributor

same issue here #713

@a900a900a900
Copy link
Author

This fix appears to fix the issue

@a900a900a900 , @bradziszewski I have checked the latest modbus spec and it is showing these registers as 'gain 100' whereas the entity is set to gain 10 scale (0.1).

Which is a real pain as it is a departure from the scale 0.1 used for all of the inverters Fox have manufactured to date.... with the exception of the H3 Pro (and i'm guessing all models that will follow)

This seems as if Fox have realised and changed the latest H3 Pro firmware so that it matches the modbus spec - if you are able please could you confirm the correct scale by modifying your HA installation and the file custom_components/foxess_modbus/entities/entity_descriptions.py as follows

Note: these line numbers are for integration version 1.12.2

entity solar_energy_total and change the scale from 0.1 to 0.01 (line #1404)

entity solar_energy_today and change the scale from 0.1 to 0.01 (line #1426)

entity battery_charge_total and change the scale from 0.1 to 0.01 (line #1448)

entity battery_charge_today and change the scale from 0.1 to 0.01 (line #1484)

entity battery_discharge_total and change the scale from 0.1 to 0.01 (line #1505)

entity battery_discharge_today and change the scale from 0.1 to 0.01 (line #1541)

entity feed_in_energy_total and change the scale from 0.1 to 0.01 (line #1562)

entity feed_in_energy_today and change the scale from 0.1 to 0.01 (line #1598)

entity grid_consumption_energy_total and change the scale from 0.1 to 0.01 (line #1619)

entity grid_consumption_energy_today and change the scale from 0.1 to 0.01 (line #1655)

entity total_yield_total and change the scale from 0.1 to 0.01 (line #1676)

entity total_yield_today and change the scale from 0.1 to 0.01 (line #1698)

entity input_energy_total and change the scale from 0.1 to 0.01 (line #1720)

entity input_energy_today and change the scale from 0.1 to 0.01 (line #1742)

entity load_power_total and change the scale from 0.1 to 0.01 (line #1764)

entity load_energy_today and change the scale from 0.1 to 0.01 (line #1807)

Save the file and restart HA - and if you could confirm that all of these sensors are now reporting the correct value please

@MartB
Copy link
Contributor

MartB commented Jan 16, 2025

Did anyone test with the new H3 Pro 1.22 manager version?
Would be great to confirm this behavior.

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