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
    Перейти к: навигация, поиск
    Эта страница является переводом страницы SNMP. Перевод выполнен на 100%.

    Other languages:
    English • ‎русский

    Содержание

    • 1 iRidium for SNMP
    • 2 Description
    • 3 Variants of use
    • 4 Connection
      • 4.1 Setting Equipment
      • 4.2 Import from a CSV file (*.csv)
      • 4.3 Adding Driver Manually
        • 4.3.1 Setting connection parameters
      • 4.4 Commands & Feedbacks
        • 4.4.1 Setting Commands and Feedbacks

    iRidium for SNMP

    a set of tools to create a visualization interface

    The driver is developed to control equipment working via SNMP v1 protocol.

    Example
    • iRidium SNMP Driver

    Description

    iRidium for SNMP is a set of tools to create an interface to control Smart home or office on the basis ofequipement working via SNMP v.1 protocol. It realizes commands of SNMP protocol to change device settings. The SNMP protocol allows you to get feedback from various devices, such as:

    • sensors;
    • video cameras;
    • routers.

    The driver does not support the "Get Next" command.

    If several OIDs are received as feedback, indicate the required one in the "OID" field.

    To determine the required OID with device parameters, use iReasoning MIB Browser.

    Find the MIB table prepared by the device manufacturer for the browser or use the Trap Receiver to track incoming OIDs.

    Variants of use

    1. Event setting when registering in the device network. Anyone who enters the wi-fi network coverage area is registered in the network and a pre-configured router sends an SNMP notification to iRidium, where the script is already being processed. This scenario will help to determine when the device that you cannot ping appeared in the network (for example, devices running on iOS).

    2. When a video camera (or any other sensor) is activated by motion, it sends a message to iRidium. Then you can set up the push notification “Outsider in the room” in the project and it will be sent to the phone.

    3. Analysis of changes in weather temperature and heat sensor on the device. Create your own base with values of the sensor, which sends the temperature using the SNMP protocol, draw the trend of the changes (detailed information on trend creation is here). Track the changes or create an alert event.


    Connection

    Setting Equipment

    1. Go to the settings of your equipment and select the SNMP v1 protocol.
    2. Enter the SNMP Port (by default it is 161). It is required for receiving requests.
    3.Enter the trap-port (by default it is 162). The device will use it to send SNMP trap.
    4. Enter the group to read (it is 'public' by default).
    5. Enter the group to write (it is "private" by default).
    6. Enter the trap address. IP devices with the driver to which trap will be sent at request or when a device (sensor, router, camera) is triggered.

    Attention! For security reasons, change the "Community" parameter from "public" to more complicated in the project and on devices.


    Example of setting Activecam camera

    1. Set up SNMP on the Activecam camera.

    SNMP Camera setting.png

    2. Set generation of the trap-package, the event at which a sending to our driver will occur.

    SNMP Camera 2.png



    You can add an SNMP driver by importing from a CSV file or manually filling in the data.

    Import from a CSV file (*.csv)

    Universal import from CSV File is the ability to import drivers from a table presented in CSV format.

    You can read more about detailed instructions on creating a CSV file and importing it into IRidium Studio here.

    Adding Driver Manually

    Add SNMP driver to your project from iRidium database

    1. Launch iRidium studio and create a new project.
    2. Open the Devices sidebar and select the SNMP driver.


    SNMP1.png


    Enter the controller address in iRidium project otherwise it will not work.


    Setting connection parameters

    When the driver is added to a project, enter connection settings.

    Set driver 22.png


    • Host - Controller IP-address
    • Port - connection port to send data (it is 161 by default, the driver send requests to the agent).
    • LocalPort - connection port to receive data (it is 162 by default, the agent send response to the driver).
      If there are two drivers in the project, LocalPort must be different.
    • Request tags at start - request at start (true/false).
    • Interval between tag polls - an interval between tag requests. After a failure request a driver switched to a request of another type.
    • Maximum number of tag polls - number of request attempts of each tag.

    Commands & Feedbacks

    Assign commands and feedback channels to graphic items:

    • A command is assigned to a graphic item to send a value to a device.
    • A feedback channel is assigned to a graphic item, to display the status of the variable


    To assign a command or a channel to a graphic item use the drag&drop method.

    To send a command, drag'n'drop it on a graphic item. To display feedback drag'n'drop a feedback channel on a graphic item and select where to display Value:

    SendValue.png

    Setting Commands and Feedbacks

    To send a conmmand or a feedback channel, set the following fields:

    • OID - object identifier;
    • Type - type of command/feedback;
    • Value Type - type of value;
    • Community - sequence of symbols, describing belonging to a group, a sort of password.


    To set a feedback channel, fill in the following fields:

    • OID - object identifier.
    • Get - a command to request data from a device:
      • Value - feedback that returns a requested value;
      • Trap - event feedback, it is activated when something happens.
    • Community - sequence of symbols, describing belonging to a group, a sort of password.


    Example of value request:

    var device = IR.GetDevice("SNMP"); 
    function get_feedback()   // send 1 to a command of Get type (request a value) 
    {
        device.Set("getsysUpTime", 1);
        IR.Log("request value after 32");
    }
     
    IR.SetTimeout(32000, get_feedback); //  do a function in 32 seconds.

    Command and feedback must be written in one OID, type of command: Get, type of feedback: Value.

    Example of subscription to changes in tags:

    IR.AddListener(IR.EVENT_TAG_CHANGE, device, function (n,v) {
        IR.Log("EVENT_TAG_CHANGE " + n + " " + v);
    });

    Type of feedback: Trap.


    Value Types

    type description
    Integer Integer number
    String String
    Null Variable without value (zero)
    OID Object ID
    IP4 IP-address
    Counter Counter is a nonnegative integer, its value gradually increases from 0 to 232-1 and then goes back to 0
    Time Counter that keeps track of time in centisecond from a starting point .
    Источник — «https://dev.iridi.com/index.php?title=SNMP/en&oldid=131850»
    Категория:
    • Инструкции
    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