The issue with this code is that it requires a door sensor that has ‘acceleration’ capabilities. This comes form the line of code:
section("Garage door multisensor"){
input "contactSensor", "capability.contactSensor",
title: "Garage Door Contact Sensor",
required: true
input "accelerationSensor", "capability.accelerationSensor",
title: "Garage Door Acceleration Sensor",
required: true
}
My Ecolink tilt sensor does have acceleration capabilities so it would not work without modifications to either the “Virtual Garage Door Manager” code or to my Ecolink’s device handler.
I use @Lgkahn implementation which works pretty well straight out of the box. Also, his implementation works with Alexa.
Here is the link:
Note: The thread is long, but if you read the first 50 posts, almost all the info you need is there.
Enjoy, Sandro