Hi,
I have a MyQ garage door which I can control from Vera using the MyQ app. This works well other than if the door is controlled by the original remote, it doesn’t update in Vera.
So I set about looking for a method that coil update. I found an App called Garage door which I’ve used on my other garage door and a gate and it works great, what it does is it uses a door / window sensor paired up with a relay to trigger the door to open or close. IF the sensor says it’s open and you tell vera to open the door, it will ignore the command because it knows it’s already open, the same for closed. So it works great. Also the status of the lock is automatically updated if the door / gate is opened / closed via a method other than Vera.
So I took to thinking if this could be used with my MyQ door. I got a tilt sensor from Vesternet and added it to the door, the sensor updates whenever the door is opened or closed. I then created another garage door via the app and added the sensor and the original MyQ lock as the sensor and relay for it. If I open the door manually with the remote, the lock updates in Vera which is exactly what I wanted. The downside is that if I click to open the lock it doesn’t tell the MyQ app to open / close the door.
So for example, the garage door app will show the door is locked, I click to unlock it, it shows that it’s sent a command and the lock temporarily shows that it’s unlocked, the command is send to the MyQ lock app but because it’s not a relay, it doe nothing, Moments later the Garage door app lock toggles it’s self back to showing locked again because that’s what the sensor is reading.
I hope everyone is still with me understanding what I’m talking about here.
So, what I want to do is one of the two following things.
- Some kind of code that automatically unlocks the MyQ lock when the garage door lock is unlocked. Sort if synchronising the two locks. This way, when I select the garage door and unlock it, the MyQ lock will automatically be unlocked too making it all work
or
- Again have some kind of code that updates the MyQ lock stars based on the Door / window sensor, this way if the door is opened manually, the sensor would pick this up and the MyQ lock would be toggled to the appropriate status.
Being a completely newbie at Vera and home automation I have no idea how to do this or if it’s even possible!
I think and important feature to mention here is that if the garage door is open and the MyQ app is showing as locked, toggling the lock to unlocked does nothing, so we whodunit end up with a situation where door would get stuck in some weird loop where it kept opening and closing because eth sensor was telling the lock in the app to change state. It wood only change it to what the actual state is which would cause no harm.
Doe sony of the above make any sense what so ever to the people that know far more about Vera and Luup capabilities than I do?
I sure do hope so.
Thanks all and I look forward to your suggestions of how this can be achieved