Comments (13)
Confirmed if I change my Integration to Gen2x1 "Today's Yield" drops to 0kWh
This is on 0.5.0b3
from homeassistant-solax-modbus.
Some Additional that seem to have taken a bit of a holiday but work when using Gen3 integration
I know some may be reading the wrong register hence they are getting a reading but here they are
Grid Import
Measured Power
Today's Yield (As above)
Total Yield
from homeassistant-solax-modbus.
I am trying to find the cause of the problem ... This is probably a side effect of the code restructuring but I have not found the error yet ...
from homeassistant-solax-modbus.
I have only looked into Today's Yield so far (today_yield) but I can't see anything obvious.
It's declared as allowedtypes=ALLDEFAULT,
which matches all the other generic sensors between Generation's.
If that one didn't work you would expect most of the other sensors not to work either?
I'll look into the others tomorrow.
from homeassistant-solax-modbus.
Yes, the sensor declarations look ok, but I fear the init.py sequential reading of parameters might get out of sync for gen2.
from homeassistant-solax-modbus.
Found the error, but as I do not have a Gen2 description I do not know how to correct:
the error was not introduced by the doce resturcturing, but by a prior change.
In read_input_registers0, there is an if statement searching for a GEN2 condition
The If clause consumes 4 variables, the ELSE clause consumes 6 variables.
I knot know where I should add a skip_bytes(4) statement
from homeassistant-solax-modbus.
That will be from when I added in input_energy_charge & output_energy_charge for the Gen2 as they sit in a different pattern of registers on the Gen2 vs Gen3 & Gen4
I'll double check the docs, maybe 2 registers got deleted by accident at some point? or the skip_bytes(4) did?
from homeassistant-solax-modbus.
Within __init__.py
lines 768 to 772 shouldn't be inside the else:
statement.
@matthewjporter can you change the following:
Could you please confirm if it works correctly and then I can push a new update out? Or would you prefer me to just push it out anyway? Then you can just update through HACS.
I have switched to Gen2 mode and I now have Today's Yield showing.
from homeassistant-solax-modbus.
OK, thanks, I will test in my development fork also ...
from homeassistant-solax-modbus.
Looks indeed OK this proposal to fix
from homeassistant-solax-modbus.
@matthewjporter
I have pushed it out as 0.5.0b4 as I am pretty confident this fixes that issue.
from homeassistant-solax-modbus.
Just updated (via phone) and on the surface looks to be resolved as I am seeing states
Will check later when at my PC
Thanks Guys
from homeassistant-solax-modbus.
I am closing this issue down as the problem is fixed now.
from homeassistant-solax-modbus.
Related Issues (20)
- [Bug]: Slow Update Interval after Firmware Update on Solax X3 MiC G2 HOT 5
- [Bug]: no entities after update HOT 3
- [Bug]: 'Growatt' - 'SPF5000EU' crash on add integration "KeyError: 'support-battery'" HOT 14
- [Bug]: 'Solis - SOL-3.0K-RAI-48ES-5G-AC-V2 'Inverter Model' All entities gone.
- Cannot use Run mode in automations
- [Bug]: unknown type of inverter SolaX X1 boost 3kw
- [Bug]: Platform solax_modbus does not generate unique IDs HOT 1
- [Bug]: 'SolaX' - 'Gen3' crash on add integration "KeyError: 'support-battery'" HOT 3
- After upgrade to new version - unable to add invterter - unknown error HOT 29
- [Bug]: After update from 2024.08.1 to 2024.08.6 HOT 1
- [Bug]: Growatt - 'MOD x' Unknown state on all entities after upgrade HOT 34
- Entities now unknown after update to 2024.08.all[Bug]: HOT 16
- Unknown Error after installing 2024.8.xx version for Solax X3 [Bug]: HOT 2
- [Bug]: Entity names are βSolaX Inverter Inverter Inverter Inverter Inverter β¦β HOT 8
- [Bug]: Solax Grid Import does not show actual grid import
- [Bug]: upgraded to 2024.08.8 Now unable to control inverter through modbus HOT 2
- unable to control inverter following upgrade [Bug]: HOT 36
- [Bug]: Broken Export Control setting for SolaX X3-Ultra HOT 3
- [Bug]: 2024.8.8 Cannot add inverter again via serial after upgrade to 2024.8.8 HOT 2
- [Bug]: Unable to add Solax X3-Ultra 15k with version 2024.8.8 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-solax-modbus.