Skip to content

Conversation

@mamarguerat
Copy link

@mamarguerat mamarguerat commented Jan 14, 2024

According to https://www.strom.ch/sites/default/files/media/documents/20220511-rb-metering-code-ch.pdf (page 52), the second value of the OBIS code can only be 1, 3 or 5 in Switzerland.
This PR has been tested using homeassistant ESPHome and an electricity meter from Groupe E.

@mamarguerat mamarguerat changed the title Add specific OBIS codes for Switzerland Add OBIS codes for Switzerland Jan 14, 2024
@mamarguerat
Copy link
Author

hi @glmnet,
It would be nice if you could review my PR. Currently the library is not usable for Swiss electricity meters. If there is anything with this PR, I would be happy to resolve the issue.

@martignoni
Copy link

Would be cool to have this PR accepted, would solve use for us in Switzerland. See eg. esphome/feature-requests#2569.

Any news @glmnet?

@glmnet glmnet merged commit d569643 into esphome-libs:master Sep 17, 2024
@martignoni
Copy link

Thanks @glmnet!

@dmarguerat
Copy link

Thanks @glmnet !

@mamarguerat
Copy link
Author

Thanks, @glmnet ! Would you mind bumping the version to 0.10, so the change can be used by the version number ?

@martignoni
Copy link

See PR #22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants