MQTT Cover Error Message

Hi,
i have several Somfy RTS Covers implemented from FHEM via MQTT to HASSIO.
I can control the covers (up, down, stop) and i get the state (open. closed) from the covers.
So far so good…
But i also get the following messages in the Log-Viewer:

2020-01-29 16:59:01 WARNING (MainThread) [homeassistant.components.mqtt.cover] Payload is not True or False: undefined
2020-01-29 16:59:01 WARNING (MainThread) [homeassistant.components.mqtt.cover] Payload is not True or False: down
2020-01-29 16:59:02 WARNING (MainThread) [homeassistant.components.mqtt.cover] Payload is not True or False: undefined

It doesn’t really hurt me, but i want to understand why this error appaer.

Here is the definition of one cover:

  • platform: mqtt
    state_topic: “/FHEM/OG_Luna/Rolladen_LUNA/state”
    command_topic: “/Service/fhem/cmnd”
    name: “Rolladen_LUNA”
    qos: 1
    retain: true
    payload_open: “set Rolladen_LUNA off”
    payload_close: “set Rolladen_LUNA on”
    payload_stop: “set Rolladen_LUNA stop”
    state_open: “open”
    state_closed: “closed”
    optimistic: false

Thanks for helping me out.

What is on that state topic?

Does the state of your cover match “open” or “closed”? To me, it looks like it is reporting a state of “down” at one point, then undefined for other points…

The device state ( open or closed ) will be updated only after a new message is published on state_topic matching state_open or state_closed .

You should match state_open and state_closed to the values in the Rolladen_LUNA/state topics.

If it doesn’t provide those values, use a position_topic instead (if it is reporting a value from 0-100)

If you don’t get position feedback either, just remove the state_topic from the setup if you don’t care about the state and just want to be able to open/close/stop the blinds.

Hi!

Did you get it working…
same thing here…

Cheers
Sebastian