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
Voltooid

Page Event

Mike Slattery 8 jaar geleden in iRidium Script bijgewerkt door Dmitry - support (expert) 8 jaar geleden 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
Beantwoord

Custom TCP Driver - Timeout

Nikolay Arbuzov 9 jaar geleden in iRidium Script / AV and Driver scripts bijgewerkt door Johan Vinke 8 jaar geleden 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
Beantwoord

Popup page sending states

Nick Redant 11 jaar geleden in iRidium Script / AV and Driver scripts bijgewerkt door Oksana (expert) 9 jaar geleden 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
Beantwoord

.Value ???

Beckerautomacao 11 jaar geleden in iRidium Script bijgewerkt door Oksana (expert) 9 jaar geleden 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 jaar geleden in iRidium Script / Interface scripts bijgewerkt door Oksana (expert) 9 jaar geleden 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.
Antwoord
Oksana (expert) 9 jaar geleden
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 jaar geleden in iRidium Script / Interface scripts bijgewerkt door Oksana (expert) 9 jaar geleden 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
Beantwoord

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

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

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

evg 9 jaar geleden in iRidium Script bijgewerkt door Ekaterina (head of support) 9 jaar geleden 1
Возможно ли получить сигнал сработки будильника, встроенного в IOS?
0
Beantwoord

try catch doesn't always work

rocfusion 10 jaar geleden in iRidium Script / AV and Driver scripts bijgewerkt door Oksana (expert) 9 jaar geleden 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
Beantwoord

SIP REGISTER AND UNREGISTER

miro suchanek 8 jaar geleden in iRidium Script bijgewerkt 8 jaar geleden 6

Hello,


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


Thank you