Ess.SaxPower: add single-phase ESS and integrated grid meter - #3873
Ess.SaxPower: add single-phase ESS and integrated grid meter#3873Hans-4 wants to merge 48 commits into
Conversation
|
@Sn0w3y I’ve now unlocked my battery and, in my tests, it responded quite quickly. Not immediately, but quickly. |
see my discussion here: to be hones i don't think they fixed this issue already? |
|
No you are right @Sn0w3y . I completely overlooked that in my first test. Its exactly the same as in the discussion. After 2–3 minutes, it stops writing and remains at the current discharge/charge level.
What sould i do now? A read mode only switch as long as they don’t release an update? I think it still works when you got it in mode 1 you just get an error saying it couldnt write, but you can still read all the read addresses.
|
Hi, tbh o can not answer that question - defacto a "read only" implementation is not really helpful for users without Grid Meter and "only" OpenEMS - i tried to reach out to the Support more than once and they do not really care about it so I gave this Project a stop. Greetings! |
|
Yeah, you’re probably right, and we might have to wait ages for the update or it might never come. They are even selling their own power manager, so why would they? |
Well.. you see thats the Point. Fenecon also sells their FEMS and their Storage and still provides a free OpenSource alternative to FEMS and their Storages. Others just try to sell and not Improve 😉 |
|
So what does this mean? Should we proceed with this PR or wait for SAX Power? |
|
I dont know @sfeilmeier . We can proceed, and if you like, I can add a warning to the README saying that address 41 doesnt work, or we can wait for Sax. Whichever suits you best. |
|
From my side we can proceed 👍 |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## develop #3873 +/- ##
==============================================
- Coverage 55.62% 28.55% -27.06%
==============================================
Files 3670 404 -3266
Lines 171475 12905 -158570
Branches 14127 2324 -11803
==============================================
- Hits 95362 3684 -91678
+ Misses 72337 9059 -63278
+ Partials 3776 162 -3614 🚀 New features to boost your workflow:
|
|
Could someone please restart the workflows? Had to fix one checkstyle error. |
|
Ive added several tests they should now run if someone restarts the workflows |
It is not only Register 41.. the whole Controlling Mechnanism from SAX side has this Issue. |
|
Nice to see a implementation for SAX power - it's really interesting to produce AC 230V Sinus Waves with Battery Cells and Mosfets without the need for an inverter. @juergen-weber mentioned in the EVCC discussion (evcc-io/evcc#22155 (comment)) that he got a new firmware installed on his battery and it seems like they have a new modbus protocol (https://github.com/user-attachments/files/29573813/Modbus._Sunspec_Dokumentation.pdf). Maybe that is fixing the modbus problem? |
|
As @Howaner pointed out, I’ve removed Modbus_target. I also added another test that should bring the Grid Meter file up to 100% code cov. Its actually my first time working with code cov and Im wondering what percentage of coverage is actually required? Ive noticed that many PRs are accepted even if the code cov test is failing, so if the current coverage is enough, I think the PR can be reviewed. |
|
As I understood, the current implementation stops working after a few minutes because of the transaction_id limitation, right? |
You mean the protocol @LaRaven97 an the firmware update @juergen-weber mentioned in the evcc-io discussion? I will get in touch with the customer support to get the firmware updated and then test the new Sunspec protocol.
If this works i would prefer option B.
|
|
I go my battery updated and tested it with a little Python script, and the write error is gone. I will experiment a bit more with the new register and, if everything works out, integrate it into OpenEMS. |


Implements the SAX Power Home Plus (5.8 / 7.7 kWh) as two components:
Modbus register documentation and manual:
https://sax-power.net/download/Handbuch_SAX_Home_Plus_7,7_DE.pdf
Tested on real hardware (7.7 kWh) for all registers
Not implemented yet: reactive power, energy channels, grid mode detection.