Integrate EET SolMate with Homeassistant using MQTT (read AND write!)
Internal name: esham
--> Eet Solmate HomeAssistant Mqtt
esham
is a Python based program that integrates EET Solmate with
Home Assistant (HA) via MQTT.
Data flow is bidirectional. This means, that not only the Solmates gets queried and the data is provided and shown in HA as entities, you can also send back data from HA via MQTT to the Solmate. With the ability to send back data, you can dynamically adapt injection settings based on defined criterias calculated in HA (like when using Node-RED.
Mentionalbe Features:
esham
can be defined not to start automatically on AD startup.esham
provides logging but only for important stuff. Daily business is not logged except configured.esham
has a minimum foodprint and a very low CPU usage.esham
via a HA entity.Installation Options
esham
can be installed in 2 different ways:
As plain Python program that runs on independent hardware
As app in Appdaemon:
You need per Solmate installed, one instance of the script individually configured, Note that you need some additionals steps when using HAOS by adapting the AD config and entry scripts used accordingly.
Breaking Changes\ See the breaking changes for more details.
Important Improvements\ See the changelog for more details.
Before installing esham
, you must have:
Install via Plain Python\
Use this method when you want to run esham
fully independent on a host that has Python installed.
See the Plain Install Option documentation for more details.
Install via Appdeamon\
Dependent on the way how HA is installed, you can either
directly integrate esham
as app in the appdeamon addon or use a dedicated appdeamon container running
on a separate host. See the Appdaemon documentation for more details.
See the configuration documentation for more details.
See the migration documentation for more details.
See the upgrade documentation for more details.
See the multiple Solmates documentation for more details.
If a first connection and authentication on startup was successful to both worlds (Solmate via websocket, MQTT), any disconnect will initiate a reconnect. While this is easy with MQTT as it has this functionality perfectly embedded even if you shut down/restart the MQTT host, it is a bit more complicated with websocket required for the Solmate. If the connection can be reestablished by websocket automatically again, things are the same as with MQTT. But if this is not possible, for example if you reboot the Solmate and the connection is temporary gone, you can only act when trying to access websocket and deal with the error reported.
This means that a connection loss to the Solmate can only be recognized by accessing it like with regular query interval or setting a value via HA/MQTT.
You will therefore see that multiple timers are acting in sequence when a Solmate connection loss occurs. Depending on the incident, different timers and reconnection methods are used. As more sever, as longer it will take, but it will.
See the linked description documentation for more details.
See the linked description documentation for more details.
Intedned as optional info, see the linked description for more details.