Generic shutter and Siemens Logo

Hello together,
I use for my home a Siemens Logo and simple pressbuttons in every room for shutters and lights.
Now I want to make a smart home with home assistant. Some things are very easy but I have my dificults with my shutters.
I need a simple peak output from Home Assistant to open or close the shutters. The securityfeatures for the shutters are in the Siemens Logo (the motor gets only one signal to open or to close not both)
Over Node Red I can speak with the Siemens Logo very simple.
Has anyone some ideas how can I implement this in Home Assistant?
What I did…

  • shutter card in dashboard
  • input_boolean helper with automated turn off after 1 sek. (a simulation of a button)
  • some yaml code
cover:
  - platform: template
    covers:
      kinderzimmer:
        unique_id: cover.kinderzimmer
        device_class: shutter
        friendly_name: "Kinderzimmer"
        open_cover:
          - service: input_boolean.turn_on
            target:
              entity_id: input_boolean.test
        close_cover:
          - service: input_boolean.turn_off
            target:
              entity_id: input_boolean.test

Is this a good way for my plan or not? How can I use all functions of shutter card?
Thanks for help.

Charly

If I understand correctly you want the test input boolean to be pulsed on for one second?

If so, you can do this:

cover:
  - platform: template
    covers:
      kinderzimmer:
        unique_id: cover.kinderzimmer
        device_class: shutter
        friendly_name: "Kinderzimmer"
        open_cover:
          - service: input_boolean.turn_on
            target:
              entity_id: input_boolean.test
          - delay: 1
          - service: input_boolean.turn_off
            target:
              entity_id: input_boolean.test
        close_cover:
          - service: input_boolean.turn_on
            target:
              entity_id: input_boolean.test
          - delay: 1
          - service: input_boolean.turn_off
            target:
              entity_id: input_boolean.test

Perfect!
stop_cover works also fine

But how can I implement cover positions. There ist no sensor for this.
The only thing is the time I had.
e.g. full close takes 23 seks
50 % 12seks

But how can I implement this?

Thanks for help
Charly

Maybe this?

This sounds very good. But it is in archiv.
But there is a very good link. Time Based Cover — ESPHome
This sound much better. Near my Siemens Logo is a ESP32 for all my sensors. Maybe I can use this for the second solution.
I try both.
Thanks for your help.

Hello,
I tryed both solutions and it works fine. Now I have one problem.
I can use the cover over Siemens Logo and Home Assistant. But they are not syncron. How can I use a input signal into Home Assistant that only count the time and show it on GUI but don’t actiate the switch in the time based cover. But then I use the GUI in Home Assistant the switch should be activate.
I think the like time based cover with extra external buttons. Is this possible?
Thanks for help.