Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to control Somfy RTS device with Shelly i3 synced? #6

Open
mngsps opened this issue Feb 23, 2022 · 1 comment
Open

Possible to control Somfy RTS device with Shelly i3 synced? #6

mngsps opened this issue Feb 23, 2022 · 1 comment

Comments

@mngsps
Copy link

mngsps commented Feb 23, 2022

Good evening together :-)
I would like to control my somfy blinds with a Shelly i3 Button (works) and would love to have this synced in HA.
However, I'm not sure how to configure this.

This is my cover in configuration.yaml:

- platform: cover_time_based_synced devices: rollo_time_based_synced: name: Innenrollo zeitbasiert synchronisiert travelling_time_up: 31 travelling_time_down: 31 close_switch_entity_id: switch.rollo_wohnzimmer_links_close open_switch_entity_id: switch.rollo_wohnzimmer_links_open send_stop_at_ends: False #optional

But how to set the switches? Since the i3 itself does not implement switches, I tried to use template switches:

rollo_wohnzimmer_links_open: friendly_name: Rollo Wohnzimmer links öffnen turn_on: - service: cover.open_cover entity_id: cover.innenrollo turn_off: - service: cover.open_cover entity_id: cover.innenrollo rollo_wohnzimmer_links_close: friendly_name: Rollo Wohnzimmer links schließen turn_on: - service: cover.close_cover entity_id: cover.innenrollo turn_off: - service: cover.close_cover entity_id: cover.innenrollo

These switches will be controlled with the i3 as automations:

`alias: Wohnzimmer schließen
description: ''
trigger:

  • platform: device
    device_id: d912c908fc8a63978d0a939a7c3d2dd4
    domain: shelly
    type: single
    subtype: button1
    condition: []
    action:
  • service: cover.close_cover
    data: {}
    target:
    device_id:
    - 07359d81edcd8cf1b81c57ba4a1ade39
    - 6c3e4b37ec1ced21e4bee910881025b8
    mode: single`

and

`alias: Wohnzimmer öffnen
description: ''
trigger:

  • platform: device
    device_id: d912c908fc8a63978d0a939a7c3d2dd4
    domain: shelly
    type: double
    subtype: button1
    condition: []
    action:
  • service: cover.open_cover
    data: {}
    target:
    device_id:
    - 6c3e4b37ec1ced21e4bee910881025b8
    - 07359d81edcd8cf1b81c57ba4a1ade39
    mode: single`

Its working and I guess myself is the failure :-)
Any Idea how to set this up for me?
All the best and kind regards to you!

@mngsps
Copy link
Author

mngsps commented Feb 23, 2022

Sorry, no ide why it doesnt work with the code (in my edit text, it looks good)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant