Shelly have added native support for their WiFi relay switches in version 1.3 officially released this week
Configure under Internet and Security > Advanced - Developer Settings and tick " Enable action execution via MQTT"
Once you add your MQTT broker IP and username/password if applicable, you can use an application like MQTT.fx to subscribe to "shellies/#" to discover all of the MQTT goodness coming from your device/s.
The MQTT reference library is available from the Shelly API page here.
For reference, below is my MQTT packages config for Home Assistant. Simply replace the device ID with yours. Note that on one of the Shelly2 relays, I've only configured one of the two relays.
Shelly1 on Amazon https://amzn.to/2Qdexag
Shelly2 on Amazon https://amzn.to/2Io5aSf
Configure under Internet and Security > Advanced - Developer Settings and tick " Enable action execution via MQTT"
Once you add your MQTT broker IP and username/password if applicable, you can use an application like MQTT.fx to subscribe to "shellies/#" to discover all of the MQTT goodness coming from your device/s.
The MQTT reference library is available from the Shelly API page here.
For reference, below is my MQTT packages config for Home Assistant. Simply replace the device ID with yours. Note that on one of the Shelly2 relays, I've only configured one of the two relays.
Shelly1 on Amazon https://amzn.to/2Qdexag
Shelly2 on Amazon https://amzn.to/2Io5aSf
bonsoir et merci à vous.
ReplyDeletepour configurer sur home assistant 10.0 une sonde de temperature DS8b20 sur un esp8266 + esp easy qui envoie à un mosquitto vers nodered installé comme module de home assistant
mais j'ai un message :
Cette entité ("sensor.temperature_cuisine") n'a pas d'ID unique, par conséquent ses paramètres ne peuvent pas être gérés à partir de l'interface utilisateur. Consultez le documentation pour plus de détails.
ma config dans configuration.yaml
##### broker mosquitto #####
mqtt:
sensor:
- name: "temperature exterieure"
state_topic: "home/ESP_1/DS18b20/tempExt"
mqtt:
Deletesensor:
- name: "temperature exterieure"
unique_id: temperature_exterieure
state_topic: "home/ESP_1/DS18b20/tempExt