Skip to content

Poll Solarman APIs and display data in HomeKit via MQTT broker

License

Notifications You must be signed in to change notification settings

rameezk/solarman-mqtt

Repository files navigation

solarman-mqtt

Poll Solarman APIs and display data in HomeKit via MQTT broker

Features

  • Display battery power as a light sensor
  • Display "Inverter Supply" as a contact sensor (useful for checking if supply is from Inverter or Grid)
  • Display battery SOC as a meta property on the contact sensor
  • Display low battery alert below a configured threshold
  • Display if battery is charging

Screenshots

Grid supplying power Battery level Inverter supplying power and battery power Low Battery Warning

Disclaimer

  • This has only been tested on a Sunsynk inverter with a Solarman WiFi data logger.
  • The docker images only targets the linx/arm/v7 architecture (raspberry pi 3b)

Prerequisites

Limitations

  • The Solarman WiFi loggers only send data every 15 minutes or so (the POLL_INTERVAL should be set accordingly)
  • Power values (usually watts) are modelled as a light sensor in HomeKit (in Lux). HomeKit does not support any sensor capable of displaying watts.

Setup

See the example docker-compose.yml for details.

About

Poll Solarman APIs and display data in HomeKit via MQTT broker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published