Today, I released two (somewhat special-interest ^^) projects that are part of my smart home setup.
emma-webapi provides a REST API for Huawei EMMA — a device from Huawei’s solar ecosystem that monitors and manages energy flows, like solar output and battery charge. Since it only communicates via Modbus, I built this API to simplify integration by exposing a cleaner REST interface.
One of the connected services is
emma-influxdb-reporter, which sends data from the API to InfluxDB. From there, I use Grafana to visualize everything.
As always, everything is written in Kotlin - except for the used Modbus library.
Maybe one day I’ll take on the challenge of building my own. 😄
Eventually everything must be Kotlin. 😬