Ваши комментарии
Hello.
You can choose one of the following options:
1) Define commands in the driver and send them using the Set method.
2) Do not define commands in the driver and send data using the Send method.
In the second case the data to be sent must be specified in the script. You can read data in the EVENT_RECEIVE_TEXT or EVENT_RECEIVE_DATA events.
Clearing the folder will delete all saved settings of the i3 pro client.
Hello.
Delete the folder C:\Users\%username%\Documents\iRidium pro documents\Client\ before starting the emulator.
Hello.
The code should look something like this:
var device = IR.GetDevice("iRidium Server");
IR.AddListener(IR.EVENT_ONLINE, device, function()
{
device.Set("MQTT.room_1", 1);
});Code for this driver, with the following channel names (specify your channel names):

Hello.
For EditBox, there is an EVENT_ITEM_CHANGE event that is triggered when you enter text in EditBox. Similar events are not provided for other Item types. You can use SetInterval to do GetState, but this is a suboptimal solution to the problem.
Hello.
Check the Studio version.
Check on this project whether the token change will be shown in the log.
Hello.
Item does not have this property. Available properties are listed here. Please specify what you mean by status.
Hello.
If you use Custom UDP Network, the command should look like this:
IR.GetDevice("ASHLY").Set("ASHLY UDP:WC p1 +3db","");Read more here.
Use this code:
var defs = ['One','Two'];
var testObj = {
"Z1_1":[defs, defs],
"Z1_2":[defs, defs],
"Z2_1":[defs, defs]
};
var TSTR = JSON.Stringify(testObj, true);
IR.Log("TSTR JSON String:");
IR.Log(TSTR);
The JSON.Stringify method uses recursive nesting protection, but it captures objects at the same level.
Сервис поддержки клиентов работает на платформе UserEcho
Hello.
function hexToDec (hex) { return parseInt(hex,16); } var hex_value = '1b'; var result = hexToDec(hex_value); IR.Log("result = " + result);