Your comments
Clarify: do you want to JS by pressing the button to send a certain value to the driver? If so, you can use Set:
http://dev.iridiummobile.net/Drivers_API/en#.Set
Hello.
To process the press, use IR.EVENT_ITEM_PRESS.
To delay command execution, use IR.SetTimeout.
To get feedback, use this IR.EVENT_TAG_CHANGE.
Look at the attached example. If we understand you correctly, we will add to our website documentation on your questions.
Hello.
The Item takes the value of feedback. If you receive values from several feedbacks and you want to track them all, then make a group of triggers - one item per feedback. You can make a separate trigger that enables/disables this group. Ie sends 4 commands, but without feedbacks.
Happy to help!
Yes, you can.
Do you have any more questions on this topic?
Hello.
After IR.EVENT_TAG_CHANGE you must specify a driver, not a system token. Check the system token, put in the if ... else. To allow the user to set the desired time in the panel project, add the project token and compare its value with the system token.
Hello.
Calling in_callback with resp parameter.
Hello.
Is your question resolved?
Customer support service by UserEcho
Yes, you can:
IR.GetPage ("Page 1").GetItem ("Item 1").State = 1;