If you have ever been frustrated that Alexa Routines won’t reliably trigger from a Hubitat virtual switch, this project gives you a clean, Hubitat-native workaround: Alexa-friendly virtual contact sensors that you can “open” from Hubitat automations to trigger Alexa Routines, then auto-reset so they are ready for the next run.
What it is
A drivers-only package (no app required) that creates virtual contact-style triggers for Alexa routines with an automatic reset to 'closed'.
Requirements
*Hubitat platform 2.1.9 or newer (recommended)
*Hubitat built-in Amazon Echo Skill app (used to expose the trigger devices to Alexa)
*Alexa app and Alexa Routines
Install
Import the driver file from the repo’s drivers/ folder into Drivers Code. No app is required.
Quick start
*Install
*Create a single trigger device using the Virtual Contact Trigger driver
*In Hubitat’s Amazon Echo Skill app, select the trigger device you want Alexa to see.
*In the Alexa app, run Discover Devices.
*Build Alexa routines using: When this happens → Contact sensor → Opens.
*Test by running the Test command on the device.
Docs:
Full setup steps are in docs/setup.md, with troubleshooting in docs/troubleshooting.md.
Repo:
Release v0.9.0:
Feedback and issues
This is a public beta. If you run into anything odd, please share: Hubitat platform version, driver version, repro steps, and logs (enable debug logging if requested).