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

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
Answered

Receiving/Feedback of RS232 using Global Cache

Qorin 8 years ago in Products / Other drivers updated by Jackie Roos 8 years ago 8

Hi,


I would like to receive data by using the GlobalCache Wifi to Serial.


I used H-Term to periodically send data to globalcache along with USB to RS232 as my test setup (I am able to receive data from Iridium in H-Term)


Below is the code that I have implemented in java script.


var timer = 0;
var onTime = 50; // in ms
var pageNumber = 1;
var funcOp = 0xFF;

this.DriverName = "Global Cache";
this.device;
this.Online = false;
this.device = IR.GetDevice(this.DriverName);

var init = 0;
IR.AddListener(IR.EVENT_START,0,function(){
IR.Log("Hellooo!!!");
});
IR.AddListener(IR.EVENT_EXIT,0,function(){
});
IR.AddListener(IR.EVENT_RECEIVE_TEXT, this.device, function(text,id){
IR.Log("receive 1 = "+ text);
IR.GetPage("Gowing").GetItem("txtT").Text = "AAAAA";
});
IR.AddListener(IR.EVENT_WORK, 0, function(time){
var that = this;
var packXPC;
timer += time;
if(init == 0){
IR.AddListener(IR.EVENT_DEVICE_FOUND, that.device, function(name){
IR.Log("Name :"+name);
}, that);
IR.AddListener(IR.EVENT_ONLINE, that.device, function(text){
IR.Log(that.DriverName+" DEVICE is Online");
that.Online = true;
init = 1;
}, that);
IR.AddListener(IR.EVENT_OFFLINE, that.device, function(text){
IR.Log(that.DriverName+" DEVICE is Offline");
that.Online = false;
}, that);
}
if(timer > onTime){
timer = 0;
switch(pageNumber){
case 1:
packXPC = [pageNumber, funcOp];
break;
default:
packXPC = [0xFF, 0xFF];
}
sendPackage(packXPC);
/*IR.AddListener(IR.EVENT_RECEIVE_TEXT, that.device, function(text, id){
IR.Log("receive = "+ text); // Output the received data in the log
}, that);
/*IR.AddListener(IR.EVENT_RECEIVE_DATA, that.device, function(text, id){
IR.Log("receive 1 = "+ text);
})*/

}
});


So far, I did not receive anything in the log nor in the text box in the GUI when I test it.

Has anyone ever encountered this problem or has solved it?
Any feedback would be appreciated.


Thank you!

Q





Answer

Hi :)


4998 is the IR port. 4999 and above are the serial ports.


In the GUI editor did you set up a new AV & Custom Systems Driver TCP/IP driver?


We use this routinely to send and receive commands to serial devices via a Global Cache IP2SL. For serial devices via GC, I don't use the the GC driver at all, as it is not necessary and the AV & Custom Systems driver gives more flexibility.


Have you setup the GC IP2SL to have multiple connections in iHelp?



0
Waiting for user's reply

End users setup page

Selman Peskir 8 years ago in Products / AV & Custom Systems updated by Dmitry - support (expert) 8 years ago 1

I want to do a setup page for the end user. Be able to create a new room and be able to create a new button in this room and be able to give their names . I do not know how to do it

0

Vantage Home Automation

ofer 8 years ago in Products / Other drivers 0

Hi,



Any one had integrate Vantage home automation system with iRidium ?

0

yamacha

ведуться якісь небуть розробки драйвера для підсилювачів yamacha?

0
Answered

IR.EVENT_RECEIVE_TEXT receiving hex > 0x80

Mike Slattery 8 years ago in Products / AV & Custom Systems updated by Dmitry - support (expert) 8 years ago 2

Is there a reason why numbers that are > 0x80 are received as 0 when using IR.EVENT_RECEIVE_TEXT? Is there a driver configuration that allows all hex data to be received.I need to setup a telnet session and have to parse through data like "\xFF \xFD\x18". If I use EVENT_RECEIVE_DATA, then I have problems parsing ASCII data.

