23.10.2023, 16:19
(This post was last modified: 23.10.2023, 16:27 by fleeceable.)
(23.10.2023, 16:04)Amelie Wrote:(23.10.2023, 09:54)fleeceable Wrote: I'm using these registers to control battery:
mb:writeregisters(47511, EMSPowerModeWrite) - 2 charge, 3 discharge, 1 auto/self use mode
mb:writeregisters(47512, EMSPowerSetWrite) - charging/discharging power (in watts)
Modes are described in attachment
So, during night, I have to set the register 47511 to 1 and at 6 o'clock (when the electricity prices are higher) I have to write 0 to register 47511. Will the battery automatically stop when it reaches 100% or, do I have to time it?
It's basically in charging mode and if battery is full, system gonna hold battery on 100%. If no sun then only house usage is imported from grid.
Short answer you don't need to time it.
But double check values. These are on hex. If you try to write 0 in that register you probably get error...
If electricity is cheap - write 2 - you gonna buy
If price is high and you want to sell back to grid (in summer time) before sun - write 3
If you want to use electricity from battery to supply home usage - write 1
If you want to hold battery state then you can write 8 - so battery gonna be on standby