Welcome!

On this forum you can discuss iRidium with other users. iRidium consist of 2 main components - i3 pro app and iRidium Server. Please post here your questions, ideas or errors you find.

Please send your questions to support team as a private messages.


Please subscribe to the Change Log to know our news

0
Answered

IR.Execute Запустить приложение с ключом

Vladimir Muravyev 1 year ago in iRidium Script • updated by Kenny Stoepel 1 year ago 2

Возможно ли с помощью IR.Execute запустить приложение с ключом, которое передаст приложению доп. настройки (включит режим, и тд)? Например: C:\Progra~1\VideoLAN\VLC\vlc.exe --start-time=600

0
Not a bug

JSON.Stringify

ai-systems@bk.ru 1 year ago in iRidium Script • updated 1 year ago 4

Good day!

I have a code that create JSON.


var a = 2

var user = {

userName:"admin",

password:"569123A6421D6D392C469CA683504E66",

clientType:"Web3.0",

realm:"Login to 90:02:a9:c4:2b:a3",

random:"Login to 90:02:a9:c4:2b:a3",

passwordType:"Dafault",

id:"2",

session:"a",

}

str = JSON.Stringify(user);

IR.Log(str);


expect to see in log - {"userName":"admin", "password":"569123A6421D6D392C469CA683504E66", "clientType":"Web3.0", "realm":"Login to 90:02:a9:c4:2b:a3", "random":"Login to 90:02:a9:c4:2b:a3", "passwordType":"Dafault", "id":"2", "session":2,


BUT i see - {"userName":"admin", "password":"569123A6421D6D392C469CA683504E66", "clientType":"Web3.0", "realm":"Login to 90:02:a9:c4:2b:a3", "passwordType":"Dafault", "id":"2", "session":2, "random":"Login to 90:02:a9:c4:2b:a3"}


Why order is broken?

0
Answered

Syntax of CalculateCRC command

Joseanio Galdino 1 year ago in iRidium Script • updated by Dmitry - support (expert) 1 year ago 1

Hi all,

Someone could please help me with the syntax of IR.CalculateCRC() ?

I did not find in the wiki.


Thanks in advance.


0
Waiting for user's reply

i3 JS works on v2.2 ?

ofer 1 year ago in iRidium Script • updated by Dmitry - support (expert) 1 year ago 1

Can i3 JS (CoolMster Net) work on V2.2 App ?

0
Voting

New list alpha channel

Damian Hartin 1 year ago in iRidium Script • updated by Dmitry - support (expert) 1 year ago 4

Am following the sample project for the new list - is there any way to set the alpha channel for the list created in script? i.e. having a list with only a black background isn't great.

Also, where is all the documentation for this? I can't see anything on IR.ITEM_GOOD_LIST or anything recent about list management in general.

Thanks,
Damian




0
Answered

API Script - Condition with Popup

j4zz J4zzee 2 years ago in iRidium Script • updated by Dmitry - support (expert) 2 years ago 5

Hello everyone - One quick question please:


I would like to set an API script condition which would do this:


If popup1 is showed,

then show popup2 and hide popup1 and popup3


If popup1 is hidden

then toggle popup 2 and 3


I tried but couldn't figure out how to set the right script.


Any help would be much appreciated,

Thank you.


Answer

In the wiki: http://wiki2.iridiummobile.net/GUI_API#IR.EVENT_ITEM_SHOW


IR.AddListener(IR.EVENT_ITEM_SHOW,IR.GetItem("Popup 1"),function()
// Event is activated when popup 1 is shown
{
IR.Log("Popup 1 is Showing");//Outputting the message in the console
IR.ShowPopup("popup2")
IR.HidePopup("popup1")
IR.HidePopup("popup3")
});



IR.AddListener(IR.EVENT_ITEM_HIDE,IR.GetItem("Popup 1"),function()
// Event is activated when popup 1 is hidden
{
IR.Log("Popup 1 is hidden");//Outputting the message in the console
IR.TogglePopup("popup2")
IR.TogglePopup("popup3")
});

0
Answered

Show a specific pop in a static list

oggi katic 2 years ago in iRidium Script • updated by Dmitry - support (expert) 2 years ago 4

hi there


is there a solution to show a pop in a static list..


Example:


if i have 5-6 pop inside in the static list and want to go to last when i push on button..


is it possible and how..


thx

0
Under review

new yahoo weather app (Item overlay)

Paulo de Almeida 2 years ago in iRidium Script • updated 1 year ago 4

can somebody explain to me how the new Yahoo Weather app works? I copied the new JS into my project but kept my graphics as they all are named the same... except for this new frame item called overlay... what is the function of this? i can not select any city at the moment

0
Answered

Передача значения канала обратной связи HDL в переменную

Андрей Покровский 2 years ago in iRidium Script • updated by Ekaterina (head of support) 2 years ago 12

Подскажите пожалуйста конструкцию скрипта для передачи значения канала обратной связи HDL в переменную.

Пробовал так:

var motion=IR.GetVariable("Drivers.HDL-BUS Pro Network (UDP).Tags.HDL-MC48IPDMX_231:Sequence Control");

и так:

var motion=IR.GetVariable("Server.Tags.HDL-BUS Pro Network (UDP).HDL-MC48IPDMX_231:Sequence Control").

Значение motion остается равным 0, хотя значение тега изменяется.


Значения System Tokens и Driver Tokens передаются без проблем.

например:

var hour=IR.GetVariable("System.Time.Hour");


0
Under review

iTunes JS на версии 3

Антон 2 years ago in iRidium Script • updated by Joseph 8 months ago 2

Добрый день!

Обнаружилась проблемка при конвертации проекта с JS модулем iTunes с версии 2 на весрию 3. При попытке подключиться к iTunes, после ввода пароля пульта ДУ, iTunes ругается на неверный пароль и отказывается давать доступ.