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: 0
mysensors.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
1 out of 1
Suggested Topics
-
Forum Theme Problems
Announcements • 8 Apr 2014, 07:05 • hek 8 Apr 2014, 07:05 -
Gateway on my PI when i run HA
Home Assistant • 31 Aug 2024, 21:51 • diltech 5 Oct 2024, 10:31 -
Hi,
Home Assistant • 1 Sept 2024, 20:57 • diltech 1 Sept 2024, 20:57 -
Home Assistant update changed USB port name
Home Assistant • 14 Jan 2024, 17:25 • therik 15 Jan 2024, 10:26 -
HVAC type sensor in homeassistant
Home Assistant • 17 Aug 2024, 10:50 • tbowmo 17 Aug 2024, 20:51