Hi. I’m using Broadlink RM Bridge to control my A/C using @af950833’s code as a starter. Basically, I find that defining buttons as momentary buttons rather than a switch seems to be a better way for me. So I have something like
definition (name: "Broadlink - AC", namespace: "smartthings", author: "af950833 + fishix") {
capability "Momentary"
command "ac_off"
command "ac_25"
}
def ac_off() { ... }
def ac_on() { ... }
I can send those commands fine. Now I’m trying to work with IFTTT so that when the door opens, say, have the A/C turn off. When I get to IFTTT setup (in Smartthings app), my custom device doesn’t show up. I believe IFTTT only shows devices with some specific capabilities (switches, motion sensors, contact sensors, etc.) but not momentary buttons. Just curious if there’s a way I can have the THAT part be a custom command.
This thread seems to suggest that a SmartApp could do that… but the code seems to have been removed. Any pointers would be very much appreciated.
Thanks so much!