Cover syntax for 2 windows blinds

this works in my configuration.yaml without any issues:

  - platform: mqtt
    name: "Motorized Blinds1"
    command_topic: "BlindsMCU1/blindsCommand"
    set_position_topic: "BlindsMCU1/positionCommand"
    position_topic: "BlindsMCU1/positionState"
    state_topic: "BlindsMCU1/positionState"
    retain: true
    payload_open: "OPEN"
    payload_close: "CLOSE"
    payload_stop: "STOP"
    position_open: 0
    position_closed: 12

now, i am adding another to control the window on the 2nd floor so i added in “Blinds2.” i can see it in the web gui, but i cannot control it. is my syntax wrong?

cover:
  - platform: mqtt
    name: "Motorized Blinds1"
    command_topic: "BlindsMCU1/blindsCommand"
    set_position_topic: "BlindsMCU1/positionCommand"
    position_topic: "BlindsMCU1/positionState"
    state_topic: "BlindsMCU1/positionState"
    retain: true
    payload_open: "OPEN"
    payload_close: "CLOSE"
    payload_stop: "STOP"
    position_open: 0
    position_closed: 12
  - platform: mqtt
    name: "Motorized Blinds2"
    command_topic: "BlindsMCU2/blindsCommand"
    set_position_topic: "BlindsMCU2/positionCommand"
    position_topic: "BlindsMCU2/positionState"
    state_topic: "BlindsMCU2/positionState"
    retain: true
    payload_open: "OPEN"
    payload_close: "CLOSE"
    payload_stop: "STOP"
    position_open: 0
    position_closed: 12

That looks right to me, is the second blind definitely monitoring those mqtt topics?

thanks for checking out my syntax.
upon further investigation, i see that my ESP8266 is not even working. it is just flashing the blue light :frowning:
here’s the whole project on github in case someone wants to try the same thing. https://github.com/thehookup/Motorized_MQTT_Blinds

1 Like