Hi everyone,
Would like some assistance thinking something through. On my Raspberry Pi I have wired it to get a zone trigger for an alarm. I would like to ultimately send a notification to Indigo with the zone that 'fired'.
The current RPi script is a Python one. In it, I was calling an ssh shell script on the Mac mini Indigo server with the zone as a parameter. My problem is passing the parameter into Indigo. From what I can tell, it appears that I have to write 16 different .py files out instead of passing a parameter, which will then trigger the appropriate trigger/action group within Indigo. I'd love to pass the zone as a parameter, and then act upon the trigger in Indigo.
I keep running up against IndigoPluginHost and not being able to pass a parameter through it. Can anyone think of a better way than what I'm thinking, short of writing 16 different files for each alarm zone?
Thanks in advance,
Joe
P.S. I'd rather not use AppleScript to do this if possible.