Skip to content

pgrid sensor modbus #275

Closed Answered by mletenay
okanano asked this question in Q&A
May 1, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

'pgrid' in HA is calculated, resp. its sign is.
See https://github.com/marcelblijleven/goodwe/blob/0feabc41031c7f320aad8ef837032956e9d5cce9/goodwe/es.py#L68

It takes (absolute) power value from reg 0x518 and sign from reg 0x052F (01 - export to grid, 02 - import from grid)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@okanano
Comment options

Answer selected by okanano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants