I am trying to set up a script that performs some actions. The clue to this is to get the timing right.
I want to try to control the angle of my vertical blinds, that are controlled by the rfx plugin. I think I have most of the information. But I am failing to put the pieces together. Hope someone can help me a bit with that.
What I want to do is the following:
1: Run action "Angle-"
2: After 3 seconds run action "STOP"
I have found the following information about this topic:
executeAction(actionId, deviceId, props.
I have found some information in the plugin. And I think action Id can be seen from this:
Action deviceFilter="nl.rjdekok.indigoplugin.RFXCOM.Somfy" id="AngleMinSomfyRelay"> <Name>Angle- Somfy</Name> <CallbackMethod>AngleMinRelay</CallbackMethod>
Action deviceFilter="nl.rjdekok.indigoplugin.RFXCOM.Somfy" id="stopSomfyRelay"> <Name>Stop Somfy</Name> <CallbackMethod>stopRelay</CallbackMethod>
Is this enough info to setup a script that calls these 2 actions?
regards