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
Dmitry Ryzhkov 10 months ago in iRidium Script • updated 10 months ago 2

Здравствуйте.


Необходимо получить инструмент для создания объекта Server через скрипт. Это необходимо для динамического добавления сервера на управляющей панели.


Например,

var Server = IR.CreateDevice(IR.DEVICE_SERVER, 'Device_Name', 'IP', Port);

0
Waiting for user's reply
Maurits Roos 10 months ago in iRidium Script • updated by Dmitry - support (expert) 10 months ago 1

Hi

I am looking at using Helios 2n sip intercom I have got the video feed working with an rstp feed but this requires and enhanced video licence to work


Can you get video working to work in iRidium using standard sip without using dynamic image with a rstp feed


Thanks

Maurits

0
Answered
Dmitry Ryzhkov 10 months ago in iRidium Script • updated by Ekaterina (head of support) 7 months ago 1

Здравствуйте


Мне необходимо реализовать следующий функционал через JS на сервере


1. Информация о подключении и отключении панели от сервера (описано в 10000-й теме http://support.iridiummobile.net/topics/10000-irevent_accept/)


2. Получение информации о нажатиях на элементы интерфейса через скрипт на сервере. Подробнее, я должен отслеживать в какое время и с какой панели произошло нажатие на элемент (IR.EVENT_PRESS, IR.EVENT_RELEASE, IR.EVENT_HOLD т.е. все возможные события).


На сколько я понимаю отслеживать нажатия с панели можно будет через IR.EVENT_GLOBAL_GUI_CHANGE.


Это очень необходимый функционал для перехода на сервер с АМХ.

0
Answered
Dmitry Ryzhkov 10 months ago in iRidium Script • updated by Ekaterina (head of support) 7 months ago 3

Здравствуйте


1. С помощью IR.EVENT_ACCEPT я могу узнать что панель подключилась к серверу. Как я могу узнать, что панель отключилась от сервера.


2. Как можно узнать количество панелей и их ID, подключенных к серверу. Т.е. есть ли объект Panels или что-то похожее.

0
Waiting for user's reply
Damian Hartin 10 months ago in iRidium Script • updated by Dmitry - support (expert) 10 months ago 1

I have a global cache iTach IP2IR where I want to set a command in script to the 3rd IR port.


The following command: IR.GetDevice("GC_TheatreRoom").Set("DIGIT 01",null); works but only sends to the first IR port.

How do I call a channel that's set on the third IR port?


Thanks,
Damian

0
Waiting for user's reply
Lance Price 10 months ago in iRidium Script • updated by Dmitry - support (expert) 10 months ago 1

var List = IR.GetPopup("Popup1").GetItem("List 1");


List.GetItem(item, 3, {Text:})


says it contains a null, but shouldn't this work? I'm not familiar with which method 'Gets' the data for use as a variable. I'm trying to copy a list item and all the property values that are not kept in the initial creation if a template, from a button within a list item (ie the text values in all the subitems).


This doesn't work either but might clarify what I'm trying to do:


var NeedThisTxt = List.GetItem(item).GetItem(subitem).Text;

//so I can do the below

List.CreateItem(item+1, subitem, {NeedThisTxt});


Please and Thank you!


0
Answered
Dmitry Ryzhkov 10 months ago in iRidium Script • updated by Dmitry - support (expert) 10 months ago 2

Здравствуйте.


Поддерживает ли Иридий кодирование/декодирование Base64?

0
Answered
Vladimir Muravyev 11 months ago in iRidium Script • updated by Kenny Stoepel 7 months ago 2

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

0
Not a bug
ai-systems@bk.ru 12 months ago in iRidium Script • updated 10 months 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
Joseanio Galdino 12 months ago in iRidium Script • updated by Dmitry - support (expert) 11 months 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.