Directly connect balenaHealth to Home Assistant over MQTT

Last Updated on January 23, 2023 by pg@petergamma.org

BalenaHealth supports MQTT. There is an MQTT integration for Home Assistant. We can connect balenaHealth over MQTT to Home Assistant. We can export data from Home Assistant to InfluxDB, following Udo Berndts instruction:

We can read and write to InfluxDB following Rahul Banerjees example:

https://thenewstack.io/getting-started-with-python-and-influxdb/

We did not test all these examples yet. We are physiologists and non-coders. But we can imagine to test those and try out if we can get those to work, since all of them are well documented.