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

Не приходя фидбэки от модуля тёплых полов HDL Buspro MFH06.432

Умед 6 years ago in Bugs and problems updated by Vladimir Ovchinnikov (expert) 6 years ago 7

Добрый день. Проблема заключается в том, что от модуля тёплых полов не приходят фидбеки об уставки, выбранном режиме и кнопки включения тёплого пола. Хотя все эти данные подгружаются при старте проекта.

0
Answered

JstDimmer / MlvDimmer issue with modbus

oggi katic 6 years ago in Bugs and problems updated by Vladimir Ovchinnikov (expert) 5 years ago 5

Hi 

Have somebody used jstdimmer / mlvdimmer with modbus? i have a issue when i send a token when i click on round joystick, 

it works normally when i descreasing and increasing on buttons

When i click on round joystick i get the command sends a 0 into modbus controller. 

Image 31570
0
Answered

Open Photo Gallery and receive an image

zaifulbahri kasim 6 years ago updated by Vladimir Ovchinnikov (expert) 6 years ago 7

Hello,

I'm trying to use "IR.EVENT_RECEIVE_PHOTO_FROM_GALLERY" event to let the user install his own images ..
that's my code  :

IR.AddListener(IR.EVENT_ITEM_PRESS, IR.GetPopup("Popup 1").GetItem("Item 1"), function(){
      if(IR.OpenPhotoGallery()) {
           IR.AddListener(IR.EVENT_RECEIVE_PHOTO_FROM_GALLERY, 1, function(filename, filepath)  {
                IR.Log("Photo selected.\n Filename: " + filename + "\n Filepath: " + filepath);
               IR.GetPopup("Popup 1").GetItem("img").GetState(0).Image = filename; 
               IR.GetPopup("Popup 1").GetItem("img").GetState(0).ImageStretch = 1 ;
           });
       }
});

I did open the gallery and choose a photo,
And I suppose to get those arguments from that event :
the filename which is the photo name and filepath which is the path for my photo.
But what i really got is a standard name for any photo I choose which is image.png and standard path to the project folder : iRidium pro documents\Client\"ProjectName"\images\Image.png
I got those result every time i choose a photo , and it stores one image only

What should I do to make iridium store the received photos with their original names and  how could store more than one ??

And Regarding the IR.Camera method is it only for live streaming videos or can the user took photos and store it ??

Appreciate your help 

0
Answered

Adding a delay in Javascript

Iain Brew 6 years ago updated 6 years ago 3

I am using Javascript to trigger a sequence of events in response to a button press. This is working well, however sometimes commands are skipped as I am not putting in delays. In the GUI side of iRidium this is easy by clicking on Delay and adding an 'ms' value. I have read through the documentation and haven't found how iRidium defines the equivalent when using JS/iRidium script i.e. IR.Delay = 300ms for example.

What is the best way to insert a JS delay?

IR.GetDevice("FMHS-ALERTSPKR-01").Set("Lab1_Alert_Playlist", ""),
IR.GetDevice("FMHS-ALERTSPKR-01").Set("play_sound", ""),
<INSERT A DELAY HERE>
IR.GetDevice("FMHS-ALERTSPKR-02").Set("Lab1_Alert_Playlist", ""),
IR.GetDevice("FMHS-ALERTSPKR-02").Set("play_sound", ""),
0
Answered

Taking parsed JSON and putting it into a Project Variable

Iain Brew 6 years ago updated by Vladimir Ovchinnikov (expert) 5 years ago 11

With thanks to this forum, I have been able to solve many issues with my current project. I have everything working perfectly now (using Philips Hue Dimmer switches to trigger various events/drivers etc in my system) however the only thing left which is stumping me is the ability to take a requested and parsed JSON value and have it written to a Server Channel/Tag:

//Get "temperature" number from motion sensor
            // SENSOR 2 TEMPERATURE
            var getTemperature = sensor2.state["temperature"];
            var tempreadout2 = getTemperature.toString();
            tempreadout2 = tempreadout2.slice(0,2) + "." + tempreadout2.charAt(2) + " ºC";
            IR.SetVariable("Server.Tags.Lab1_Temperature", "tempreadout2");

Here I request the temperature from a Philips Motion Sensor. When testing this on a panel project, I was able to send 'tempreadout2' to a text field and it worked. Instead, I want to send this to a Server Tag (named Lab1_Temperature) so that it can appear on any control panel subscribed to that feedback channel. 

What is the best way to 'insert' that text?

0

Memory expansion UMC

Alessandro Munari 6 years ago in Ideas updated by Vladimir Ovchinnikov (expert) 6 years ago 1

Continuing the previous topic of Memory expansion on UMS server ....

I know that when I select from the studio which variable to store it goes directly in the Iridium database. How can I choose in wich database to store the variable ?

I need to create script for that ? 

I think it will be good to add the popssibility to choose in wich directory to store the db file, and also allow, from the web server interface to select an USB or NETWORK path ... 

Don't you think is a good idea. The memory of UMC is very limited, but it can be expanded with USB drive or NETwork path (FTP, i.e) ...

0
Answered

Colourpicker RGB value

Harm 6 years ago in Tips and Tricks updated by Aleksandr Romanov (CTO) 6 years ago 2

Hello,

How can I use the colourpicker (http://wiki2.iridiummobile.net/Examples_of_Controlling_Equipment_of_the_KNX_Bus and https://s3.amazonaws.com/iRidiumWiki2.0/Driver_KNX/KNX_ColorPicker.irpz) on one RGB-address (3x255)?

The variable "color" does not have the right value and need to be converted.

Someone have an idea?


Best wishes,

Harm

0
Answered

script indexOf()

Romain LE CAN 6 years ago in Bugs and problems updated by a pivovarov 4 years ago 11

Hello,


i want to use a javascript function on my project but when i use it i can see on the log "function is not defined"

the function is indexOf() to return the position of an element in an array.

array.indexOf(element)

is it the right syntax in iridium ?

thanks for your help

0
Answered

How to disable Static List scrolling

Ivan M. 6 years ago in Tips and Tricks updated by Vladimir Ovchinnikov (expert) 6 years ago 2

Hi to all,

I'd like to disable the manual scrolling in Static List object, but I can't see any option that can do the work. If I set to False the "Active" property then the objects inside the list are disabled too.

I already tried to add a listener via script but it seems not to work.

I use the Static List dinamically via script to populate it with popup objects.So I can't change the list type.

Any idea or workaround?

Thank you

0
Under review

is it possible to run SQL command on irpro server start?

Tanapol E. 6 years ago in Tips and Tricks updated by Vladimir Ovchinnikov (expert) 6 years ago 7

is it possible to run SQL command on irpro server start?

I would like to run 

"DELETE FROM `FLOAT_TAG_HISTORY` WHERE `VALUE` = 0.00" 

and

"DELETE FROM `INTEGER_TAG_HISTORY` WHERE `VALUE` = 0"

to clear out zero value in IR Main database