Ваши комментарии

Здравствуйте, Александр


Все методы по работе с камерами в i3 pro (1.0.6):

http://dev.iridiummobile.net/Video_API

Пожалуйста, обратите внимание, что ВСЕ методы и свойства в JS регистрозависимы, необходимо писать .Image, а не .image

Hi to all


This module is not described in our version of Domintell protocol, so we are waiting for response from Domintell team with new protocol version

Это можно сделать, если одновременно показывать не более 4 (максимум 8, зависит от разрешения) видео-потоков. Других ограничений по числу камер нет.

Обратите внимание, появилась возможность настраивать камеры из скриптов, это может значительно упростить создание интерфейса:

http://dev.iridiummobile.net/Video_API#IR.CreateImage



Telegram message.irpz

first button sends a message from simple HTTP driver

second button uses SendEx method, it makes you able to process response from server.

Just need to know the group ID and message you want to send

Hi Jackie, I think you are talking about Multistate Button. But it is exactly the same as it was.

On the screenshot you see only simple Button with no more then 2 states + waiting (new function for Feedback: Channel)

Please clarify your request

You made an error in object creation. In any object you shouldn't add a comma after the last object item.

Please use any JS validator to be sure that you make everything right.


How it should be:

var a = 2;
var user = {
   userName:"admin",
   password:"569123A6421D6D392C469CA683504E66",
   clientType:"Web3.0",
   realm:"Login to 90:02:a9:c4:2b:a3",
   random:"Login to 90:02:a9:c4:2b:a3",
   passwordType:"Dafault",
   id:"2",
   session:"a"
   };
str = JSON.Stringify(user);
IR.Log(str);

and result will be:

{"random":"Login to 90:02:a9:c4:2b:a3", "userName":"admin", "password":"569123A6421D6D392C469CA683504E66", "clientType":"Web3.0", "realm":"Login to 90:02:a9:c4:2b:a3", "passwordType":"Dafault", "id":"2", "session":"a"}

Polifill for indexOf("item of array")
add this script in your project and you will be able to use indexOf(array) thats available in ECMA5


// Polifill, IndexOf
// ECMA-262, 5, 15.4.4.14
// http://es5.github.io/#x15.4.4.14

if (!Array.prototype.indexOf) {
  Array.prototype.indexOf = function(searchElement, fromIndex) {
    var k;

    if (this == null) {
      throw new TypeError('"this" is null or not defined');
    }

    var O = Object(this);

    var len = O.length >>> 0;

    if (len === 0) {
      return -1;
    }

    var n = +fromIndex || 0;

    if (Math.abs(n) === Infinity) {
      n = 0;
    }

    if (n >= len) {
      return -1;
    }


    k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);

    while (k < len) {

      if (k in O && O[k] === searchElement) {
        return k;
      }
      k++;
    }
    return -1;
  };
}

then you can use it:

var arr = ["All Systems", "Floor 1", "Room 1", "Room 3", "Room 4"];

var a = arr.indexOf("Room 1");
IR.Log(a);   // 2


Hi Theo, we sent a question to Michael to clearify the situation, I'll add you in CC in our dialog

No it is not possible.. please send your project to our email, I'll try to do something manually. You want to use graphics or something else?

Доброго дня


Загрузке может мешать брандмауер и антивирусное ПО. Все возможные причины описаны по ссылке

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