Hi All,
Like someone here, I wanted to have some metrics about my house. I used to work with prometheus so why not implement an exporter for loxone :) and, in order to add more fun, I also ported the loxone webservice client in Go.
You can find both repositories here:
An example of the prometheus export:
loxone_value{cat="Température",control="Bureau",room="Autre",state="value",type="InfoOnlyAnalog"} 22.06
loxone_value{cat="Energie",control="Chaudière",room="Central",state="actual",type="Meter"} 0.706
loxone_changes{cat="Eclairage",control="Projecteur Garage",room="Exterieur",state="active",type="Switch"} 10
loxone_value{cat="Volet",control="Sud 2",room="Séjour",state="position",type="Jalousie"} 1
All changes, and values are recorded in the exporter.
You can they use a Prometheus Server or a
Beamium tool to scrape your metrics
Then, you can easily create some graphs in grafana about anything in your house :)
Feel free to contribute to the code.
I will try to share my dashboards :)