Добро пожаловать!

В этом форуме вы можете обсудить iRidium с другими пользователями.

Основные компоненты iRidium - приложение i3 pro и iRidium Server. Публикуйте здесь свои вопросы, идеи и найденные ошибки.

Вопрос команде технической поддержки вы можете задать, отправив приватное сообщение или email.


Подпишитесь на Историю обновлений, чтобы быть в курсе всех новостей!


Мы перевели нашу службу поддержки на новую систему технической поддержки. С 17.01.2022 мы отключили возможность создавать обращения через личный кабинет userecho. Теперь все запросы обрабатываются по почте на support@iridi.com .

Спасибо вам за ваше понимание и хорошего дня.

0
Отвечен

Receiving/Feedback of RS232 using Global Cache

Qorin 8 лет назад в Products / Other drivers обновлен Jackie Roos 8 лет назад 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





Ответ
Dmitry - support (expert) 8 лет назад

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
Ожидает ответа пользователя

End users setup page

Selman Peskir 8 лет назад в Products / AV & Custom Systems обновлен Dmitry - support (expert) 8 лет назад 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 лет назад в Products / Other drivers 0

Hi,



Any one had integrate Vantage home automation system with iRidium ?

0

yamacha

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

0
Отвечен

IR.EVENT_RECEIVE_TEXT receiving hex > 0x80

Mike Slattery 8 лет назад в Products / AV & Custom Systems обновлен Dmitry - support (expert) 8 лет назад 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.

Ответ
Dmitry - support (expert) 8 лет назад

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
Отвечен

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

Александр Бондарь 8 лет назад в Products / Other drivers обновлен Aleksandr Romanov (CTO) 5 лет назад 20

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


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


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

0
Отвечен

XBMC-driver --> Ready for iRidium 3.0?

Theo Derks - NL (distributor) 8 лет назад в Products / Other drivers обновлен Dmitry - support (expert) 8 лет назад 1

Hi,


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


Thanks


Theo


0
Ожидает ответа пользователя

How to control KNX through internet by using knx ip router

Punith 8 лет назад в Products / KNX обновлен Dmitry - support (expert) 8 лет назад 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
Ожидает ответа пользователя

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

Daniel Petrini 8 лет назад в Products / HDL-BUS Pro обновлен 8 лет назад 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



Сервис поддержки клиентов работает на платформе UserEcho