I need your help seting an installation with zigbee2mqtt running in one rpi and openhabian in other.
in the zigbee2mqtt. Everything seams to work. In the zigbee2mqtt logs I can see:
info <small>2024-10-02 10:41:12</small>`z2m: Restarting Zigbee2MQTT`
info <small>2024-10-02 10:41:12</small>`z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/restart', payload '{"data":{},"status":"ok","transaction":"pclgo-5"}'`
info <small>2024-10-02 10:41:26</small>`z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Botao_comercial', payload '{"action":"single","battery":100,"linkquality":201,"power_outage_count":115,"voltage":3012}'`
In the MQTT Explorer connected to the Openhabian machine I have:
But nothing happens to the Item.
Things:
Bridge mqtt:broker:mosquitto "MQTTBroker" [ host="localhost", port=1883, secure=false]
{
Thing topic Botao_fab "Botao" @ "Botao" {
Channels:
Type string : action "action" [ stateTopic= "zigbee2mqtt/Botao_fabricacao/action" ]
Type number : linkquality "linkquality" [ stateTopic= "zigbee2mqtt/Botao_fabricacao/linkquality" ]
}
Thing topic Botao_esc "Botão" @ "Botao" {
Channels:
Type string : action "action" [ stateTopic= "zigbee2mqtt/Botao_escritorio/action" ]
Type number : linkquality "linkquality" [ stateTopic= "zigbee2mqtt/Botao_escritorio/linkquality" ]
}
Thing topic Botao_comercial "Botão" @ "Botao" {
Channels:
Type string : action "action" [ stateTopic= "zigbee2mqtt/Botao_comercial/action" ]
Type number : linkquality "linkquality" [ stateTopic= "zigbee2mqtt/Botao_comercia_/linkquality" ]
}
Items:
String Botao_fabricacao "Botao" {channel = "mqtt:topic:mosquitto:Botao_fab:action", autoupdate="false" , expire="1s, vidro"}
String Botao_escritorio "Botao" {channel = "mqtt:topic:mosquitto:Botao_esc:action", autoupdate="false" , expire="1s, vidro"}
String Botao_comercial "Botao" {channel = "mqtt:topic:mosquitto:Botao_comercial:action", autoupdate="false" , expire="1s, vidro"}
I now I’m missing something, but can´t find what.
João