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

Time based cover not working #13

Closed
vrublevskys opened this issue Jun 21, 2024 · 1 comment
Closed

Time based cover not working #13

vrublevskys opened this issue Jun 21, 2024 · 1 comment
Labels
invalid This doesn't seem right

Comments

@vrublevskys
Copy link

Hi! I have defined MQTT buttons and they are works properly

  - switch:
      unique_id: markiza_switch_open
      name: "Markiza Open"
      icon: mdi:blinds-open 
      state_topic: "tele/tasmota_sonoff/RESULT" 
      availability_topic: "tele/tasmota_sonoff/LWT" 
      payload_off: "AA B0 35 05 08 12AC 05E6 02B2 0186 22B0 481A3A3B2B2A3B2A3A3B2A3B2B2B2A3B2A3A3B2A3A3B2B2B2A3B2A3B2A3B2B2B2A3B2A3B2A3B2A3B2A 55" 
      payload_on: "AA B0 35 05 08 12AC 05E6 02B2 0186 22B0 481A3A3B2B2A3B2A3A3B2A3B2B2B2A3B2A3A3B2A3A3B2B2B2A3B2A3B2A3B2B2B2A3B2A3B2A3B2A3B2A 55" 
      payload_available: "Online" 
      payload_not_available: "Offline" 
      retain: false 
      qos: 1 
      command_topic: "cmnd/tasmota_sonoff/rfraw" 
    
  - switch:
      unique_id: markiza_switch_close
      name: "Markiza Close"
      icon: mdi:blinds
      state_topic: "tele/tasmota_sonoff/RESULT" 
      availability_topic: "tele/tasmota_sonoff/LWT" 
      payload_off: "AA B0 35 05 08 12DE 05DC 02BC 017C 2292 481A3A3B2B2A3B2A3A3B2A3B2B2B2A3B2A3A3B2A3A3B2B2B2A3B2A3B2A3B2B2B2A3B2B2B2A3B2B2B2A 55" 
      payload_on: "AA B0 35 05 08 12DE 05DC 02BC 017C 2292 481A3A3B2B2A3B2A3A3B2A3B2B2B2A3B2A3A3B2A3A3B2B2B2A3B2A3B2A3B2B2B2A3B2B2B2A3B2B2B2A 55" 
      payload_available: "Online" 
      payload_not_available: "Offline" 
      retain: false 
      qos: 1 
      command_topic: "cmnd/tasmota_sonoff/rfraw" 

Then I use cover_time_based integration to implement a cover

cover:
  - platform: cover_time_based
    devices:
      markiza_time_based:
        name: terrasse shutter
        open_switch_entity_id: switch.markiza_open
        close_switch_entity_id: switch.markiza_close
        travelling_time_down: 23
        travelling_time_up: 25

Added this cover to a panel, and nothing happens when I click buttons or drag a slider. Just see slider progress animation, but phisical cover not responds. What I did wrong?

@XilviuX
Copy link

XilviuX commented Jul 15, 2024

The switches are named like markiza_switch_open but in the cover definition you call markiza_open...

@Sese-Schneider Sese-Schneider added the invalid This doesn't seem right label Jul 22, 2024
@Sese-Schneider Sese-Schneider closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants