home assistant cover via mqtt
-
Hi,
Can someone help with moving from dynamic cfg ( mysensor discovery ) to static mqtt cover cfgmysensors: gateways: - device: 'mqtt' topic_in_prefix: 'mysensors-in' topic_out_prefix: 'mysensors-out' persistence_file: '/opt/homeassistant/mysensors.json' optimistic: false persistence: true retain: true version: '2.3'cover.yaml:
- platform: mqtt name: "${cover.name}" command_topic: "mysensors-in/${nodeid}/${cover.id}/1/0/3" state_topic: "mysensors-in/${nodeid}/${cover.id}/1/0/3" qos: 0 retain: true position_open: 100 position_closed: 0mysensors.json
{ "0": { "sensor_id": 0, "children": { "1": { "id": 1, "type": 5, "description": "", "values": { "30": "1", "3": "0", "31": "1" } },``` ... how should look currect command_topic state_topic set_position_topic position_topic
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login