Add your idea or search for answers in existing topics. The most popular ideas will be implemented faster!

We have moved our support service to a new technical support system. Since 17.01.2022, we have disabled the ability to create appeals through the userecho personal account. Now all requests are processed via mail to support@iridi.com .

Thank you for your understanding and have a nice day.

0
Waiting for user's reply

Using information from System tokens in script.

TuomoHautala 9 jaar geleden in iRidium Script bijgewerkt door Dmitry - support (expert) 9 jaar geleden 2

Is there some kind of event what i can use in script to get information from System tokens when it's value changes?


Would be really useful to for example get information from wifi/3g token to script when it's value changes without using intervals or work events.

0
Beantwoord

How can IR.CreateEffect be used?

rocfusion 9 jaar geleden in iRidium Script bijgewerkt door Ekaterina (head of support) 9 jaar geleden 2

Hi,


In the wiki there is an simple explanation for using IR.CreateEffect for Fading a popup. http://wiki2.iridiummobile.net/Systems_API#Create_Effects


How Is it possible in script to specify the type of animation and for when it happen ( on show and on hide )? ie could a do something like use the slide effect to slide from the left when showing the popup and slide out to the right when hiding the popup.



Thanks,



Roger

0
Beantwoord

JSON. Помогите обработать

evg 9 jaar geleden in iRidium Script / AV and Driver scripts bijgewerkt door Dmitry - support (expert) 9 jaar geleden 2

Добрый день!

Помогите, пжст, уже всю голову сломал.

Устройство присылает мне данные в JSON, при этом, судя по тексту - это несколько объектов JSON. Например (это приходит в одном пакете):

{"notification":{"timestamp":"2016-04-22T14:24:22.590408","type":"PROGRESS_INFORMATION"}}

{"notification":{"timestamp":"2016-04-22T14:24:22.590475","type":"KEYBOARD"}}

{"notification":{"timestamp":"2016-04-22T14:24:22.590540","type":"TRACKPAD"}}

При этом между объектами я получаю переносы строки.

Как обработать эти данные с учетом того, что это не массив объектов, не единый JSON, идентификаторы не уникальные.


Полный пакет выглядит так (вырезал лишние данные, которые не влияют на суть):

HTTP/1.1 200 OK

Connection: Keep-Alive

Transfer-Encoding: chunked

Device-id: 8641

Content-Type: application/json

74b

{"notification":{"timestamp":"2016-04-22T14:29:01.597825","type":"PROGRESS_INFORMATION","kind":"playing","data":{"state":"play"}}}

{"notification":{"timestamp":"2016-04-22T14:29:01.597891","type":"KEYBOARD","kind":"device","data":"NONE"}}

{"notification":{"timestamp":"2016-04-22T14:29:01.597956","type":"TRACKPAD","kind":"device","data":"NONE"}}


Из этого пакета я вырезал текст от первой открывающей фигурной скобки до последней закрывающей.

Antwoord
Dmitry - support (expert) 9 jaar geleden

Победил.

Методом .split разрезал на куски по "notification", затем обработал, как 3 отдельных JSON'а.

0

Нативная команда эмуляции на компьютере ухода в фон программы

Vladimir Volodin 9 jaar geleden in iRidium Script 0

необходимо добавить такую команду которая будет делать эмуляцию (программы на планшете) ухода в фон программы i2control на компьютере, для того, чтобы по логам смотреть процессы которые будут происходить на планшете

0
Voltooid

Драйвер для проектора Sony VW1100ES (PJTalk)

evg 9 jaar geleden in iRidium Script / AV and Driver scripts bijgewerkt door Oksana (expert) 9 jaar geleden 1

Реализован только необходимый функционал.

SONY_PJTalk.irpz

SONY.js

VPLVW1100ES_codes.pdf

0
Waiting for user's reply

script to send universal switch to hdl logic module

juankgp 9 jaar geleden in iRidium Script bijgewerkt door Dmitry - support (expert) 9 jaar geleden 3

Hi please I need yur help I am trying to send a universal switch 1 to a hdl logic module I try with this

IR.GetDevice("HDL-BUS Pro Network (UDP)").set("HDL-ML01 (Logic timer) [LogicAudEPMAPS]:1",0);


but it doesn´t work


Thanks

0
Waiting for user's reply

I need HDL Play Box Design in IRidium. any body can help me

Anees 9 jaar geleden in iRidium Script / Interface scripts bijgewerkt door Dmitry - support (expert) 9 jaar geleden 1

I need HDL Play Box Design in IRidium. any body can help me

0
Voltooid

tcp ip socket

binujoseph 9 jaar geleden in iRidium Script bijgewerkt door Oksana (expert) 9 jaar geleden 2

HI, Can someone post a sample script file for a tcp ip socket chat application

0
Beantwoord

How to write to list items?

TuomoHautala 9 jaar geleden in iRidium Script / Interface scripts bijgewerkt door Dmitry - support (expert) 9 jaar geleden 3

I have created this simple project where I want to read and write on my list level items.

I know now how to read from them but having hard time trying to write to them.

So. How it's done? For example how do i write incoming feedbacks to different levels in list?


var List_1 = IR.GetItem("Frontpage").GetItem("Frontpage_list");


IR.AddListener(IR.EVENT_START,0,function()
{
List_1.Template = "Frontpage_list_template";
List_1.CreateItem(0, 1, {Text: "$V"});
List_1.CreateItem(1, 1, {Text: "$V"});
List_1.CreateItem(2, 1, {Text: "$V"});
List_1.CreateItem(3, 1, {Text: "$V"});
List_1.CreateItem(4, 1, {Text: "$V"});
List_1.CreateItem(5, 1, {Text: "$V"});
List_1.CreateItem(6, 1, {Text: "$V"});
List_1.CreateItem(7, 1, {Text: "$V"});
List_1.CreateItem(8, 1, {Text: "$V"});
});
IR.AddListener(IR.EVENT_LIST_ITEM_CHANGE, List_1, function(Item, Subitem, TypeEvent, object){
switch(Item){
case 0:
IR.Log("Level = "+Item+" Value = "+object.Value);
break;
case 1:
IR.Log("Level = "+Item+" Value = "+object.Value);
break;
case 2:
IR.Log("Level = "+Item+" Value = "+object.Value);
break;
}
});


0
Beantwoord

Beginer A/V TCP Help

Damian Hartin 10 jaar geleden in iRidium Script / AV and Driver scripts bijgewerkt door Oksana (expert) 10 jaar geleden 3
Hi,

Very newbie question here.

I'm trying to setup a simple power-on command for my Sharp Aquos TV.

Currently I can control this TV (Power On and Power off) via iRule with "POWR1  \x0D" command.

I have created a new Driver in the project device panel (from iRidium Base (2.0):AV&Custom Systems (TCP))  and set the appropriate IP address and port.

I have then created a command with a data string of "POWR1  \x0D" and associated to a button on my Main Page.

Unfortunatly, it doesn't work.

Is my logic/process correct or am I supposed to be doing something else?

If there is an issue with the way the command is formed, are there any tools in iRidium that will help me debug what the issue is?

Thanks in advance,
Damian