Answer

Hi Mkie

Probably as you are getting into the extended ascii characters (http://ascii-code.com/), and it depends on what is on your machine if they are the latin ones or not


I suggest using receive_data, and convert from the decimal to hex using something like this:


      IR.Log("Receive Raw Data: " + data);
      // Data received: 
      for (var i=0;  i < data.length; i++){
            data[i] = this.dec2hex(data[i]).toString();                            
      } //for 
      //Converted data:
      IR.Log("Receive Converted Data: " + data);


The following may come in handy:


   //**************************************************\\
// Data Conversion Routines \\
//**************************************************\\
var convertBase = function (num) {
this.from = function (baseFrom) {
this.to = function (baseTo) {
return parseInt(num, baseFrom).toString(baseTo).toUpperCase();
};
return this;
};
return this;
};
// binary to decimal
this.bin2dec = function (num) {
return convertBase(num).from(2).to(10);
};
// binary to hexadecimal
this.bin2hex = function (num) {
return convertBase(num).from(2).to(16);
};
// decimal to binary
this.dec2bin = function (num) {
return convertBase(num).from(10).to(2);
};
// decimal to hexadecimal
this.dec2hex = function (num) {
return convertBase(num).from(10).to(16);
};
// hexadecimal to binary
this.hex2bin = function (num) {
return convertBase(num).from(16).to(2);
};
// hexadecimal to decimal
this.hex2dec = function (num) {
return convertBase(num).from(16).to(10);
};
//**************************************************\\ // converts an array of hex or decimal to the \\ // the ASCII code \\ // eg 75 Decimal = K \\ //**************************************************\\ this.NumToChar = function(tmp) {
var arr = tmp;
var str = '';
var c;
for (var i=0; i<arr.length; i++) {
if (arr[i] != 0) {
c = String.fromCharCode(arr[i]);
str += c;
}
}
return str;
} //**************************************************\\ // Formats eg FF into 0xFF \\ //**************************************************\\ this.FormatToHex = function(hx){
hx = '0x' + String('0' + hx).slice(-2);
return hx;
}
0
Answered

MQTT driver не обновляет значения после открытия i3 pro

Александр Бондарь 8 years ago in Products / Other drivers updated by Aleksandr Romanov (CTO) 6 years ago 20

i3 pro на iOS не обновляет данные от mqtt драйвера при запуске.


Например, i3 pro запущен. Включаем свет. MQTT драйвер возвращает значение ON. Выключаем свет. MQTT драйвер возвращает значение OFF. Закрываем или сворачиваем приложение i3 pro. Запускаем снова приложение и видим значение ON, хотя свет все так же выключен.


Возможно ли заставить драйвер принудительно обновлять значения с брокера при открытии i3 pro?

0
Answered

XBMC-driver --> Ready for iRidium 3.0?

Theo Derks - NL (distributor) 8 years ago in Products / Other drivers updated by Dmitry - support (expert) 8 years ago 1

Hi,


can our installers use the XBMC-drivers (created for iRidium 2.x) in iRidium V3.0 ?


Thanks


Theo


0
Waiting for user's reply

How to control KNX through internet by using knx ip router

Punith 8 years ago in Products / KNX updated by Dmitry - support (expert) 8 years ago 4

We are using KNX - IP ROuter and HDL KNX devices are connected in the control panel , It works locally while we try to connect through internet it does not work, Kindly make a solution for it, Advanced thanks

0
Waiting for user's reply

How to read status of HDL wireless devices like 2-channel relay with 4 dry contacts?

Daniel Petrini 8 years ago in Products / HDL-BUS Pro updated 8 years ago 2

Hi

For the device HDL Buspro WIreless Relay:

http://www.hdlautomation.com/product-category/030-wireless/wireless-relay/


I can act on the 2 relays in Iridium interface project. It find in scan, it is ok.

But is not found the 4 dry contacts that exists in this device.


How to read the dry contacts status in Iridium, for this device?


Thank you
Daniel