I am trying to make a momentary virtual switch to use with action tiles. I am using a fire tablet 7 as a control center for smartthings and i want to add the switch to arm and disarm smart home moniter.
have you seen this article on the ActionTiles site?
I tried that and it didnt work. i couldnt set it to a momentary button so it kept running the routine but i only need it to run once.
Are you using the three virtual switch and six Automation approach, as suggested on the ActionTiles site? If you are and find you end up in a loop you could try the Simulated Switch handler instead of Virtual Switch. They have slightly different behaviour and some recent changes to how Automations are implemented seems to have caused problems for many Virtual Switch users.
If you just want to arm and disarm STHM from ActionTiles and don’t care about seeing the current status, you can do the job with just three momentary buttons and three Automations.
I use Anidea for Virtual Button but then I would because I wrote it. I do have a companion handler that extends the momentary action to a switch but that wouldn’t gain you anything as it is just as easy to detect a button push as a switch turning on or off.
how do i add that to smartthings?
It’s a custom DTH. See the FAQ for terms, concepts, and process. (The topic title is a clickable link)