Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103101

Can't activate switch via MQTT

$
0
0

Hi, yesterday i have updated my HA to version 2022.05.0. Since this moment all my MQTT switches are inactive. I have added a one-o-one copy of the confirguration example => bedroom_switch. Please do see also the printscreens, the regular switches are activated and the MQTT switches inactivated.

Regular switches are those ones with shelly. The inactive are the MQTT switches.

What goes wrong here?

switch:
  - platform: mqtt
    unique_id: AATraplamp_switch
    name: "AATraplamp Switch"
    state_topic: "rflink/cmd"
    command_topic: "rflink/cmd"
    payload_on: "10;newkaku;00c2ecca;5;on;"
    payload_off: "10;newkaku;00c2ecca;5;off;"
    state_on: "ON"
    state_off: "OFF"
    optimistic: false
    qos: 0
    retain: true
  - platform: mqtt
    unique_id: Spots
    name: "Spots"
    state_topic: "rflink/cmd"
    command_topic: "rflink/cmd"
    payload_on: "10;newkaku;00c2ecca;6;on;"
    payload_off: "10;newkaku;00c2ecca;6;off;"
    state_on: "ON"
    state_off: "OFF"
    optimistic: false
    qos: 0
    retain: true
  - platform: mqtt
    unique_id: bedroom_switch
    name: "Bedroom Switch"
    state_topic: "home/bedroom/switch1"
    command_topic: "home/bedroom/switch1/set"
    availability:
      - topic: "home/bedroom/switch1/available"
    payload_on: "ON"
    payload_off: "OFF"
    state_on: "ON"
    state_off: "OFF"
    optimistic: false
    qos: 0
    retain: true
cover:
  - platform: mqtt
    name: "Zonnewering"
    command_topic: "rflink/cmd"
    state_topic: "rflink/cmd"
    qos: 0
    retain: true
    payload_open: "10;BrelMotor;5b0572;D1;DOWN;"
    payload_close: "10;BrelMotor;5b0572;D1;UP;"
    payload_stop: "10;BrelMotor;05b0572;D1;STOP;"
    state_open: "open"
    state_opening: "opening"
    state_closed: "closed"
    state_closing: "closing"
    payload_available: "online"
    payload_not_available: "offline"
    optimistic: false

Schermafbeelding 2022-05-05 om 06.56.38

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103101

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>