inteliLIGHT - API Docs
inteliLIGHT - API Docs
# Introduction
This technical documentation for inteliLIGHT network manager API, will allow you to integrate it into your own software.
To make it easy, we have created an interactive manual in a pre-Configured environment which will allow you to test the API commands on virtual
devices.
1. On the left side of the screen, you have the table of contents.
2. In the middle of the screen you have the documentation, where you will be able to try out the commands in a safe, pre-configured
environment.
3. On the top right side, you have the WebSocket panel, which can be toggled and contains the information sent or received from the network
manager via a WebSocket.
NOTICE: Currently the callback method is not available, the WebSocket or MQTT can be used to automatically get data without polling by
following the steps below.
# Websocket example
Below you have a very simple example that uses Javascript, taken and adapted from www.websocket.org, which will show you how to write your own
script that will open a websocket connection to our network manager and allow you to send and receive messages.
On page load, the script will open a websocket to wss://fc1.intelilight.eu:[PROVIDED BY FLASHNET]/JSON and will send a JSON containing the login
information: {"op": "login", "user": "[PROVIDED BY FLASHNET]", "pass": "[PROVIDED BY FLASHNET]"}.
On successful login, the socket will remain open and wait for further commands.
Websocket example
https://apidocs.flashnet.ro/home#gateways_info 1/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
<!DOCTYPE html>
<head>
<title>WebSocket Test</title>
var output;
function init() {
output = document.getElementById("output");
testWebSocket();
function testWebSocket() {
function onOpen(evt) {
writeToScreen("CONNECTED");
function onClose(evt) {
writeToScreen("DISCONNECTED");
function onMessage(evt) {
function onError(evt) {
function doSend(message) {
websocket.send(message);
https://apidocs.flashnet.ro/home#gateways_info 2/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
function writeToScreen(message) {
pre.style.wordWrap = "break-word";
pre.innerHTML = message;
output.appendChild(pre);
</script>
</head>
<body>
<h2>WebSocket Test</h2>
</body>
</html>
# MQTT example
The MQTT client should be configured with the same port and address as the web interface and use the same user and password.
To receive the uplink messages and the command responses it should subscribe to "api/res/#" topic
https://apidocs.flashnet.ro/home#gateways_info 3/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Client mosqpub|7824-ip-172-31- sending PUBLISH (d0, q0, r0, m1, 'api/cmd', ... (69 bytes))
host="fc1.intelilight.eu";
port=[PROVIDED BY FLASHNET];
user="[PROVIDED BY FLASHNET]";
password="[PROVIDED BY FLASHNET]";
subscribe_topic="api/res/#";
Client mosqsub|7781-ip-172-31- received PUBLISH (d0, q0, r0, m0, 'api/res/raw', ... (264 bytes))
https://apidocs.flashnet.ro/home#gateways_info 4/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
{"op": "var_push", "deveui": "70b3d5bf100003fd", "layout_id": 85, "var": "nvoVoltAvg", "index": 8, "value": "240", "units":
Client mosqsub|7781-ip-172-31- received PUBLISH (d0, q0, r0, m0, 'api/res/var', ... (178 bytes)){"op": "var_push", "deveui"
Client mosqsub|7781-ip-172-31- received PUBLISH (d0, q0, r0, m0, 'api/res/multivar', ... (1809 bytes)){"op": "var_push_list
# Authentication
In order to be able to send and receive packages of information one must be authenticated using the credentials provided by support or generated in
the Web user interface. The following types of authentification are available:
Password authentication: it is done by using the login command on HTTP/WebSocket connection or CONNECT on MQTT. Following the
authentication on a HTTP/WebSocket connection, a session identified by a HTTP cookie is created. The generated cookie can be used for
authentication of the new HTTP/WebSocket connections. There is a limit of 50 session cookies per user. A session cookie is automatically
deleted after 30 minutes after last time it was used or after the logout command.
Session cookie: sent by the client in the Cookie HTTP header of a new HTTP connection. It is received in the Set-Cookie HTTP response header
following a login command sent by HTTP POST
Bearer token: sent by the client in the Authorization HTTP header of a new HTTP connection (e.g. Authorization: Bearer
N4yxNC8n2oOd1LYaNYfnkqqNddYbff82j5x4F6pFsEtsZPSux7hhxV3b8ZAnE). It is the preffered way of accessing the API through
HTTP/WebSocket. The token can be generated in the Web user interface in the API Config -> Tokens page.
In this variable, you can specify a list of variables (for ex. Voltage, Current, Flags, Status etc.) which will be sent at specific intervals by the controller. In
order to be able to decode the payload a Q identifier is added to the payload.
cpPush0: 0x013c5508090a0c0e101214171819040d070b13
01 = number of samples
3c = send interval (0x3c = 60s = 1 minute in this case, the next value 0x3d means 120s, not 61s - for this we may need to supply the algorithm we use.)
https://apidocs.flashnet.ro/home#gateways_info 5/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
08 nvoVoltAvg This variable indicates the value of the last read average RMS Voltage parameter.
09 nvoVoltMin This variable indicates the minimal RMS Voltage parameter's value, registered by the controller.
0a nvoVoltMax This variable indicates the maximal RMS Voltage parameter's value, registered by the controller.
0c nvoCurrentAvg This variable indicates the value of the average RMS Voltage parameter.
0e nvoPowerActAvg This variable indicates the value of the average Active Power parameter.
10 nvoPowerReactAvg This variable indicates the value of the average Reactive Power parameter.
12 nvoPowerAppAvg This variable indicates the value of the average Apparent Power parameter.
14 nvoPfAvg This variable indicates the value of the average Power Factor parameter.
17 nvoEnergyAct This variable indicates the value of the last read Active Energy parameter.
18 nvoEnergyReact This variable indicates the value of the last read Reactive Energy parameter.
19 nvoEnergyApp This variable indicates the value of the last read Apparent Energy parameter.
04 nvoLampStatus This variable contains information regarding the luminaire's status and the source of the last given command.
0d nvoPowerAct This variable indicates the value of the last read Active Power parameter.
07 nvoVolt This variable indicates the value of the last read RMS Voltage parameter.
0b nvoCurrent This variable indicates the value of the last read RMS Current parameter.
13 nvoPf This variable indicates the value of the last read Power Factor parameter.
https://apidocs.flashnet.ro/home#gateways_info 6/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
The message is composed based on the cpPush0 (or cpPush1, cpPush2, cpPush3) variable.
cpPush0 payload
The payload sent by the controller for ex.: 038ff855ececec02005e0053008b433f4d222662d43c1e03005fec0243, can be decoded as follows (please keep
in mind that all values are hexadecimal):
03 message type
ec nvoVoltAvg
ec nvoVoltMin
ec nvoVoltMax
02 nvoCurrentAvg
005e nvoPowerActAvg
0053 nvoPowerReactAvg
https://apidocs.flashnet.ro/home#gateways_info 7/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
008b nvoPowerAppAvg
43 nvoPfAvg
3f4d nvoEnergyAct
2226 nvoEnergyReact
62d4 nvoEnergyApp
3c1e03 nvoLampStatus
005f nvoPowerAct
ec nvoVolt
02 nvoCurrent
43 nvoPf
It is important to know the length of each variable, this can be seen here: http://fc1.intelilight.eu:50056/mods/70b3d5bf100003a8/vars
ex. nvoVolt out/7/0x3ff8/1, where the "1" at the end means the length, which is 1 Byte.
# Commands
Under this section you will be able to try out the commands and see the responses with the WebSocket by toggling and then trying out the command.
https://apidocs.flashnet.ro/home#gateways_info 8/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
The WebSocket or MQTT interface is asynchronous. More than one command can be made. To identify the corresponding response to a given
command the "priv" field cand be used.
Beside the responses from commands, the server sends the unsolicited data received from the devices (based on cpPush setup setup). The data is
sent asynchronously using the follwing "op" values:
"op":"push" - the raw payload data sent by a device
"op":"var_push" - variable value has been automatically updated by a device
"op":"var_push_list" - a list of variables values have been automatically updated by a device
"op":"push_error" - the error/status flags have been automatically updated by a device
"op":"join" - a device has booted and published its configuration
"op":"mod_status_change" - the device status is up or down
"op":"gateway_status_change" - the LoRa basestion is up or down
login
This command will log you in to the network manager. The user and password will be provided by the technical support team.
Try it!
Toggle websocket
var_set
This command defines that the next operation will be one of setting a variable with a specified value
https://apidocs.flashnet.ro/home#gateways_info 9/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try it!
Toggle websocket
var_get
This command will return the value of a chosen variable from a selected controller.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nviLampLevel", "ok": 1, "value":
"0", "units": "", "hex_value": "00", "last_set_ts": 1487855474, "last_poll_ts": 0, "last_hb_ts": 0,
"prio": 255, "who": "93.119.184.6-84/ws"}
Try it!
Toggle websocket
mod_add
This command allows the user to add a controller to the network manager by specifying the parameters as specified below.
Parameters:
Parameter Description
https://apidocs.flashnet.ro/home#gateways_info 10/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
subtype Type of the controller: 1 = FlashNet Protocol, 2 = Watteco temperature, humidity and lux sensor, 3 =
LoRa Mote, 4 = Watteco SmartPlug, 6 = RAW, 7 = Adeunis Mote
Response failure {"priv": "", "op": "mod_add", "error": "cannot add module: id 70b3d5bf100003fd already exists"}
mod_del
Response failure {"priv": "", "op": "mod_del", "error": "mod not found"}
mod_update
https://apidocs.flashnet.ro/home#gateways_info 11/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Parameter Description
subtype Type of the controller: 1 = FlashNet Protocol, 2 = Watteco temperature, humidity and lux sensor, 3 =
LoRa Mote, 4 = Watteco SmartPlug, 6 = RAW, 7 = Adeunis Mote
mod_get_adr
This command returns ADR (adaptive data rate) information about a controller. The parameters including ack count, channels mask details, TX
power level of the signal, and data rating ranging from SF12/125kHz to SF7/250kHz.
Response success {"priv": "", "op": "mod_get_adr", "ok": 1, "adr": {"enabled": 1, "pending_ack": 0, "ack count": 0,
"channels_mask": "0x0007", "channels_mask_pending": "0x0007", "tx_power": "14dBm", "tx_power_pending":
"14dBm", "data_rate": "SF12/125kHz", "data_rate_pending": "SF12/125kHz", "samples": 0}}
https://apidocs.flashnet.ro/home#gateways_info 12/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response failure {"priv": "", "op": "mod_del", "error": "mod not found"}
Try it!
Toggle websocket
mod_get_event
This command will return a scheduler event from a controller from the specified position (0-15). The scheduler will repeat each day until the it is
removed or changed.
Response success {"priv": "", "op": "mod_get_event", "deveui": "70b3d5bf100003fd", "ok": 1, "pos": 0, "prio": 0, "oid":
0, "name": "Turn ON", "dow": 127, "time": "ss+00:00", "var": "nviLampLevel", "index": 0, "value":
"64"}
Try it!
Toggle websocket
mod_get_local_info
This command will return the local time and sunset/sunrise information of the controller
Response success {"priv": "", "op": "mod_get_local_info", "deveui": "70b3d5bf100003fd", "ok": 1, "date": 2019-05=30,
"time": 16:56:58, "sunrise": 5:30, "sunset": 20:56}
https://apidocs.flashnet.ro/home#gateways_info 13/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try it!
Toggle websocket
mod_get_ts
Response success {"priv": "", "op": "mod_get_ts", "deveui": "70b3d5bf100003fd", "ok": 1, "ts": 1488356006}
Response failure {"priv": "", "op": "mod_get_ts", "error": "mod not found"}
Try it!
Toggle websocket
mod_get_tz
This command will return the time zone that the controller was assigned to.
Response success {"priv": "", "op": "mod_get_tz", "deveui": "70b3d5bf100003fd", "ok": 1, "tz": "2/3", "dst":
"M3.5.0/3,M10.5.0/4"}
Response failure {"priv": "", "op": "mod_get_tz", "error": "mod not found"}
Try it!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 14/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
mod_group_add
Try it!
Toggle websocket
mod_group_del
Try it!
Toggle websocket
mod_group_list
This command list all the groups that a controller belongs to.
https://apidocs.flashnet.ro/home#gateways_info 15/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try it!
Toggle websocket
mod_info
Response success {"priv": "", "op": "mod_info", "ok": 1, "attributes": [{"subtype": 1, "fw": "FRE100g", "lid":
"hala15", "itime": 1467292110, "lat": "45.67566150393248", "lon": "25.64874651624594", "pkts_in": 0,
"pkts_out": 8, "bytes_in": 0, "bytes_out": 146, "errs_in": 0, "errs_out": 8, "rtt": 0, "rtt_max": 0,
"conf_still_pending": "no", "last_recv": 1488222901, "last_reboot": 1484044644, "status": "down",
"last_status_change": 1488357228, "lossy": 80, "flaps": 0, "ghost_timeout": 0, 100003fd: "1000021d",
"class": "C", "adr": 1, "small_count": 0, "strict_counters": 0, "use_dead": 1, "rx2_dr": "SF12",
"rx1_delay": 1000, "rx2_delay": 2000, "tx_power": "14dBm", "data_rate": "SF12/125kHz", "prod_id": 23,
"hw_ver": 3, "down_soft_ver": 2221, "up_soft_ver": 17}]}
Try it!
Toggle websocket
mod_list
https://apidocs.flashnet.ro/home#gateways_info 16/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
This command will return the list all the controllers that belong to the authenticated user.
Response success {"priv": "", "op": "mod_list", "ok": 1, "mods": [{"deveui": "70b3d5bf100003fd"},{"deveui":
"70b3d5bf100003fe"}]}
Try it!
Toggle websocket
mod_list_full
This command will return the extended list of controllers belonging to the authenticated user.
https://apidocs.flashnet.ro/home#gateways_info 17/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "op": "mod_list_full", "ok": 1, "mods": [{"deveui": "70b3d5bf100003fd", "attributes":
[{"subtype": 1, "fw": "FRE100g", "lid": "hala17", "itime": 1467293598, "lat": "45.67565400748822",
"lon": "25.64963700963939", "pkts_in": 41, "pkts_out": 2, "bytes_in": 1141, "bytes_out": 37,
"errs_in": 0, "errs_out": 0, "rtt": 367, "rtt_max": 3675, "conf_still_pending": "no", "last_recv":
1488359627, "last_reboot": 1484921608, "status": "up", "last_status_change": 1488357231, "lossy": 0,
"flaps": 1, "ghost_timeout": 0, "devaddr": "10000212", "class": "C", "adr": 1, "small_count": 0,
"strict_counters": 0, "use_dead": 1, "rx2_dr": "SF12", "rx1_delay": 1000, "rx2_delay": 2000,
"tx_power": "8dBm", "data_rate": "SF7/125kHz", "prod_id": 23, "hw_ver": 3, "down_soft_ver": 2221,
"up_soft_ver": 17}]},{"deveui": "70b3d5bf100003fd", "attributes": [{"subtype": 1, "fw": "FRE100g",
"lid": "hala15", "itime": 1467292110, "lat": "45.67566150393248", "lon": "25.64874651624594",
"pkts_in": 0, "pkts_out": 8, "bytes_in": 0, "bytes_out": 146, "errs_in": 0, "errs_out": 8, "rtt": 0,
"rtt_max": 0, "conf_still_pending": "no", "last_recv": 1488222901, "last_reboot": 1484044644,
"status": "down", "last_status_change": 1488357228, "lossy": 80, "flaps": 0, "ghost_timeout": 0,
"devaddr": "1000021d", "class": "C", "adr": 1, "small_count": 0, "strict_counters": 0, "use_dead": 1,
"rx2_dr": "SF12", "rx1_delay": 1000, "rx2_delay": 2000, "tx_power": "14dBm", "data_rate":
"SF12/125kHz", "prod_id": 23, "hw_ver": 3, "down_soft_ver": 2221, "up_soft_ver": 17}]}]}
Try it!
Toggle websocket
mod_log
This command will return the log of sent and/or received packets, over a period, for a controller according to the parameters selected from below.
Parameters:
Parameter Description
https://apidocs.flashnet.ro/home#gateways_info 18/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
way 'up' - only upstream packets, 'down' - only downstream packets, 'both' - all packets
Request { "op": "mod_log", "deveui": "70b3d5bf100003fd", "way": "up", "from": 1468220293, "dups": 0}
Response success {"priv": "", "op": "mod_log", "ok": 1, "deveui": "70b3d5bf100003fd", "packets": [{"source": "bs",
"gw": "000000000806033b", "time": "2017-03-01 09:08:29 +0000", "ts": "1488359309.051725 (28m54s)",
"radio": "freq=869525000 bw=125 cr=4/5 SF12 crc=0 cost=1155ms power=27 IQ1 tmst=0us", "mac":
"type=unconf_data_down major=LoRaWanR1 Ctrl=[adr opts_len=1] Opts=[DevStatusReq] Cnt=26216(26216)
Port=1", "payload": "4f0c", "decoded": "st=req LIST_GROUP", "who": "93.119.184.6-137/ws",
"count_invalid": 0, "mic_invalid": 0, "dup": 0},{"source": "bs", "gw": "00000000080604fc", "time":
"2017-03-01 09:08:13 +0000", "ts": "1488359293.883784 (29m10s)", "radio": "freq=869525000 bw=125
cr=4/5 SF12 crc=0 cost=1155ms power=27 IQ1 tmst=0us", "mac": "type=unconf_data_down major=LoRaWanR1
Ctrl=[adr opts_len=1] Opts=[DevStatusReq] Cnt=26215(26215) Port=1", "payload": "4f0c", "decoded":
"st=req LIST_GROUP", "who": "93.119.184.6-137/ws", "count_invalid": 0, "mic_invalid": 0, "dup": 0},
{"source": "bs", "gw": "00000000080604fc", "time": "2017-03-01 09:05:27 +0000", "ts":
"1488359127.616404 (31m56s)", "radio": "freq=869525000 bw=125 cr=4/5 SF12 crc=0 cost=1319ms power=27
IQ1 tmst=0us", "mac": "type=unconf_data_down major=LoRaWanR1 Ctrl=[adr opts_len=1] Opts=[DevStatusReq]
Cnt=26214(26214) Port=1", "payload": "4f0a0a0b0c", "decoded": "st=req ADD_GROUP list=0a,0b,0c", "who":
"93.119.184.6-129/ws", "count_invalid": 0, "mic_invalid": 0, "dup": 0}]}
Response failure {"priv": "", "op": "mod_log", "error": "mod not found"}
Try it!
Toggle websocket
mod_q_rm
https://apidocs.flashnet.ro/home#gateways_info 19/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
This command will remove a packet from the 'out' queue, meaning that this command removes other user queued commands.
Parameters:
Parameter Description
Response failure {"priv": "", "op": "mod_q_rm", "error": "error on delete: no queue entries found"}
Try it!
Toggle websocket
mod_sched_resync
This command will force the re-synchronization of the scheduler. Only available if the Flashnet protocol is selected.
Response failure {"priv": "", "op": "mod_sched_resync", "error": "mod not found"}
Try it!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 20/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
mod_send
This command will send a payload to the controller in order to test its responsiveness.
Parameters:
Parameter Description
Response failure {"priv": "", "op": "mod_send", "error": "mod not found"}
Try it!
Toggle websocket
mod_set_event
Parameter Description
https://apidocs.flashnet.ro/home#gateways_info 21/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
pos each controller supports up to 128 scheduler entries, choose a value between 0 and 127
dow day-of-week; bit0 = Monday, ..., bit6 is Sunday, bit7 unused (set to 0)
month / day specify the month and day when the event must trigger; usage incompatible with 'dow'
time local time represented as hours:minutes when an event should trigger(e.g 17:48). Can be prefixed by
'ss' or 'sr' (sunset or sunrise) and a sign ('+' / '-') to specify a time with an offset relative to
the sun position(e.g. ss+00:15)
value the value of the variable which will be set; hexa encoded, only one byte allowed
Request { "op": "mod_set_event", "deveui": "70b3d5bf100003fd", "pos": 0, "name": "turn on", "dow": 127,
"time": "05:30", "var": "nviLampLevel", "value": "64"}
Try it!
Toggle websocket
mod_set_loc
This command will set the geographic coordinates of a controller by completing the parameters shown below
Parameters:
Parameter Description
https://apidocs.flashnet.ro/home#gateways_info 22/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
lat latitude
lon longitude
Response success { "op": "mod_set_loc", "deveui": "70b3d5bf100003fd", "lat": 45.433443, "lon": -20.434321}
Try it!
Toggle websocket
mod_set_tz
This command will set the time zone for a controller, conditioned by the parameters entered as shown below.
Parameters:
Parameter Description
https://apidocs.flashnet.ro/home#gateways_info 23/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try it!
Toggle websocket
ping
This command will check if the connection to the network manager is up or down.
Parameters:
Try it!
Toggle websocket
# Variables
The following section lists the network variables of the inteliLIGHT FRE controllers. There are three kinds of variables, beginning with the "nvi", "nvo"
or "cp" prefix:
nvi - input variables: used for setting the values of controller end points. These variables can be set by external sources using the var_set command,
but can also be requested via the var_get command.
nvo - output variables: used for getting values of controller end points. These are one-way variables which support only var_get operations.
cp - configuration properties: used to store configuration settings. These variables can be set by external sources using the var_set command, but can
also be requested via the var_get command.
nviLampLevel
https://apidocs.flashnet.ro/home#gateways_info 24/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
This variable is used for setting or getting the value of the controller's luminaire level, usually with a value between 0x0 and 0x64, where 0 means
turned off, 0x64 = 100 means turned on and any value inbetween will result in luminaire dimming.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nviLampLevel", "ok": 1, "value":
"0", "units": "", "hex_value": "00", "last_set_ts": 1487855474, "last_poll_ts": 0, "last_hb_ts": 0,
"prio": 255, "who": "93.119.184.6-84/ws"}
Try Set!
Try Get!
Toggle websocket
nviReset
This variable is used for performing specific reset operations on the controller. These operations will be executed by the controller according to the
value received in the variable.
Possible values:
to get the updated list, please contact our technical support team.
https://apidocs.flashnet.ro/home#gateways_info 25/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nviReset", "ok": 1, "value":
"200", "units": "", "hex_value": "c8", "last_set_ts": 1488289138, "last_poll_ts": 0, "last_hb_ts": 0,
"prio": 255, "who": "93.119.184.6-338/ws"}
Try Set!
Try Get!
Toggle websocket
nvoID
This variable contains information regarding the hardware and software version of the controller.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoID", "ok": 1, "value":
"prod=FRE100 hw_ver=3 sw_ver1=2012 sw_ver2=3", "units": "", "hex_value": "0017000307dc00030000",
"last_set_ts": 0, "last_poll_ts": 1488289569, "last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoLampStatus
This variable contains information regarding the luminaire's status and the command source of the last given command.
Command source:
https://apidocs.flashnet.ro/home#gateways_info 26/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
04 scheduler with photocell with the priority set in cpConfig0 (onprio property) this command is very rare
05 Start State - this is a feature that turns on the lamp at power-up when there is no scheduler defined and active, (it can be on or off, defined
by the user)
06 COMAND-1 which is a command entered in nviLampControl which will overwrite every command until the timeframe specified will pass
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoLampStatus", "ok": 1, "value":
"off llfb=0 cmd_source=1", "units": "", "hex_value": "0a0001", "last_set_ts": 0, "last_poll_ts":
1488289740, "last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoNodeStatus
This variable contains debugging information regarding the last reset cause and the number of the last block written in the internal memory.
Response success {"op": "push", "deveui": "70b3d5bf100003fd", "port": 1, "count": 17, "payload": "039e2702c2dcf021",
"ts": 1559564621, "radio": "freq=868100000 bw=125 cr=4/5 SF7 crc=1 cost=57ms power=2 snr=9.00 rssi=-63
tmst=109370731us"}
Try Get!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 27/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
nvoFlags
This variable contains the list of active notifications and errors on the controller.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoFlags", "ok": 1, "value": "
gpnom_done", "units": "", "hex_value": "00020000", "last_set_ts": 0, "last_poll_ts": 1559528880,
"last_hb_ts": 0, "prio": 255, "who": "", "index": "6", "len": "4"}
Try Get!
Toggle websocket
nvoVolt
This variable indicates the value of the last read Root Mean Square Voltage parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoVolt", "ok": 1, "value": "242",
"units": "Vrms", "hex_value": "f2", "last_set_ts": 0, "last_poll_ts": 1559564700, "last_hb_ts": 0,
"prio": 255, "who": "", "index": "7", "len": "1"}
Try Get!
Toggle websocket
nvoVoltAvg
This variable indicates the value of the last read average Root Mean Square Voltage parameter.
https://apidocs.flashnet.ro/home#gateways_info 28/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoVoltAvg", "ok": 1, "value":
"240", "units": "Vrms", "hex_value": "f0", "last_set_ts": 0, "last_poll_ts": 1488359100, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoVoltMin
This variable indicates the minimal Root Mean Square Voltage parameter's value, registered by the controller.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoVoltMin", "ok": 1, "value":
"239", "units": "Vrms", "hex_value": "ef", "last_set_ts": 0, "last_poll_ts": 1488370500, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoVoltMax
This variable indicates the maximal Root Mean Square Voltage parameter's value, registered by the controller.
https://apidocs.flashnet.ro/home#gateways_info 29/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoVoltMax", "ok": 1, "value":
"242", "units": "Vrms", "hex_value": "f2", "last_set_ts": 0, "last_poll_ts": 1488359400, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoCurrent
This variable indicates the value of the last read Root Mean Square Current parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCurrent", "ok": 1, "value":
"0.00", "units": "A", "hex_value": "00", "last_set_ts": 0, "last_poll_ts": 1488359400, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoCurrentAvg
This variable indicates the value of the average Root Mean Square Voltage parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCurrentAvg", "ok": 1, "value":
"0.00", "units": "A", "hex_value": "00", "last_set_ts": 0, "last_poll_ts": 1488359400, "last_hb_ts":
0, "prio": 255, "who": ""}
https://apidocs.flashnet.ro/home#gateways_info 30/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try Get!
Toggle websocket
nvoPowerAct
This variable indicates the value of the last read Active Power parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPowerAct", "ok": 1, "value":
"1.3", "units": "W", "hex_value": "000d", "last_set_ts": 0, "last_poll_ts": 1488359700, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoPowerActAvg
This variable indicates the value of the average Active Power parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPowerActAvg", "ok": 1, "value":
"1.2", "units": "W", "hex_value": "000c", "last_set_ts": 0, "last_poll_ts": 1488359700, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 31/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
nvoPowerReact
This variable indicates the value of the last read Reactive Power parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPowerReact", "ok": 1, "value":
"0.4", "units": "VAR", "hex_value": "0004", "last_set_ts": 0, "last_poll_ts": 1488360057,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoPowerReactAvg
This variable indicates the value of the average Reactive Power parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPowerReactAvg", "ok": 1,
"value": "0.4", "units": "VAR", "hex_value": "0004", "last_set_ts": 0, "last_poll_ts": 1488359700,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoPowerApp
This variable indicates the value of the last read Apparent Power parameter.
https://apidocs.flashnet.ro/home#gateways_info 32/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPowerApp", "ok": 1, "value":
"3.7", "units": "VA", "hex_value": "0025", "last_set_ts": 0, "last_poll_ts": 1488360155, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoPowerAppAvg
This variable indicates the value of the average Apparent Power parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPowerAppAvg", "ok": 1, "value":
"3.6", "units": "VA", "hex_value": "0024", "last_set_ts": 0, "last_poll_ts": 1488360300, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoPf
This variable indicates the value of the last read Power Factor parameter.
https://apidocs.flashnet.ro/home#gateways_info 33/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPf", "ok": 1, "value": "35",
"units": "", "hex_value": "23", "last_set_ts": 0, "last_poll_ts": 1488360300, "last_hb_ts": 0, "prio":
255, "who": ""}
Try Get!
Toggle websocket
nvoPfAvg
This variable indicates the value of the average Power Factor parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoPfAvg", "ok": 1, "value": "35",
"units": "", "hex_value": "23", "last_set_ts": 0, "last_poll_ts": 1488360300, "last_hb_ts": 0, "prio":
255, "who": ""}
Try Get!
Toggle websocket
nvoOnHours
This variable shows the sum in hours, which the luminaire spent in an ON or dimmed state.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoOnHours", "ok": 1, "value":
"1075", "units": "h", "hex_value": "0433", "last_set_ts": 0, "last_poll_ts": 1488360733, "last_hb_ts":
0, "prio": 255, "who": ""}
https://apidocs.flashnet.ro/home#gateways_info 34/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try Get!
Toggle websocket
nvoCycles
This variable shows the number of on-off cycles of the controlled luminaire.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCycles", "ok": 1, "value":
"3697", "units": "", "hex_value": "0e71", "last_set_ts": 0, "last_poll_ts": 1488360706, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoEnergyAct
This variable indicates the value of the last read Active Energy parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoEnergyAct", "ok": 1, "value":
"29383", "units": "Wh", "hex_value": "72c7", "last_set_ts": 0, "last_poll_ts": 1488362100,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 35/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
nvoEnergyReact
This variable indicates the value of the last read Reactive Energy parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoEnergyReact", "ok": 1, "value":
"9700", "units": "VARh", "hex_value": "25e4", "last_set_ts": 0, "last_poll_ts": 1488362100,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoEnergyApp
This variable indicates the value of the last read Apparent Energy parameter.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoEnergyApp", "ok": 1, "value":
"34733", "units": "VAh", "hex_value": "87ad", "last_set_ts": 0, "last_poll_ts": 1488362100,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoLightSense
This variable shows a value that indicates the amount of light detected by the light sensor this applies to modules that have photo cells.
https://apidocs.flashnet.ro/home#gateways_info 36/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoLightSense", "ok": 1, "value":
"1\t74", "units": "", "hex_value": "0174", "last_set_ts": 0, "last_poll_ts": 1488360717, "last_hb_ts":
0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoCSevents
This variable contains a checksum based on the scheduler events of the controller and it can be used for syncing the controllers with the network
manager or a Content Management System software.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCSevents", "ok": 1, "value":
"35", "units": "", "hex_value": "23", "last_set_ts": 0, "last_poll_ts": 1488362100, "last_hb_ts": 0,
"prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoCStimezone
This variable contains a checksum based on the time zone setting of the controller and it can be used for syncing the controllers with the network
manager or a Content Management System software.
https://apidocs.flashnet.ro/home#gateways_info 37/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCStimezone", "ok": 1, "value":
"35", "units": "", "hex_value": "23", "last_set_ts": 0, "last_poll_ts": 1488362100, "last_hb_ts": 0,
"prio": 255, "who": ""}
Try Get!
Toggle websocket
nvoCSconfig
This variable is a Configuration Checksum which can be used for syncing the controllers with the network manager or a Content Management
System software.
Try Get!
Toggle websocket
nvoCSlocation
This variable contains a checksum based on the controller's geographic coordinates which can be used for syncing the controllers with the network
manager or a Content Management System software.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCSlocation", "ok": 1, "value":
"35", "units": "", "hex_value": "23", "last_set_ts": 0, "last_poll_ts": 1488362100, "last_hb_ts": 0,
"prio": 255, "who": ""}
https://apidocs.flashnet.ro/home#gateways_info 38/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try Get!
Toggle websocket
nvoCSgroups
This variable contains a checksum based on the groups the controller belongs to and it can be used for syncing the controllers with the network
manager or a Content Management System software.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "nvoCSgroups", "ok": 1, "value":
"35", "units": "", "hex_value": "23", "last_set_ts": 0, "last_poll_ts": 1488362100, "last_hb_ts": 0,
"prio": 255, "who": ""}
Try Get!
Toggle websocket
cpPonTH
This variable is a setting for the ON Threshold limit for the controller's lamp (it should be set lower than the lamp's specification, but not 20% less
than the lamp's actual consumption)
https://apidocs.flashnet.ro/home#gateways_info 39/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPonTH", "ok": 1, "value": "200",
"units": "", "hex_value": "c8", "last_set_ts": 1488289138, "last_poll_ts": 0, "last_hb_ts": 0, "prio":
255, "who": "93.119.184.6-338/ws"}
Try Set!
Try Get!
Toggle websocket
cpPoffTH
This variable is a setting for the OFF Threshold limit for the controller's luminaire (it should be set at least 10% higher than the power consumption
of the luminaire when it is turned off
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPoffTH", "ok": 1, "value": "35",
"units": "", "hex_value": "c8", "last_set_ts": 1488289138, "last_poll_ts": 0, "last_hb_ts": 0, "prio":
255, "who": "93.119.184.6-338/ws"}
Try Set!
Try Get!
Toggle websocket
cpUCal
This variable shows the calibration factor for the controller's Voltage setting and it is used only on the calibration stage.
https://apidocs.flashnet.ro/home#gateways_info 40/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpUCal", "ok": 1, "value":
"40\t41\td2", "units": "", "hex_value": "4041d2", "last_set_ts": 0, "last_poll_ts": 1488364964,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
cpICal
This variable shows the calibration factor for the controller's Current setting and it's used only on the calibration stage.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpICal", "ok": 1, "value":
"41\t52\tfa", "units": "", "hex_value": "4152fa", "last_set_ts": 0, "last_poll_ts": 1488364980,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
cpPCal
This variable shows calibration factor for the controller's Active Power setting and it's used only on the calibration stage.
https://apidocs.flashnet.ro/home#gateways_info 41/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPCal", "ok": 1, "value":
"3d\t37\ta6", "units": "", "hex_value": "3d37a6", "last_set_ts": 0, "last_poll_ts": 1488367298,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
cpQCal
This variable shows the calibration factor for the controller's Reactive Power setting and it's used only on the calibration stage.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpQCal", "ok": 1, "value":
"3d\t68\t2a", "units": "", "hex_value": "3d682a", "last_set_ts": 0, "last_poll_ts": 1488364951,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Get!
Toggle websocket
cpSCal
This variable shows the calibration factor for the controller's Apparent Power setting and it's used only on the calibration stage.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpSCal", "ok": 1, "value":
"3d\t37\t26", "units": "", "hex_value": "3d3726", "last_set_ts": 0, "last_poll_ts": 1488364968,
"last_hb_ts": 0, "prio": 255, "who": ""}
https://apidocs.flashnet.ro/home#gateways_info 42/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Try Get!
Toggle websocket
cpMinMaxVoltage
This variable contains the min/max Voltage thresholds for the controller.
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpMinMaxVoltage", "ok": 1,
"value": "min=0V max=255V", "units": "", "hex_value": "00ff", "last_set_ts": 0, "last_poll_ts":
1488367675, "last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
cpMinMaxCurrent
This variable contains the min/max Current thresholds for the controller.
https://apidocs.flashnet.ro/home#gateways_info 43/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpMinMaxCurrent", "ok": 1,
"value": "min=0.00A max=5.97A", "units": "", "hex_value": "00ff", "last_set_ts": 0, "last_poll_ts":
1488367678, "last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
cpConfig0
This variable contains specific configuration elements for the controller. It is composed of all the elements described below and can only be set as
whole.
1. Mode - Module functioning type (DALI/0-10V - with or without dimming or power tracking)
2. on_prio - Priority between scheduler, light cell and manual commands. It is a byte value composed of the following bit fields:
bit 7-6: priority: 0 - disable, 1 - scheduler, 2 - photocell
bit 5 : not used
bit 3: START_STATE_ON_OFF - the lamp state at start: ON or OFF
bit 4: not used
bit 2: START_STATE_ENABLE - if the lamp state at start is enabled or not
bit 1: PC_ENABLE - if the photocell is enabled or not
bit 0: SCH_ENABLE - if the scheduler is enabled or not
3. dim_slope - Dimming slope speed
4. strike_retry_count – Number of retries to turn on the lamp
5. warm_up – Controlled lamp warm-up time in seconds
6. cool_down – controlled lamp cooldown time in seconds
https://apidocs.flashnet.ro/home#gateways_info 44/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpConfig0", "ok": 1, "value":
"mode=FPE_power_track on_prio=45 dimm_slope=8 strike_retry_count=4 warm_up=1s cool_down=0s", "units":
"", "hex_value": "022d08040100", "last_set_ts": 1559631942, "last_poll_ts": 0, "last_hb_ts": 0,
"prio": 255, "who": "93.119.184.6-104187/ws", "index": "41", "len": "6"}
Try Set!
Try Get!
Toggle websocket
cpConfig1
This variable contains specific configuration elements for the controller. It is composed of all the elements described below and can only be set as
whole.
1. ct_factor – set to 1 for FRE – reserved for products that use external Current transformer (do not modify)
2. sampling – Interval for saving measured data into memory and averaging values for nvoVoltAvg, nvoCurrentAvg etc. in seconds (changing
this value may affect device functionality)
3. light_level – Photocell Light level threshold; value setting used for specifying the light Level below/above the lamp should turn OFF/ON
4. light_threshold – Photocell Light level threshold; value setting used for specifying the light Level below/above the lamp should turn OFF/ON
5. unused – Configure how long the LED(RGB) will stay on in seconds
3 and 4 are the same command (but they have been separated into two 8 bits values.
https://apidocs.flashnet.ro/home#gateways_info 45/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpConfig1", "ok": 1, "value": "
ct_factor=1 sampling=60s light_level=0 light_threshold=50 unused=60", "units": "", "hex_value":
"013c00323c", "last_set_ts": 1559632213, "last_poll_ts": 0, "last_hb_ts": 0, "prio": 255, "who":
"93.119.184.6-104187/ws", "index": "42", "len": "5"}
Try Set!
Try Get!
Toggle websocket
cpLocation
This variable contains location data of the controller, which is used for sunset and sunrise-based schedule calculation
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpLocation", "ok": 1, "value":
"lat=45.706173° lon=26.015625°", "units": "", "hex_value": "41011c128000", "last_set_ts": 0,
"last_poll_ts": 1488370038, "last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
cpErrCfg0
This variable contains the configuration for error message handling (enable/disable error and notification push.
(selects which errors and how they should be sent over the network)
https://apidocs.flashnet.ro/home#gateways_info 46/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpErrCfg0", "ok": 1, "value":
"ff\tff\t0\t0\t0\t1f", "units": "", "hex_value": "ffff0000001f", "last_set_ts": 1488370241,
"last_poll_ts": 1488370250, "last_hb_ts": 0, "prio": 255, "who": "93.119.184.6-549/ws"}
Try Set!
Try Get!
Toggle websocket
cpErrCfg1
This variable contains the configuration for error message handling (enable/disable error and notification push.
(selects which errors and how they should be sent over the network)
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpErrCfg1", "ok": 1, "value":
"ff\t1e\t0\t0\t1\te0", "units": "", "hex_value": "ff1e000001e0", "last_set_ts": 0, "last_poll_ts":
1488369974, "last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 47/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
cpPush0
This combined variable, specifies the list of variables (for ex. Voltage, Current, Flags, Status etc.) which will be sent at specific intervals by the
controller. The payload can be decoded based on the Q identifier.
1. Samples – number of sample’s that must be read from the device memory
2. Interval - intervals between the sending data packets
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPush0", "ok": 1, "value":
"samples=1 interval=300s Q=85 vars=08,09,0a,0c,0e,10,12,14,17,18,19,04,0d,07,0b,13", "units": "",
"hex_value": "01405508090a0c0e101214171819040d070b13", "last_set_ts": 0, "last_poll_ts": 1488370879,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
cpPush1
This combined variable, specifies the list of variables (for ex. Voltage, Current, Flags, Status etc.) which will be sent at specific intervals by the
controller. The payload can be decoded based on the Q identifier.
1. Samples – number of sample’s that must be read from the device memory
https://apidocs.flashnet.ro/home#gateways_info 48/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPush1", "ok": 1, "value":
"samples=0 interval=0s Q=255 vars=ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff", "units": "",
"hex_value": "00ffffffffffffffffffffffffffffffffffff", "last_set_ts": 0, "last_poll_ts": 1488370905,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
cpPush2
This combined variable, specifies the list of variables (for ex. Voltage, Current, Flags, Status etc.) which will be sent at specific intervals by the
controller. The payload can be decoded based on the Q identifier.
1. Samples – number of sample’s that must be read from the device memory
2. Interval - intervals between the sending data packets
https://apidocs.flashnet.ro/home#gateways_info 49/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPush2", "ok": 1, "value":
"samples=1 interval=60s Q=2 vars=1b,1c,1e,1f,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff", "units": "",
"hex_value": "013c021b1c1e1fffffffffffffffffffffffff", "last_set_ts": 0, "last_poll_ts": 1488370889,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
cpPush3
This combined variable, specifies the list of variables (for ex. Voltage, Current, Flags, Status etc.) which will be sent at specific intervals by the
controller. The payload can be decoded based on the Q identifier.
1. Samples – number of sample’s that must be read from the device memory
2. Interval - intervals between the sending data packets
3. Q – push message identifier
4. Vars – list of variables included in transmission
https://apidocs.flashnet.ro/home#gateways_info 50/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
Response success {"priv": "", "deveui": "70b3d5bf100003fd", "op": "var_get", "var": "cpPush3", "ok": 1, "value":
"samples=1 interval=3s Q=3 vars=04,07,0b,0d,13,15,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff", "units": "",
"hex_value": "01030304070b0d1315ffffffffffffffffffff", "last_set_ts": 0, "last_poll_ts": 1488370875,
"last_hb_ts": 0, "prio": 255, "who": ""}
Try Set!
Try Get!
Toggle websocket
# Gateways
The following section shows the available API commands for gateways
gateway_add
Request {"op": "gateway_add", "name": "My first gateway", "id": "0102030405060708", "lat": "45.34343", "lon":
"25.34343", "uid": 1, "paused": 0}
Try it!
Toggle websocket
gateway_update
Try it!
Toggle websocket
gateway_del
Try it!
Toggle websocket
gateway_log
Try it!
Toggle websocket
gateways_info
https://apidocs.flashnet.ro/home#gateways_info 52/53
11/11/21, 3:03 PM inteliLIGHT | API Docs
This command is used for getting information about one or all gateways. The "id" parameter is optional.
Try it!
Toggle websocket
gateways_svg
This command is used for getting a SVG file containing the status of the gateways for the last two minutes.
Try it!
Toggle websocket
https://apidocs.flashnet.ro/home#gateways_info 53/53