forked from openWB/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Solis: fix modbus address for SOC The Solis support was created based on Fox ESS. It looks like the creator missed to adjust the modbus address for SOC, it's 33139 based on a register map I got from solis support. Total discharge energy is also in kWh, not 1/10kWh units. * Solis: read all registers as input registers Every modbus query fails, as all registers need to be read as input registers (code 0x04), instead of holding register. * Solis: Fix for unreachable local variables right now I get the following error: UnboundLocalError: local variable 'power' referenced before assignment Fix it by moving some code around. * Review --------- Co-authored-by: LKuemmel <[email protected]>
- Loading branch information
1 parent
6751a09
commit ec23648
Showing
3 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters