Olá a todos,
gostaria da vossa ajuda a ultrapassar o problema de configuração dos meus shellies no HASSIO.
HA - HASSIO
Shelly 1
MQTT - Eclipse mosquitto docker
Configurações:
configuration.yaml
# MQTT Setup
mqtt:
broker: !secret mqtt_url
port: !secret mqtt_port
client_id: home-assistant
discovery: true
discovery_prefix: homeassistant
#config Shelly 1 test
switch:
- platform: mqtt
name: "Shelly1 Sala de Estar Luzes Laterais"
state_topic: "shellies/shelly1-b95df7/relay/0"
command_topic: "shellies/shelly1-b95df7/relay/0/command"
payload_on: "on"
payload_off: "off"
retain: "false"
qos: 1
- platform: mqtt
name: "Shelly1 Sala de Estar - Luz Tecto"
state_topic: "shellies/shelly1-b920d5/relay/0"
command_topic: "shellies/shelly1-b920d5/relay/0/command"
payload_on: "on"
payload_off: "off"
retain: "false"
qos: 1
- platform: mqtt
name: "Shelly1 Sala de Estar Luzes Laterais"
state_topic: "shellies/shelly1-b95df7/input/0"
command_topic: "shellies/shelly1-b95df7/input/0/command"
payload_on: "on"
payload_off: "off"
retain: "false"
qos: 1
Configuração Shelly
MQTT:
persistence true
persistence_location /mqtt/data/
#password_file /mqtt/config/passwd_file
allow_anonymous true
#user mosquitto
# Port to use for the default listener.
port 1883
log_dest file /mqtt/log/mosquitto.log
log_dest stdout
Testes realizados
Testar publicações via MQTT.fx e HA
Na última imagem, sempre que activo Shelly não tenho qualquer resultado.
O que me está a escapar?
Obrigado