Site Tools


integration_with_openhab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
integration_with_openhab [2019/03/12 10:10]
80.25.41.111
integration_with_openhab [2019/03/12 10:11] (current)
80.25.41.111
Line 17: Line 17:
 </​code>​ </​code>​
 The working process is as follows: The working process is as follows:
 +
  
   * There'​s a init.d daemon (mqtt_client) which listens to a mqtt topic (i.e. /​wifirelay/​light1/​command)   * There'​s a init.d daemon (mqtt_client) which listens to a mqtt topic (i.e. /​wifirelay/​light1/​command)
Line 44: Line 45:
   * The MQTT value for this topic   * The MQTT value for this topic
  
 +The script should be also called from console to get the paired RF devices and generate a configuration file in /​etc/​mqtt_client/​devices/​ every time a new RF device is paired.
 <​code>​ <​code>​
 #!/bin/bash #!/bin/bash
integration_with_openhab.txt ยท Last modified: 2019/03/12 10:11 by 80.25.41.111