Loxone + Prometheus

164 views
Skip to first unread message

XciD

unread,
Mar 26, 2019, 5:10:02 PM3/26/19
to Loxone English
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 :)

Screen Shot 2019-03-26 at 22.04.19.png

Andrew B

unread,
Mar 26, 2019, 8:59:55 PM3/26/19
to Loxone English
Excellent!!

breizhnos

unread,
Mar 27, 2019, 4:00:37 AM3/27/19
to Loxone English
Hi,
very impressive dashboard. 
on the other hand, I'm not a developer at all, can you do us a little how to?
I went to see GhitHub but I didn't find or understand the explanations.

David Wallis

unread,
Mar 27, 2019, 2:39:19 PM3/27/19
to Loxone English
Nice, Interested to see how you ported the webservice client as I need to get the c# libraries working for some of my own stuff.
Reply all
Reply to author
Forward
0 new messages