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
Completed

Page Event

Mike Slattery 8 years ago in iRidium Script updated by Dmitry - support (expert) 8 years ago 1

Is there a method to know when a page changes?

Once I get an event, I can use var currnetPage = IR.CurrentPage.Name to get the name.


I guess I could just put this into a timer.


Seems that a PAGE_EVENT and POPUP_EVENT is needed.

0
Answered

Custom TCP Driver - Timeout

Nikolay Arbuzov 9 years ago in iRidium Script / AV and Driver scripts updated by Johan Vinke 8 years ago 3
Is there way to reduce timeout value for the Custom TCP driver ?

In case equipement is off it takes too long for the connection to timeout.

Thanks.
0
Answered

Popup page sending states

Nick Redant 11 years ago in iRidium Script / AV and Driver scripts updated by Oksana (expert) 9 years ago 5
Hi,

for one project I would like to change the state of a button when a popup is shown
is it possible to integrate this and so,

what are the type and feedback relations I have to use?


Thanks in advance…

Nick
0
Answered

.Value ???

Beckerautomacao 11 years ago in iRidium Script updated by Oksana (expert) 9 years ago 2

How do I get or set the value of a button?


I know there is a property "Text", there is "Value"? Not found anywhere and did not work in my tests.


Example text:
IR.GetItem ("PageName"). GetItem ("ItemName"). Text = "Text Item";


Example Value:
"IR.GetItem ("PageName"). GetItem ("ItemName"). Value = item";
0
Declined

Error with binding image url to UI item\s state "Image" property

Эмиль Боев 9 years ago in iRidium Script / Interface scripts updated by Oksana (expert) 9 years ago 8
If one will try to assign 2 images (from internet by url) to 2 different states of one UI item, there will be an error!

For example:

IR.GetPage("Page 1").GetItem("Test").GetState(1).Image = "http://some.site/second.jpg";
IR.GetPage("Page 1").GetItem("Test").GetState(0).Image = "http://some.site/first.jpg";


than both states (0 and 1) will be with "first.jpg" image.

If that one will try:

IR.GetPage("Page 1").GetItem("Test").GetState(0).Image = "http://some.site/first.jpg";
IR.GetPage("Page 1").GetItem("Test").GetState(1).Image = "http://some.site/second.jpg";


than both states (0 and 1) will be with "second.jpg" image.
Answer
Oksana (expert) 9 years ago
Hello,

We researched your task, and it's not a bug. In current conception working of Dynamic Image, we didn't plan this functional.
Dynamic Images work with only one state of item now.
0
Waiting for user's reply

exceptions not getting generated when the should be...

rocfusion 9 years ago in iRidium Script / Interface scripts updated by Oksana (expert) 9 years ago 3
Hi,

Take a look at the following project.  Run it….

The script refers to two popups from which only one exists in the project.

When the scripts runs, I would expect  "    var full = parent.GetItem(path[1]);" would generate an exception given that path[1]  doesn't contain anything when used against the beginpage variable.  Instead the full variable is assigned null.

The IR.GetPopup should generate an exception for the nextpage variable.  Given that we assigning an popup that doesn't exist in the project. 

Thanks,


Roger




noexception.irpz
0
Answered

Изменение параметра Time Up и Time Down

evg 9 years ago in iRidium Script / Interface scripts updated by Ekaterina (head of support) 9 years ago 1
Доброе утро!
Подскажите, возможно ли изменять из скрипта параметры Time Up и Time Down для анимированного элемента?
Если нет, то было бы не плохо.
0
Answered

Будильник на IOS

evg 9 years ago in iRidium Script updated by Ekaterina (head of support) 9 years ago 1
Возможно ли получить сигнал сработки будильника, встроенного в IOS?
0
Answered

try catch doesn't always work

rocfusion 9 years ago in iRidium Script / AV and Driver scripts updated by Oksana (expert) 9 years ago 4
Hi,

I have a script that parses an object.  Not every record contains the same fields. 

Only through breaking some other code in another script did the try catch statement trigger and the error was shown.

This is an simplified example of what I was trying. 

myobject =  [{ test : [data:"123",data:"1234"], test2:"abcd"}, { test : [data:"13",data:"134"], test2:"abc"},
      {  test2:"abcd"}];

try {
for(i=0;i<myobject.length;i++)
  for(y=0;y<test.length;y++)
    IR.Log("y is "+y)
}catch(error){IR.Log("there was an error  "+error)

I think that when you try this as a stand alone script its fine, yet when this example is used in an more complex project that contains multiple drivers then the try catch become less reliable.  My project contains  KNX, SIP, SONOS, XBMC,  Global cache, denon; plus more.


Thanks,


Roger
0
Answered

SIP REGISTER AND UNREGISTER

miro suchanek 8 years ago in iRidium Script updated 8 years ago 6

Hello,


how could I use the SIP REGISTER command? I couldnt find any instruction.


Thank you