logo elektroda
logo elektroda
X
logo elektroda

[Solved] Presetting Energy Total kWh on BL0937 with BK7231N on CB2S Module?

arjen2 582 2
ADVERTISEMENT
  • #1 21228514
    arjen2
    Level 3  
    Dear forum

    Got a BK7231N on a CB2S module, with a BL0937 = energy meter chip.
    I can reset the readings of the BL0937 chip to zero, but what I'd like is to set it to a specific value and let it run from there.

    I use it for monitoring a small set of solar panels, and I already have some 10 months of data. I'd like to preset the 'Energy total' to what it has delivered so far.

    Is this possible?

    Thanks.
  • ADVERTISEMENT
  • Helpful post
    #2 21230060
    p.kaczmarek2
    Moderator Smart Home
    Maybe this can help?
    Table with the EnergyCntReset command and its description.
    
    EnergyCntReset [OptionalVal]
    

    Quote:

    Resets the total Energy Counter, the one that is usually kept after device reboots. After this commands, the counter will start again from 0 (or from the value you specified).

    Source: https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands-extended.md
    Helpful post? Buy me a coffee.
ADVERTISEMENT