You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joe Keenan edited this page Jul 11, 2019
·
1 revision
Here's a simple example of sending a notification via Python scripting.
dev = indigo.devices[IOLINCID] # "IO Linc"
if not dev.states["binaryInput1"]:
pushPlugin = indigo.server.getPlugin("io.thechad.indigoplugin.pushover")
props = {
'msgTitle': "Indigo Alert",
'msgBody': "The garage door is OPEN!!",
}
if pushPlugin.isEnabled():
pushPlugin.executeAction("send", props=props)