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

Konnected Inverse Sensors not Inverted #22451

Closed
mikeydarin opened this issue Mar 27, 2019 · 2 comments · Fixed by #22479
Closed

Konnected Inverse Sensors not Inverted #22451

mikeydarin opened this issue Mar 27, 2019 · 2 comments · Fixed by #22479

Comments

@mikeydarin
Copy link

Home Assistant release with the issue:

90.1

Last working Home Assistant release (if known):
84.6 (or later)

Operating environment (Hass.io/Docker/Windows/etc.):

Hassio

Component/platform:

Konnected - binary sensor inverse function

Description of problem:
HA starts up with inverted state, but the first state change is ignored and then the sensor functions as a regular (not inverse) sensor.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

(see garage sensor with "inverse: true" near the bottom)

#Konnected Zone and Device Configuration
konnected:
  access_token: !secret konnected_token
  devices:
    - id: !secret mac_id_k1
      host: 192.168.0.191
      port: 11308
      binary_sensors:
        - zone: 1
          type: door
          name: 'Front Door'
        - zone: 2
          type: door
          name: 'Swinging Back Door'
        - zone: 3
          type: window
          name: 'Great Room Windows'
        - zone: 4
          type: window
          name: 'Master Bedroom Window'
        - zone: 5
          type: window
          name: 'Office Bedroom Window'
        - zone: 6
          type: window
          name: 'Middle Bedroom Window'
      switches:
        - zone: out
          name: 'siren chirp'
          momentary: 65
          pause: 55
          repeat: 4  
        - zone: out
          name: 'siren'
    - id: !secret mac_id_k2
      host: 192.168.0.190
      port: 22085
      binary_sensors:
        - zone: 1
          type: window
          name: 'Street Bedroom'
        - zone: 2
          type: window
          name: 'Living Room Windows'
        - zone: 3
          type: door
          name: 'House to Garage Door'
        - zone: 4
          type: door
          name: 'Sliding Back Door'
        - zone: 6
          type: door
          name: 'Exterior Garage Door'
      switches:
        - zone: 5
          name: 'Beep Beep'
          momentary: 65
          pause: 55
          repeat: 4  
#        - zone: 5
#          name: 'Warning'
#          momentary: 65
#          pause: 55
#          repeat: -1  
    - id: !secret mac_id_k3
      host: 192.168.0.192
      port: 9540
      binary_sensors:
        - zone: 2
          type: garage_door
          name: 'Garage Door'
          inverse: true
      switches:
        - zone: 1
          name: 'Garage Switch'
          momentary: 400
    - id: !secret mac_id_k4
      host: 192.168.0.194
      port: 21011
      switches:
        - zone: 1
          name: 'Bedroom Bell'
          momentary: 5250

Traceback (if applicable):


Additional information:

@mikeydarin
Copy link
Author

@heythisisnate - here's the inverse sensor issue.

@heythisisnate
Copy link
Contributor

Thank you. I will look into this shortly.

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

Successfully merging a pull request may close this issue.

3 participants