rameezk / solarman-mqtt

Poll Solarman APIs and display data in HomeKit via MQTT broker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 96.0%Language:Dockerfile 2.7%Language:Makefile 1.0%Language:Shell 0.3%