Home Assistant Integration
Re: Home Assistant Integration
It is Hard to follow.
And something went wrong in the yaml text.
???
And something went wrong in the yaml text.
???
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!
Re: Home Assistant Integration
Hello tasmota friends,
After quite some time i got the curtain control up in HA but strangely in my device directory, i see only sensors, no control entities...
Image 1
Image 2
Any idea what causes this issue?
My YAML entry:
My Mosquitto broker log:
Yes i have restarted HA completely multiple times already.
Thanks for any help
After quite some time i got the curtain control up in HA but strangely in my device directory, i see only sensors, no control entities...
Image 1
Image 2
Any idea what causes this issue?
My YAML entry:
Code: Select all
mqtt:
cover:
- name: "yamlShutter"
unique_id: "yamlShutterId"
qos: 1
command_topic: "cmnd/JalousieWohnzimmer/tuyasend4"
payload_open: "1,0"
payload_close: "1,2"
payload_stop: "1,1"
set_position_topic: "cmnd/JalousieWohnzimmer/shutterposition"
set_position_template: "{{value}}"
position_topic: "stat/JalousieWohnzimmer/RESULT"
position_template: "{{ value_json.Shutter1.Position }}"
availability_topic: "tele/JalousieWohnzimmer/LWT"
payload_available: "Online"
payload_not_available: "Offline"
Code: Select all
2025-06-19 12:54:29: New connection from 192.168.178.24:61792 on port 1883.
2025-06-19 12:54:29: New client connected from 192.168.178.24:61792 as DVES_4ABF94 (p2, c1, k30, u'mqtt-user').
Thanks for any help
Re: Home Assistant Integration
Wenn Du in der configuration.yaml die Eintragung gemacht hast,
Beispiele haben wir in unseren Beiträgen für weitere Schalter genug drin,
und Du schon die Kommunikation im Brokker siehst und auch die Sensoren,
dann kann doch in den Einstellungen nur die mqtt Integration noch nicht geladen sein?
Darin siehst Du bei richtigem Syntax Deiner Eintragung in der yaml Deine Entitäten der Schaltelemente,
diese kannst Du anwählen und Deinen Dashbords nach belieben dann hinzufügen.
Viel Erfolg
Beispiele haben wir in unseren Beiträgen für weitere Schalter genug drin,
und Du schon die Kommunikation im Brokker siehst und auch die Sensoren,
dann kann doch in den Einstellungen nur die mqtt Integration noch nicht geladen sein?
Darin siehst Du bei richtigem Syntax Deiner Eintragung in der yaml Deine Entitäten der Schaltelemente,
diese kannst Du anwählen und Deinen Dashbords nach belieben dann hinzufügen.
Viel Erfolg
Re: Home Assistant Integration
Hallo wirewolf,
Ich sehe gerade noch, dass Du über die Tasmota Integration gehst.
Dort habe ich auch nur die Sensoren unter den Geräten gesehen. Diesen Zustand hättest Du auch schon erreicht, ohne die Eintragung in die Configuration.yaml machen zu müssen!
Du musst die mqtt Integration installieren bzw. nachladen und siehst darunter dann die Entitäten Deiner yaml.Shutter Eintragungen.
Dort sind dann die Bedienelemente zu sehen!
Und diese als Entitäten in die Dashbords einfügbar.
Ich sehe gerade noch, dass Du über die Tasmota Integration gehst.
Dort habe ich auch nur die Sensoren unter den Geräten gesehen. Diesen Zustand hättest Du auch schon erreicht, ohne die Eintragung in die Configuration.yaml machen zu müssen!
Du musst die mqtt Integration installieren bzw. nachladen und siehst darunter dann die Entitäten Deiner yaml.Shutter Eintragungen.
Dort sind dann die Bedienelemente zu sehen!
Und diese als Entitäten in die Dashbords einfügbar.
Re: Home Assistant Integration
Pictures
- Attachments
-
- Pic 1
- Screenshot_20250628_172839_Home Assistant.jpg (230.79 KiB) Viewed 398388 times
-
- Pic 2
- Screenshot_20250628_172805_Home Assistant.jpg (194.71 KiB) Viewed 398388 times
-
- Pic 3
- Screenshot_20250628_172735_Home Assistant.jpg (125.12 KiB) Viewed 398388 times
Re: Home Assistant Integration
Pictures
- Attachments
-
- Entitäten mit Schaltelementen
- Screenshot_20250628_172850_Home Assistant.jpg (138.52 KiB) Viewed 398387 times
Re: Home Assistant Integration
Danke scarver, gestern hat mich der Support gebeten mal in meinen Entitäten zu suchen und tatsächlich taucht die Steuerung dort auf. Für mich war es nur bisher völlig normal dass Entitäten immer mit den entsprechenden Devices verknüpft sind. Kann ich das noch definieren?

Jetzt kann ich wenigstens die Automationen wieder verwenden und die Schalter inkludieren. Super!
Ich sehe dass bei dir der Schalter auch keine Info über den Status zeigt. Ist das immer so bei MQTT? Im Vergleich zu meinen anderen Rolladen (über Shelly eingbunden) ist das schon schade, dass ich im Dashboard nun nicht mehr sehe ob die auf oder geschlossen sind und zu wie viel % sie geöffnet sind etc.
Hier der Vergleich:

Außerdem spuckt mein HA Log zu den neuen Tasmota Schaltern immer folgende Meldung aus:
Hast du das auch? Ist das normal?
Danke nochmal für die Hilfe!

Jetzt kann ich wenigstens die Automationen wieder verwenden und die Schalter inkludieren. Super!
Ich sehe dass bei dir der Schalter auch keine Info über den Status zeigt. Ist das immer so bei MQTT? Im Vergleich zu meinen anderen Rolladen (über Shelly eingbunden) ist das schon schade, dass ich im Dashboard nun nicht mehr sehe ob die auf oder geschlossen sind und zu wie viel % sie geöffnet sind etc.
Hier der Vergleich:

Außerdem spuckt mein HA Log zu den neuen Tasmota Schaltern immer folgende Meldung aus:
Code: Select all
Logger: hatasmota.discovery
Quelle: components/tasmota/discovery.py:294
Erstmals aufgetreten: 17:55:10 (6 Vorkommnisse)
Zuletzt protokolliert: 18:46:10
Invalid shutter configuration, relay 1 is shutter but 2 is not
Danke nochmal für die Hilfe!