hjdhjd / homebridge-myq

:car: myQ Liftmaster and Chamberlain Plugin for Homebridge https://github.com/nfarina/homebridge
Other
570 stars 44 forks source link

Door sensor #997

Closed JobWhisperer closed 1 year ago

JobWhisperer commented 1 year ago

So I’m trying to create an automation in HomeKit, where if my garage door has been open for more than an hour and a half HomeKit will shut the door. With the available options and automations and my limited knowledge of Shortcuts, I don’t see the options after either an accessory has been controlled or a sensor detects something. I’m wondering if the sensor on the actual door can be revealed in home bridge so that the automation or shortcut can take advantage of its state. After triggering an open or close of the door, I’ve seen on a status that the garage door is either opening or closing so I know there is some reporting somewhere but not sure how to expose it. Any help would be greatly appreciated. in the myQ app, I have previously set up as scheduled but the schedule is not conditional and only triggers at a certain time of day.

Is your feature request related to a problem? Please describe:

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

sfguyfor20 commented 1 year ago

I do the same thing... I use a dummy switch with a timer on it... when I come home, the dummy switch is triggered, which triggers the garage door to open... when the timer runs out.. the dummy switch turns off, which triggers the garage door close... simple conditional triggers to open/close the garage door because of the homekit built in security around doors...

JobWhisperer commented 1 year ago

Sounds like a Monday morning challenge. The problem is, is this dummy switch hardware or software and how/where do I create it?

sfguyfor20 commented 1 year ago

well, several options... currently I use the hoobs dummy switch... image

before that, I used a hues smart plug... any smart device can be used as the trigger... except a door

JobWhisperer commented 1 year ago

Had no clue about this dummy switch! Thanks…I’m reading up on them now. Have a good start to the week!

On Mon, Feb 20, 2023 at 08:04 sfguyfor20 @.***> wrote:

well, several options... currently I use the hoobs dummy switch... [image: image] https://user-images.githubusercontent.com/73134472/220128249-bbfc613b-7ac8-4228-a30e-9a3c81b2afc4.png

before that, I used a hues smart plug...

— Reply to this email directly, view it on GitHub https://github.com/hjdhjd/homebridge-myq/issues/997#issuecomment-1437072844, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARZZ3XQNBND3DO2GTUQRAHTWYN2VNANCNFSM6AAAAAAVB4NEBM . You are receiving this because you authored the thread.Message ID: @.***>

jr-79 commented 1 year ago

Would I be able to use this dummy switch to detect if my MyQ garage door opener is open for a certain amount of time, and trigger another HomeKit device? I’m trying to turn off my garage heater if the door is open for 300 seconds. And resume once closed? I was going to use an Eve door sensor for this, but the MyQ seems like a better source of truth.

sfguyfor20 commented 1 year ago

Is that the heater is a smart heater, or are you using a smart plug...? Homekit, isn't all that smart, so are you going to need something like "Homekit+" app or the "Eve" app. Both allow to manage based on status or status change... you can use the dummy switch as a timer.. triggered on the garage door opening... when the timer runs out, "something else can be triggered".. and/or you can create a second dummy switch on closing... there are some pretty good videos doing this sort of stuff on youtube (Shane Whatley comes to mind). The upshot of the hoobs dummy app, is that you can create all the dummy switches you need...

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue for related bugs.