Skip to content

adds support for Konnected momentary and beep/blink switches#15973

Merged
balloob merged 1 commit intohome-assistant:devfrom
konnected-io:konnected
Aug 14, 2018
Merged

adds support for Konnected momentary and beep/blink switches#15973
balloob merged 1 commit intohome-assistant:devfrom
konnected-io:konnected

Conversation

@heythisisnate
Copy link
Copy Markdown
Contributor

@heythisisnate heythisisnate commented Aug 14, 2018

Description:

This PR adds support for momentary switches and beep/blink switches in the Konnected component.

A momentary switch actuates a switch for a specified time (in milliseconds) and then reverts it back to the off state. This is commonly used with a relay module to actuate a garage door opener, or with a doorbell to send a momentary trigger to sound the doorbell.

A beep/blink switch is like a momentary switch that repeats either a specified number of times or indefinitely. This is commonly used with a a piezo buzzer to make a "beep beep" sound when a door is opened, or to make a repeating beep pattern for an alarm or audible warning. It can also be used to blink lights.

Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.io#6016

Example entry for configuration.yaml (if applicable):

konnected:
  access_token: REPLACE_ME_WITH_A_RANDOM_STRING
  devices:
    - id: 8bcd53
      switches:
        - zone: out
          name: siren
        - zone: 5
          name: 'Beep Beep'
          momentary: 65
          pause: 55
          repeat: 4  
        - zone: 5
          name: Warning
          momentary: 65
          pause: 55
          repeat: -1
        - zone: 3
          name: 'Garage Door'
          activation: low
          momentary: 500

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

@balloob balloob merged commit c7f7912 into home-assistant:dev Aug 14, 2018
@ghost ghost removed the in progress label Aug 14, 2018
@balloob balloob mentioned this pull request Aug 29, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants