Skip to content

budulinek/easy-loxone-influx

Repository files navigation

easy-loxone-influx

What is it good for?

This tutorial shows you how to easily send Loxone statistics to InfluxDB 1.8 timescale database through UDP messages. Once you have your data stored InfluxDB, you can visualize them with Grafana.

00

How to connect Loxone to InfluxDB?

In contrast to most other solutions and tutorials, this one does not use websockets for sending statistics from Loxone, but simple UDP (or HTTP) messages. It is very easy to setup and use. The configuration of individual measurements and statistics is done through Loxone Config.

There are essentially two solutions. Both of them allow you to set measurement names and tags for your statistics within Loxone Config. Choose for yourself and go to more detailed tutorial below:

1. UDP logger

Pros:

  • Easily attach UDP Logger to most objects in Loxone Config (no need to draw program in Loxone Config).

Cons:

  • Needs external Python script.
  • Messages sent by Loxone utilize custom syntax.
  • Loxone logger can only send statistics via UDP, not HTTP(S).

Here is a quick look at how it works:

02

For detailed instructions, go to a UDP LOGGER -> INFLUXDB TUTORIAL .

2. Virtual output

Pros:

  • Direct connection between Loxone and InfluxDB (no external script or third-party software).
  • Messages sent by Loxone comply to InfluxDB line protocol.
  • Virtual output can send statistics either via UDP or HTTP(S) messages.

Cons:

  • Requires you to draw a program in Loxone Config.

Here is a quick look at how it works:

10

For detailed instructions, go to a VIRTUAL OPUTPUT -> INFLUXDB TUTORIAL .