Поделитесь своими идеями, пожеланиями и примерами в этом разделе. Идеи, за которые голосуют чаще всего, будут реализованы быстрее!

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

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

0
Завершен

Построение графиков (graph)

evg 9 лет назад в iRidium Script / Interface scripts обновлен Ekaterina (head of support) 9 лет назад 1
Проект строящий графики
Graph.irpz

Предложени по оптимизации и доработке приветствуются.
0
Отвечен

Dynamic Images import file

josvanstiphout 9 лет назад в GUI Editor обновлен Oksana (expert) 9 лет назад 2
Hello


In ' Dynamic Images' ' import file' is grayed out.
I would like to play an instruction video stored local on the iPad within the iRidium SW.
Is this possible, or is there a work arround for this.


Kind regards,
Jos van Stiphout
0
Отвечен

Загружаются не все картинки из проекта

evg 9 лет назад в GUI Editor обновлен Ekaterina (head of support) 9 лет назад 3
Добрый день!
Работаю над большим проектом с большим числом картинок.
С завидным постоянством возникает ситуация, когда загружаются не все картинки из проекта. Т.е. какие-то загружаются, а какие-то нет.
Статистики по картинкам нет, т.е. грузятся рандомом. Было такое и на других проектах.
Помогает удаление проекта из трансфера и перезапуск программы-клиента на планшете
0
Завершен

current timezone and other time functions

r riksma 9 лет назад в iRidium Script обновлен Olga (expert) 9 лет назад 2
As a workaround for the problem of cached requests I want to include the current device time in my http request.
http://support.iridiummobile.net/topic/671754-cache-of-command-in-offline-mode/
This way when a request is made that is older than a few minutes it will be blocked by the server.
It works fine for now but i am afraid i will run into problems when requests are made from a different time zone.
Could you add a command to get the current timezone, or one that always returns the current time in UTC? It would be even better to have a bunch of helper functions, like the ruby time object has for instance: http://ruby-doc.org/core-1.9.3/Time.html

Ответ
Olga (expert) 9 лет назад
Dear Sir,

Here is the string which gives full date with time and time zone (GMT).

var now = new Date();

Time can be converted from UTC to GMT using the script (please see the example in the attachment).

testUTC.irpz
0
На рассмотрении

Project crash because of script created joystick item

r riksma 9 лет назад в iRidium Script / Interface scripts обновлен Ekaterina (head of support) 9 лет назад 1
If you create a joystick item to use as a color picker by using a script, the project crashes when you click on the joystick. This is only in windows, on an iPad it works fine.
To reproduce:
-download your demo project:
https://s3.amazonaws.com/iRidiumWiki2.0/i2Scripts/JS_Iridium_demo_EditItem.irpz
-make sure you can click on the joystick by placing the code last or removing the other items.
-click and watch it crash.

Tested Editor versions:
V2.1.2.16841
V2.2.1.17647

Ответ
Ekaterina (head of support) 9 лет назад
Yes, you are right, the Joystic created via the script doesn't work for now.
It happens because the default value of MaxX and MaxY is zero, when you create it via the script, and you cannot change it. Now you cannot use CreateItem function for the Joystic, but we'll find a solution. Thank you.
0
Идет голосование

Temperature Measurement Token in Android

Artyom Syomushkin 9 лет назад в iRidium Script / Interface scripts обновлен Oksana (expert) 8 лет назад 2
A lot of Android devices feature Battery or CPU Temperature Sensor.
It would be useful to add them to System Tokens. With some correction such sensor can be used as ambient temperature sensor in the place where panel is installed.
System Tokens Android
0
Отвечен

Http request

Sorokin 8 лет назад в iRidium Script обновлен 8 лет назад 2

Пытаюсь разобраться с механизмом обработки HTTP запросов. Правильно ли я понимаю что стандартным скриптом нет возможности подключится к удалённому серверу для отправки HTTP запроса используя стандартный метод GET, а исключительно через создание драйвера?


Вопрос в том что стандартный драйвер погоды YahooWeather судя по параметрам выдаёт только текущие значения и значения на следующий день.


Мне бы хотелось используя стандартный запрос "http://weather.yahooapis.com/forecastrss?w=2122265&u=c" получать значения на следующие 4 дня...

0
Отвечен

Звук в iPad

Дмитрий Марков 9 лет назад в GUI Editor обновлен iRidiumNikita 9 лет назад 8
В iPad (и других IOS) устройствах есть параметры регулирования громкости через Настройки-Звуки, называется "звонок и предупреждения" (также можно установить изменять кнопками) и "Громкость" непосредственно в программах, например, когда находимся в Iridium те же самые кнопки на корпусе девайса меняют громкость, но какую то другую, видимо в рамках приложения.
В то же время когда привязываем какой-либо кнопке функцию Play Sound, мы там тоже устанавливаем уровень громкости слота.
Отсюда возникает несколько вопросов:
1. Как проигрывать звук в Iridium с изменяемой громкостью, например регулировать громкость входящего звонка от SIP-абонента.
2. Можно ли с помощью Iridium менять общую громкость девайса такую как "звонок и предупреждения" и "Громкость" в самом приложении
3. System tokens-Sound-Volume какой именно меняет параметр в устройстве?
0
Отвечен

missing standard ECMAscript functions

r riksma 9 лет назад в iRidium Script / AV and Driver scripts обновлен Oksana (expert) 9 лет назад 6
I think it is always a good idea not to copy and paste code too much.
that's why i would like to create a function and use it many times over.

The problem with this is that the variable scope is defined when creating the function, not when running it.
for example:

var a = 456;
var func_b = function() {
IR.Log(a);
}
function func_a(param_a) {
var a = 123;
param_a();
}
func_a(func_b);

This returns 456 but i want it to return 123

To fix this there should be methods like call, apply and bind but they do not seem to exist in iRidium.

I also noticed Splice() does not work. (used to remove items from an array)

What is the current level of compatibility with the ECMA standard?
Is it at least possible to add the functions that are missing?

(extra resources:)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
http://javascriptissexy.com/javascript-apply-call-and-bind-methods-are-essential-for-javascript-professionals/
0
Отвечен

Iridium + KNX

Егор Мазуров 8 лет назад в Продукты / KNX обновлен Oksana (expert) 8 лет назад 1

Здравствуйте. При подключении к KNX IP роутеру в эмуляторе Iridium выдает ошибку: Time of waiting for connection is over. Что это может быть и как это исправить? Спасибо.

Ответ
Oksana (expert) 8 лет назад

Здравствуйте, Егор


Вам уже было отвечено в предыдущей созданной теме: http://support.iridiummobile.net/topic/1067156-iridium-knx/


Так как вы пишите на русском языке, ваш вопрос был перенесен в форум для русскоязычных пользователей.

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