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
Under review

IR.AddListener(IR.EVENT_WORK,0,function() available in IR server?

Bram Swinkels 4 years ago updated by Vladimir Ovchinnikov (expert) 4 years ago 1

Hi,

Can I use IR.AddListener(IR.EVENT_WORK,0,function() in iRidium Server?

So the server always checks the script?

0
Answered

Complex button

Wouter van der Post 4 years ago updated by Aleksandr Romanov (CTO) 4 years ago 1

Hello,

I'm examining a way to build a 'control' that can easily be copy-pasted multiple times.

We've created a small video that shows the functionality of this control:

Screencast timer control.mp4

In this scenario the user can set a timer, and stop the timer when it's running. So initially I was thinking about a button with 3 states, in the Off state it looks like this:

Image 39285

The user can press the button and ends up in the second state. But in this state the user can adjust the time using the up/down arrows:

Image 39286

When the user presses 'start' the button ends up in the third state where the user can optionally stop the timer:

Image 39287

The actual timer functionality will be coded in JS, but I'm looking for the least complex way to create a UI like this without JS.

Do you have a suggestion how to accomplish this?

0
Answered

Languages of Google Home

Gabriel Manzano 4 years ago updated by Aleksandr Romanov (CTO) 4 years ago 1

I have seen on the Wiki-Documentation that Amazon Alexa voice control supports some specific languages. My question is what languages ​​does Google Home specifically support? I want to control an installation in Spanish language, is it possible?

Thank you

0
Under review

Error Delay Iridium

dungVN 4 years ago in Bugs and problems updated by Vladimir Ovchinnikov (expert) 4 years ago 1

I am working on a project using iridium pro software, knx schneider. There is an error I am making:

Software iridium when running the simulation, when I impact on the object such as: turn on the light, open, close curtains But the system has to wait 2 minutes to execute the command: light on, curtain opening and closing.

But when I directly affected the object value (light on and off, curtains opened and closed) on the central control unit (homelinks), the maximum effect was to change the value immediately (lights on, off, blinds closed, open )

My iridium file is too large to upload here 

Does anyone know this error?file iridium pro

11111.png

File iridium pro

https://drive.google.com/file/d/1OoWfVKE8G1_vrZT2yW8GuDsx8y7rcTv2/view?usp=sharing

0
Fixed

Iridiumserver password with "special" characters

Dennis Piet 4 years ago in Bugs and problems updated by Vladimir Ovchinnikov (expert) 3 years ago 1

During intial setup of my first Iridium UMC server I ran into trouble after setting the password.

After that I always got the "wrong password" error when logging in.

With some trial&error I found out that there is a problem with passwords with special characters.

At least passwords with ^ and & give problems.

Please fix this bug, or make sure that the user cannot set password with forbidden characters in the first place.

0
Answered

Custom value to text function

Dennis Piet 4 years ago in Ideas updated by Aleksandr Romanov (CTO) 4 years ago 9

In Iridium Studio there are some output templates to automatically convert value to text.

There is $V to show integer value, there is $F to show a float.

But what if we need some other conversion from equipment output to human readable labels?

Is there a way to let a custom function do this for us?  I think there is something like this in Iridium server, called script modifier, but how about in a panel-project?

Example usage:

In my project I have a modbus driver that provides 12 tags that read times in minutes.

These times have to be displayed on various pages on the panel in human readable form:

i.e. 5 = 00:05  and 1439 = 23:59

So, since I could not find the automatic conversion from value to text in label properties, I now have to do in JS script for all 12 time-values:

// Tag listener

IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)

{

function minutes2Time(minutes){

IR.Log("Minutes: " + minutes);

var l_date = new Date(0,0,0,0,minutes);

IR.Log(l_date);

return ("0" + l_date.getHours()).slice(-2) +

":" + ("0" + l_date.getMinutes()).slice(-2);

};

IR.SetVariable("Tokens.Time1 Text",

minutes2Time(IR.GetVariable("Drivers.WAGO Main PLC.Time1")));

...

IR.SetVariable("Tokens.Time12 Text",

minutes2Time(IR.GetVariable("Drivers.WAGO Main PLC.Time12")));

});

// Subscribe

IR.SubscribeTagChange("Drivers.WAGO Main PLC.Time1");

...

IR.SubscribeTagChange("Drivers.WAGO Main PLC.Time12");


// script end.


I would rather just drag the drive tag to the label I want to display it in. And then in the label properties specifiy my minutes2Time function to handle the conversion from value to text. 

0
Answered

Read sunset in scripts

Dan 4 years ago updated by Vladimir Ovchinnikov (expert) 4 years ago 3

Hi,

I'm adding timed events based on the local daylight times to a project, with the ability to use an offset for these events.

Reading through some similar topics, I have found that you do not natively support this, so I have added this functionality through scripts in the following way:

To get the sunset time in the scripts:

  • Created a schedule, 'Sunset' that begins at sunset and ends at sunrise, repeating every day.
  • Created a routine, 'Sunset'... WHEN 'Sunset' starts, THEN send_tag (System.Date.Day -> Sunset_Alert)
  • This channel has a script modifier that sets a tag with the current time when called

The same was done to get sunrise time.

I have left this running over the weekend to populate the server tags with the current sunset and sunrise times before I implement the timed events functionality.

The sunrise tag has correct values, while the sunset tag is still blank.

Looking at the server logs, I've noticed the following

  • I see the following each time it is sunrise, which correctly sets the sunrise time
    • [08-03-2020 06:07:00.002] INFO State of event 'Sunrise' has been changed to start
      [08-03-2020 06:07:00.002] INFO SCRIPT Sunrise set to 6:07
      [08-03-2020 06:07:00.002] INFO Routine 'Sunrise' has been activated
      [08-03-2020 06:07:00.002] INFO State of event 'Sunset' has been changed to finish
  • I do not see any other mention of 'Sunset' in the logs.

I have tested changing the channel 'Sunset_Alert' from the web interface - the script modifier is correctly called.

Below is the schedule and event for Sunset that I have, can you see any reason why this may not be working?

Image 38723

Image 38725

Kind Regards,

Dan

0
Answered

Edit box limit value trough server

Bram Swinkels 4 years ago updated by Aleksandr Romanov (CTO) 4 years ago 6

Is there a way that I can limit my characters in my editbox while I'm using a server. I have a script the only allows 2 characters, but when I go to my server panel I can fill more than 2 characters.

0
Under review

raspberry Pi 4

Anton Gegeniger 4 years ago updated by Vladimir Ovchinnikov (expert) 4 years ago 3

Have you tried to run the Server on a Raspberry Pi 4? Is there any possible problem? Just want to buy Pi 4 for using as a server.

0
Answered

Script Modifier will not run if it got same value?

Tanapol E. 4 years ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 4 years ago 3

IR version 1.3.12