MQTT-MAC-IP-mDNS (#1245)
This commit is contained in:
1 parent
1c62d74e56
commit
c4300a002f
21 files changed
+100
-100
No files matched your search
@@ -1,8 +1,8 @@
|
||||
# Integrate Home Assistant
|
||||
|
||||
Home Assistant provide the [MQTT integration](https://www.home-assistant.io/integrations/mqtt/) and through this integration it is possible to exploit and manage the messages published by OpenMqttGateway.
|
||||
Home Assistant provide the [MQTT integration](https://www.home-assistant.io/integrations/mqtt/) and through this integration it is possible to exploit and manage the messages published by OpenMQTTGateway.
|
||||
|
||||
Once this integration on home assistant is configured with the same mqtt broker, it is possible to create devices manually or through the autodiscovery function.
|
||||
Once this integration on home assistant is configured with the same MQTT broker, it is possible to create devices manually or through the autodiscovery function.
|
||||
|
||||
|
||||
## Auto discovery
|
||||
@@ -11,7 +11,7 @@ From Home Assistant site
|
||||
|
||||
> The discovery of MQTT devices will enable one to use MQTT devices with only minimal configuration effort on the side of Home Assistant. The configuration is done on the device itself and the topic used by the device.
|
||||
|
||||
On OpenMqttGateway the Home Assistant discovery is enabled by default on all binaries and platformio configurations except for UNO. With Arduino IDE please read the [advanced configuration section](../upload/advanced-configuration#auto-discovery) of the documentation. Here are a few tips for activating discovery on Home Assistant, but for detailed configuration please refer to the Home Assistant website.
|
||||
On OpenMQTTGateway the Home Assistant discovery is enabled by default on all binaries and platformio configurations except for UNO. With Arduino IDE please read the [advanced configuration section](../upload/advanced-configuration#auto-discovery) of the documentation. Here are a few tips for activating discovery on Home Assistant, but for detailed configuration please refer to the Home Assistant website.
|
||||
|
||||
Enable discovery on your MQTT integration in HASS.
|
||||
|
||||
@@ -36,7 +36,7 @@ OMG will use the auto discovery functionality of home assistant to create gatewa
|
||||
|
||||
## MQTT Device Trigger and RF
|
||||
|
||||
With OpenMqttGateway [configured to receive RF signals](./setitup/rf.html) the messages are transmitted as indicated by [RCSwitch based gateway](./use/rf.html#rcswitch-based-gateway), so it is possible to receive a pulse every time the sensor discover a signal.
|
||||
With OpenMQTTGateway [configured to receive RF signals](./setitup/rf.html) the messages are transmitted as indicated by [RCSwitch based gateway](./use/rf.html#rcswitch-based-gateway), so it is possible to receive a pulse every time the sensor discover a signal.
|
||||
|
||||
With autodiscovery enabled, HomeAssistant will discover a [MQTT Device Trigger](https://www.home-assistant.io/integrations/device_trigger.mqtt/) identified by the value field given in the mqtt argument.
|
||||
|
||||
@@ -163,14 +163,14 @@ Sensor:
|
||||
sensor:
|
||||
- platform: mqtt
|
||||
name: "Weight"
|
||||
state_topic: "home/OpenMQTTGateway/BTtoMQTT/AAAAAAAAAAAA" # replace your mqtt topic here
|
||||
state_topic: "home/OpenMQTTGateway/BTtoMQTT/AAAAAAAAAAAA" # replace your MQTT topic here
|
||||
value_template: '{{ value_json["weight"] }}'
|
||||
unit_of_measurement: "kg"
|
||||
icon: mdi:weight-kilogram
|
||||
|
||||
- platform: mqtt
|
||||
name: "Impedance"
|
||||
state_topic: "home/OpenMQTTGateway/BTtoMQTT/AAAAAAAAAAAA" # replace your mqtt topic here also
|
||||
state_topic: "home/OpenMQTTGateway/BTtoMQTT/AAAAAAAAAAAA" # replace your MQTT topic here also
|
||||
value_template: '{{ value_json["impedance"] }}'
|
||||
unit_of_measurement: "Ohm"
|
||||
icon: mdi:omega
|
||||
|
||||
Reference in new issue
Block a user