Uw opmerkingen

As variant - you may store XY value in Virtual Tag (set Store In DB), and send data by Virtual Channel (use Script Modifier)

function volume (in_Type, in_Name, in_Value) 
{
    IR.Log("in_Type: " + in_Type + "in_Name: " + in_Name + "in_Value: " +  in_Value);
    IR.GetDevice("AV & Custom Systems (HTTP)")
    .Send(['GET,http://ip:port//core/api/jeeApi.php?apikey=3mp8DMSfVyrjHEtvrQTb&type=cmd&id='+
    IR.GetVariable("Server.Tags.store_XY1")]);
}

Use of GetCommandAtName(name/ID).data did not bring results.


You must send command every minute to get feedback, or set this action on house automation box.

http://dev.iridiummobile.net/Editor_Server_Tools/en#Periodic_actions

Если расскажут как пользоваться AV & Custom Systems (File)

http://www.waveshare.com/wiki/Raspberry_Pi_Tutorial_Series:_1-Wire_DS18B20_Sensor


If support tells how to use AV & Custom Systems (File)

Как на счет DS9490R + OWFS?

Могу только на ПК проверить


How about DS9490R + OWFS?
I can check only on the PC

1+2 -> 4 "Send Text" to eval

IR.AddListener(IR.EVENT_START,0,function()
{
IR.SubscribeTagChange("Global._eval");
});
IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
switch (name)
{
case 'Global._eval':
if (value!='')
{
eval (value);
IR.SetVariable("Global._eval",'');
}
break;
default:
//
break;
}
});
function a (b,c){
IR.Log(b+c);
}

for the command with syntax that you like

function trigger_var()
{
//only one string in single quotes is allowed
IR.SetVariable("Global.out", 
((IR.GetVariable("Global.inp")) ? IR.GetVariable("Global.value1") : IR.GetVariable("Global.value0"))
.replace(/[0-9]+(?![^']*')/g, String.fromCharCode) //convert numbers to Char
.replace(/[, ]+(?![^']*')/g,'') //remove commas 
.replace(/\'(?!\')/g,''));  //'//remove single quotes, use double single quotes to escape
};

Temporarily you can use a simple script

function trigger_var()
{
(IR.GetVariable("Global.inp")) ?
IR.SetVariable("Global.out", IR.GetVariable("Global.value1")) :
IR.SetVariable("Global.out", IR.GetVariable("Global.value0"));
IR.Log(IR.GetVariable("Global.out"));
}

(use also "Save To Gallery")

Что-то эмулятор не может прожевать mp3, не стал разбираться в чем причина (https://sourceforge.net/projects/mp3diags/), просто пересохранил mp3-файлы http://online-audio-converter.com/ru/ можно пофиксить в MP3 Diags

На iPad при этом все в порядке