homebridge-ifttt icon indicating copy to clipboard operation
homebridge-ifttt copied to clipboard

Change Accessory type from Switch to Garage Door

Open rahalb opened this issue 7 years ago • 4 comments

Is there any way to change how it appears in the Home App from a switch to a Garage door? For example, I have to tell siri "turn on/off the garage door" vs open/close the garage door.

rahalb avatar May 19 '17 18:05 rahalb

Tip: You could create two scenes with your own custom names ("Open the Garage Door" and "Close the Garage Door"). Add the Switch ON for Open scene, and Switch OFF for the Close scene. Et voila :)

martijnmnnk avatar Jun 28 '17 21:06 martijnmnnk

I’d also like this enhancement, @Brklnbnc work around is clever but having the visual effect in the Home app would also be nice...

gid204 avatar Jan 18 '18 02:01 gid204

Would also like to know if anyone can assist with adding the option to use a GarageDoorOpener accessory/platform instead of a switch, light, or fan!

MarvelDc97 avatar Apr 17 '18 19:04 MarvelDc97

Just figured it out! If you change controlService: new Service.Switch(s.buttons [b].caption) to controlService: new Service.GarageDoorOpener(s.buttons [b].caption) on line 117 it shows up as a garage door accessory. However, I do not know how to account for a sensor if attached

MarvelDc97 avatar Apr 23 '18 17:04 MarvelDc97