It is Hard to follow.
And something went wrong in the yaml text.
???
Home Assistant Integration
Re: Home Assistant Integration
Hi scarcer,
Ich habe es kingekriegt. Wenn ich helfen kann melde dich gerne. Bin aber auch kein Home Assistant Nerd, aber die Rolladen laufen nun bei mir.
Ich habe es kingekriegt. Wenn ich helfen kann melde dich gerne. Bin aber auch kein Home Assistant Nerd, aber die Rolladen laufen nun bei mir.
Re: Home Assistant Integration
Now I could fix it.
All 14 Shutter switches are online in Homeassistant.
Some differences in the configuration. yaml!
But now it runs and the first automation is also working.
Thanks for the first ideas of a solution.
Here the text in my configuration:
The first four switches from smartercurry!
mqtt:
cover:
- name: "yamlShutter"
unique_id: "yamlShutterId"
qos: 1
command_topic: "cmnd/West-Wohnzimmer-Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/West-Wohnzimmer-Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/West-Wohnzimmer-Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/West-Wohnzimmer-Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte1"
unique_id: "yamlShutter1Id"
qos: 1
command_topic: "cmnd/Büro_1.OG_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Büro_1.OG_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Büro_1.OG_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Büro_1.OG_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte2"
unique_id: "yamlShutter2Id"
qos: 1
command_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_West_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_West_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte3"
unique_id: "yamlShutter3Id"
qos: 1
command_topic: "cmnd/Süd_Süd-West_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_Süd-West_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_Süd-West_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_Süd-West_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte4"
unique_id: "yamlShutter4Id"
qos: 1
command_topic: "cmnd/Süd_Süd-Ost_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_Süd-Ost_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_Süd-Ost_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_Süd-Ost_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
All 14 Shutter switches are online in Homeassistant.
Some differences in the configuration. yaml!
But now it runs and the first automation is also working.
Thanks for the first ideas of a solution.
Here the text in my configuration:
The first four switches from smartercurry!
mqtt:
cover:
- name: "yamlShutter"
unique_id: "yamlShutterId"
qos: 1
command_topic: "cmnd/West-Wohnzimmer-Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/West-Wohnzimmer-Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/West-Wohnzimmer-Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/West-Wohnzimmer-Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte1"
unique_id: "yamlShutter1Id"
qos: 1
command_topic: "cmnd/Büro_1.OG_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Büro_1.OG_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Büro_1.OG_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Büro_1.OG_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte2"
unique_id: "yamlShutter2Id"
qos: 1
command_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_West_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_West_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte3"
unique_id: "yamlShutter3Id"
qos: 1
command_topic: "cmnd/Süd_Süd-West_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_Süd-West_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_Süd-West_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_Süd-West_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte4"
unique_id: "yamlShutter4Id"
qos: 1
command_topic: "cmnd/Süd_Süd-Ost_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_Süd-Ost_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_Süd-Ost_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_Süd-Ost_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
Re: Home Assistant Integration
All is fine now!
mqtt:
cover:
- name: "yamlShutter"
unique_id: "yamlShutterId"
qos: 1
command_topic: "cmnd/West-Wohnzimmer-Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/West-Wohnzimmer-Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/West-Wohnzimmer-Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/West-Wohnzimmer-Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte1"
unique_id: "yamlShutter1Id"
qos: 1
command_topic: "cmnd/Büro_1.OG_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Büro_1.OG_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Büro_1.OG_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Büro_1.OG_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte2"
unique_id: "yamlShutter2Id"
qos: 1
command_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_West_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_West_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
And so on!
Und so weiter!
mqtt:
cover:
- name: "yamlShutter"
unique_id: "yamlShutterId"
qos: 1
command_topic: "cmnd/West-Wohnzimmer-Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/West-Wohnzimmer-Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/West-Wohnzimmer-Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/West-Wohnzimmer-Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte1"
unique_id: "yamlShutter1Id"
qos: 1
command_topic: "cmnd/Büro_1.OG_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Büro_1.OG_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Büro_1.OG_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Büro_1.OG_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
- name: "yamlShutte2"
unique_id: "yamlShutter2Id"
qos: 1
command_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/Süd_West_Wohnzimmer_Shutter/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/Süd_West_Wohnzimmer_Shutter/RESULT"
position_template: "{{value_json.Shutter1.Position}}"
availability_topic: "tele/Süd_West_Wohnzimmer_Shutter/LWT"
payload_available: "Online"
payload_not_available: "Offline"
And so on!
Und so weiter!