Getting presence from Alexa is a separate topic from combining presence, but here's the basics:
- We need a virtual presence sensor for "Alexa Presence". But the Hubitat-Alexa integration doesn't integrate presence sensors, only switches. So I created my own driver that implements both PresenseSensor and Switch, and exposes it as a switch to Alexa. You can download it here: Hubitat-Miscellaneous-Drivers/EnhancedVirtualPresenceSensor.groovy at master · joelwetzel/Hubitat-Miscellaneous-Drivers · GitHub
- So create one of those virtual presence/switch sensors and name it something like "Shivu - Alexa Presence" .
- In the Amazon Echo Skill app on Hubitat, add your new virtual sensor to the list that is integrated with Alexa.
- In the Alexa app on your phone, you need to add two routines:
- When your phone arrives at home, turn the virtual switch on
- When your phone leaves home, turn the virtual switch off
That's it. Now when you arrive and leave, the Alexa app on your phone should cause that virtual presence sensor to change state.
(And if you have HomeBridge set up to integrate with Apple HomeKit, the steps for integrating HomeKit presence into Hubitat are essentially identical.)