Influxdb: Difference between revisions

From Domoticz
Jump to navigation Jump to search
Walter vl (talk | contribs)
mNo edit summary
 
Walter vl (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
You can add the individual devices you want to send to Influx dB in the ''Edit Link'' section
You can add the individual devices you want to send to Influx dB in the ''Edit Link'' section


*Device name: Select the device from wich the data has to be send to Influxdb
*Device name: Select the device from which the data has to be send to InfluxDB
*Value to Send: Some devices have multible values eg Temperature, Humidity barometer pressure. Select here the value to send.
*Value to Send: Some devices have multiple values eg Temperature, Humidity or Barometer pressure. Select here the value to send.
*Target type: What triggers the send to influxdb action:
*Target type: What triggers the send to influxDB action:
**On value change: Only when the updated value is different from the previous.
**On value change: Only when the updated value is different from the previous.
**Direct: After each update in Domoticz, changed or not
**Direct: After each update in Domoticz, changed or not
Line 18: Line 18:
In the ''General Settings'' section you can enter the details of the InfluxDB you have created before.
In the ''General Settings'' section you can enter the details of the InfluxDB you have created before.


*Remote adress: (IP) adress of the influxdb server
*Remote adress: (IP) adress of the influxDB server
*Port
*Port
*Path: only when on a remote proxy server
*Path: only when on a remote proxy server
*Database: Name of influxDB that is created.
*Database: Name of influxDB that is created.
*Username/Password for old V1.x  influxdb installation.
*Username/Password for old V1.x  influxDB installation.
*Organization/Token for current v2.x influxdb installation.
*Organization/Token for current v2.x influxDB installation.
*Debug to log file: Yes/No
*Debug to log file: Yes/No



Latest revision as of 18:09, 2 December 2024

With InfluxDB, a time series database designed to handle high write and query loads, you can analyse your sensor values in more detail then the internal Device log and reporting system.

To setup a regular data push from Domoticz to Influx DB you go to Setup - More options - Data Push - InfluxDB

Prerequisite: An installed influxDB installation with an active (but empty) database (eg named: domoticz). Can be installed on the same or a different server (preferred).


You can add the individual devices you want to send to Influx dB in the Edit Link section

  • Device name: Select the device from which the data has to be send to InfluxDB
  • Value to Send: Some devices have multiple values eg Temperature, Humidity or Barometer pressure. Select here the value to send.
  • Target type: What triggers the send to influxDB action:
    • On value change: Only when the updated value is different from the previous.
    • Direct: After each update in Domoticz, changed or not
  • Link Active: Yes/No


In the General Settings section you can enter the details of the InfluxDB you have created before.

  • Remote adress: (IP) adress of the influxDB server
  • Port
  • Path: only when on a remote proxy server
  • Database: Name of influxDB that is created.
  • Username/Password for old V1.x influxDB installation.
  • Organization/Token for current v2.x influxDB installation.
  • Debug to log file: Yes/No

InfluxDB version 1

InfluxDB 2.0 protocols (from 2021.1 build 13253)