Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы HUE. Перевод выполнен на 100%.

  • Main
  • Visualization
  • HUE
  • Содержание

    • 1 Philips HUE module
      • 1.1 Working With a Module
        • 1.1.1 Commands and feedback channels
        • 1.1.2 Script Scenarios
      • 1.2 Adapting For a Device With a Different Resolution
        • 1.2.1 Editing Rules

    Philips HUE module

    A remote control for Philips lamps.

    Characteristics:

    • lamp color control;
    • lamp brightness control;
    • lamp color saturation control;
    • switching on/off;
    • scripts;
    • displaying the set color;
    • notifications(switching off, downloading data, authorization, search);
    • auto search of HUE router.


    Supported iRidium Versions: V2.1.2 and later

    App to start the module on iOS/Android: i2 Control V2.1 and later


    Required licenses: iRidium for AV & Custom Systems: Device license Pro


    HUE main.jpg
    HUE info.jpg

    Download the Philips HUE module from our website:

    download

    • Philips HUE module>>

    The archive contains the module file for iPad 1, 2, iPad Mini with screen resolution 1024x768 and a brief instruction in Russian and English.

    If you want to run the module on another device (Android, Mac), adapt it to the required resolution.

    Working With a Module

    Run the Philips HUE module in the Emulator in your PC, tablet, smartphone to see how it works. There is no need to set up or edit the module in iRidium GUI Editor for this purpose. The module requires a license for AV & Custom Systems (Pro) to operate.

    Note:

    The HUE router must scan lamps at least once in order for the module to work.

    Some problems with auto search for router on Android may occur.

    After launching the module, it starts searching for the HUE router in the network. If the router is found, the module asks you to press the button on the router to confirm the connection with it.

    Router HUE.png

    If the connection with the router isn't succesful, you see the Disconnected page with options to solve the problem.

    HUE not connect.jpg

    If the connection with the router is successful, the module will show you the page to control Philips HUE lamps.


    HUE main elements.png
    1. All the lamps that are found by the router are located on the left side of this page.
    2. On the right side you see the On/off switch.
    3. RGB pallete.
    4. Contrast and brightness panel.
    5. Script scenarios samples.
    6. Scenarios sample created by the driver channels.

    Commands and feedback channels

    This way of working with the driver allows you to control the lamps and see their states from any project page.

    HUE commands.png

    The Switch 1 command means that it is:


    a lamp switch at number 1.


    To create a lamp switch at number 2, create a new command and name it Switch 2.

    Do the same with feedback channels.

    Script Scenarios

    This way to work with the driver allows you to control lamps in sync with other devices in your house.

    For example, you can set lighting that matches the music or album cover color when the music is on.

    The HUE_user_GUI module contains an example to control lamps via script.

    1. PUB_switch function
      Turns on/off the lamp
      • Syntax:
        PUB_switch (Number, State);
      • Parameters:
        Number - the sequence number of the lamp, starting from one.
        State - true – turn on, false – turn off
      • Example:
        PUB_switch(1, True); // turn on lamp 1
    2. PUB_changeLight function
      Changes contrast, brightness and color of the lamp
      • Syntax:
        PUB_changeLight (Number, Contrast, Brightness, Color);
      • Parameters:
        Number - the sequence number of the lamp, starting from one.
        Contrast - 0 – 255
        Brightness - 0 - 255
        Color - 0 – 65535
      • Example:
        PUB_changeLight (1, 255, 255, 65535 ); // Set the bright red color for lamp 1.


    Color Chart

    To call a scenario from the graphic interface, group scenarios in the function and call them with the help of the Script Call macro in the macros editor.

    function HUE_PUB_Light_1_blue(){
       PUB_switch(1, true);
       PUB_changeLight(1, 255, 255, 46920);       
    }
    HUE Scriptcall.png

    Router searcher


    The HUE_searcher module contains the searcher that is activated when you launch the module at the first time. This module searches HUE router.

    If you know the IP address of the router and aren't going to change it, you can delete the HUE_searcher module, replacing it with one line of the code:

    Syntax:

    HUE(IP_address);
    Example:

    HUE(192.168.1.33);

    Adapting For a Device With a Different Resolution

    For the module to display correctly on any control panel, it's enough to change the resolution of the module in the iRidium GUI Editor.

    To do this, you need to:

    1. Open the iTunes module closest to your requirements in iRidium GUI editor. For example, to adapt the module for an Android smartphone, you need to take the module for iPhone. To adapt it for a tablet, you need to take the module for iPad.
    2. Press the Project properties Project properties.png key to open the properties of the project.
    3. Find the Target Device section in the General tab and select the device on which you are going to use the module in the drop-down list. If your device is not listed, choose Custom and enter the required resolution in the Landscape Width and Landscape Height items.
    4. Press the Save button.
    5. Choose YES in the Resize all pages and Resize items and popups dialogs to allow the editor to automatically change the resolution on all pages and popups.

    Editing Rules


    • delete script files from the project
    • change the type of graphic items
    • delete states of graphic items
    • add the module several times in your project
    • delete project tokens


    • change the screen resolution of the module to suit your project
    • change the appearance settings of items:
      • color and status icons
      • text in text fields
      • transparency and other parameters in the States tab
    • you can change the appearance of the standard graphic interface and add more pages and popups if it is necessary. But if you move graphic items to other pages, do not forget to change their names and pages names and specify new links to the items in the HUE_gui script module


    HUE change script.png
    Источник — «https://dev.iridi.com/index.php?title=HUE/en&oldid=137282»
    Категория:
    • Статья
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy