MQTT Push: Difference between revisions

From Domoticz
Jump to navigation Jump to search
Walter vl (talk | contribs)
Creation
 
Walter vl (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
To setup a regular data push from specific Domoticz devices to a MQTT Broker/Server you go to '''Setup - More options - Data Push - MQTT'''
To setup a regular data push from specific Domoticz devices to a MQTT Broker/Server you go to '''Setup - More options - Data Push - MQTT'''
If you want full integration including Read MQTT messages use the [[MQTT|MQTT Gateway]] or the [https://github.com/FlyingDomotic/domoticz-mqttmapper-plugin MQTT mapper python plugin]


'''Prerequisite''': An accessible MQTT Broker/Server to connect to.
'''Prerequisite''': An accessible MQTT Broker/Server to connect to.




You can add the individual devices you want to send to MQTT in the ''Edit Link'' section
You can add the individual devices you want to send the data to MQTT 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 wich 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 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.
Line 22: Line 24:
* CA file name, default empty (only needed when a certificate is needed)
* CA file name, default empty (only needed when a certificate is needed)
* TLS Version, default tlsv1.2 (only change when needed)
* TLS Version, default tlsv1.2 (only change when needed)
[[File:MQTT Push Setup.png]]

Latest revision as of 08:26, 24 June 2025

To setup a regular data push from specific Domoticz devices to a MQTT Broker/Server you go to Setup - More options - Data Push - MQTT

If you want full integration including Read MQTT messages use the MQTT Gateway or the MQTT mapper python plugin

Prerequisite: An accessible MQTT Broker/Server to connect to.


You can add the individual devices you want to send the data to MQTT in the Edit Link section

  • Device name: Select the device from wich the data has to be send to Influxdb
  • Value to Send: Some devices have multiple values eg Temperature, Humidity 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 MQTT Broker/server you can connect to.

  • Remote adress: (IP) adress of the MQTT server
  • Port
  • Username for the MQTT server
  • Password for the MQTT server
  • Topic Out Prefix (eg DomoHome)
  • CA file name, default empty (only needed when a certificate is needed)
  • TLS Version, default tlsv1.2 (only change when needed)