Greetings, all. My goal is to turn on a Virtual Device in Indigo from my Apple Watch or iPhone using Siri. I want to be able to say, "Hey Siri, Open the Gate," etc.
I'm new to Shortcuts, Python, etc. I've read the Indigo Scripting Tutorial, I've read the threads in this forum category. Could someone help me please by outlining a beginners' level detailed steps to get this Shortcut running?
On the host iMac running Indigo server, from Terminal I can run this snippet and it turns on the Virtual Device "Drive Gate" (which in turn controls a contact closure on an Insteon I/O Lint-Controller on a motorized drive entrance gate and the gate movement is working:
indigo.device.turnOn(1796254136) #
Couple questions: When creating the Shortcut on iPhone, at "Add options from the bottom to build your shortcut," which Scripting option do you start with? Also, if I need SSH server enabled on the iMac, where/how do I do that? I'm open to installing Pythonista on the iPhone, if that's convenience. I will mostly be invoking this command while on WiFi on my own LAN but I might want to invoke it from WAN, as well, if that changes anything.
Lots of exciting and intriguing possibilities in the works! Many thanks!