enbility / eebus-go

EEBUS protocol implementation in go
https://enbility.net
MIT License
52 stars 14 forks source link

Refactor public API to use messaging like interface as CEMd uses right now #78

Closed DerAndereAndi closed 2 months ago

DerAndereAndi commented 6 months ago

Instead of having an Interface with multiple methods required to be implemented to handle everything SHIP related, a specific message should be provided to a callback functions that hints e.g. on the data change. A set of public methods will be provided that can be called from the device implementation to trigger actions or grab data depending on the received message.

DerAndereAndi commented 2 months ago

Implemented as of v0.6.0