Switches, Dimmers & Outlets as Lights or Plugs in Alexa Echo Skill

Like many others, I have been irritated and struggling with how some devices when added from HE to Alexa, show up as lights or switches or a plug almost randomly.

Many have found although it is possible to change some of them in the Alexa app to either a light or a switch, many cannot be changed.

I stumbled on the possible reason last night and it has to do with drivers on the HE side.

I almost exclusively use @JasonJoel's drivers for my GE/Jasco switches, dimmers, fan controlers and motion switches. They work great and I highly recommend you try them. He has a few depending on hardware versions.

I have some wall switches that actually control outlets in several of my rooms. Even though these are named as an outlet, they show up as a light in Alexa... Last night I was looking at the composition of Jason's driver and I noticed the "Light" capability listed...

I did a little experiment and removed the capability "Light" in his driver, applied it to one of those wall switch controlled outlets, and bingo! The deivce actually changed to a switch in Alexa...

The cool thing about this is, I was able to go and change it to a light in Alexa... Just for some reason, if Alexa thinks its a light, it won't let you change it to a switch... However, if it's listed as a switch, I could change it to a light...

I hope this is a real find and not just a fluke that happened for me... It would explain a lot of the other posts where folks are frustrated not being able to change the device type.

Here is my question to @JasonJoel and all you other programming Gods. Does the capability "Light" need to be in the driver for some function on the HE side? If not, could it be removed from all drivers? Unless of course, it is integral...

Anyway, hope that might help someone else... This is the advantage of being able to use custom work. With the built-in drivers, I would never have been able to take a look and experiment. Thats what make the Hubitat platform so great!!!

2 Likes

Yeah I discovered this a while ago, hence why my switch drivers I only use the "Switch" capability and not "Light". Then when the device goes to Alexa or Google you have more flexibility on how you set it up there.

Also the reason why I actually prefer custom drivers over the built in ones.

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.