The goal: I have a PICO remote controlling a light that is connected to Hubitat(Press button 1 lamp on, Press button 2 Lamp off).I would like to add functionality to the same Pico remote to control a device connect only to Alexa Example: I would like Button 4 to turn an Alexa connected lamp on, and Button 5 to turn the Alexa connected lamp off. I was trying to use Virtual device and Mirror but was not seeing the PICO remote as a source. DId I forget something or is this not possible?
Buttons are stateless so they are a little different than something like a switch.
I would recommend making a virtual switch and then use rules or button controller to make the buttons turn the switch on and off. Share the switch to Alexa.
Great suggestion, and this makes sense, I can't wait to try. I would like to report back instantly but this annoying need to work for a living is getting in the way. I can't wait to retire.. lol Thanks but I will get back to you with the update EVENTUALLY.
Don't forget that the switch shared with Alexa needs two Alexa Routines since the device is connected to Alexa.
- One routine to turn the Alexa connected device ON when the Hubitat virtual switch turns ON
- A second Alexa Routine to turn the Alexa connected device OFF when the Hubitat virtual switch turns OFF.
And now that you have Hubitat Elevation, I would recommend steering clear of devices that can only connect to Alexa. Otherwise your dependency on the cloud remains, defeating the advantage of a local Hubitat hub.