Here's an example of what the message will look like:
Code: Select all
Daughter's bus route HI-21 AM: Double back - Estimated Delay: 10-15 minCode: Select all
Daughter's bus route HI-21 AM: Double back - Estimated Delay: 10-15 minHey Ryan... basically every action that can be taken by a plugin should be scriptable, the key is just finding what the key values in the dictionary will be to pass in to the plugin. It should look something like this:I have a script that checks to see if my daughters bus is running late. What is the best way to script pushing this data to my wife's pixel phone with DomoPad? Trying to avoid a workaround by storing the text in a variable and having an Indigo trigger send the push, but I'm ok if that's the only way.
Code: Select all
plugin = indigo.server.getPlugin("com.duncanware.domoPadMobileClient")
plugin.executeAction("sendPushNotification", deviceId=123456, props={"message": "Hi there!", "importanceLevel":"normal"})