Home
Untitled - Adeo Group SpA
Contents
1. gt 7 45 ur EEE EE EEEE E E di 46 Aue a ai 47 AJO QOIS De eee 47 Action for processing incoming CGI requests with a change of the states of outlets OE 48 Action for controlling an outlet on the basis ot the accessibility of another device in NWON Aat nN 48 a Rise 49 aod i 50 Declaration of Conformity ENIM i ME 51 NETIO 4 List of Figures 1 Outlet control X 11 2 General QUIET SEHINGS iai i a 13 SEIT sete S 14 4 Watchdog setings kae ctus nr Sub taastatava 15 5 Power COMSUMPHION U HP es 17 Power consumption Counter Reset eee hene hen e hse rhe a A 18 PS M Aaa a M i i Hl 19 8 Detailed user permissions management III enne nn naeeeeennnnn anname 20 9 Adding custom schedule sss II nnne enne nennen 2 Adding interval in second precision nnns 22 UR DIE Adding Mo fel To E TRE 23 12 Network mode setting s a kin aaa a a aiamaa aaa aaa RUN CEU 24 dE uo matu 25 14 Network configuration nennen net ennme
2. 0 1 manual int Gets and sets output state if you enter only the number of the output without any parameter the command gets the output state 0 off 1 on output number with parameter 0 1 turns the output on off output number with parameter int or i interrupts the output Example The command port 2 1 activates output 2 2 11 Troubleshooting Forgotten password Restore Factory Defaults If you forget your password it is possible to manually reset the device to factory defaults This is done by pressing and holding outlet buttons 1 and 2 with device on Hold the buttons until the device beeps 2 times During the resetting process all the outlet LED are blinking red As soon as reset is completed the device beeps 2 times Problem with firmware upgrade 37 NETIO 4 Control and configuration a problem occurs during the firmware upgrade e g power failures or switching off the device before the upgrade is completed it is possible to force the device into service mode You can do this by pressing the outlet button 4 on device boot Hold the button until the device beeps 2 times After this connect to the device IP address via the browser and click on Firmware button in top menu Continue by uploading the firmware file as described in Upgrade from file 31 Resetting the fuse If NETIOA stops working and no indication LEDs are shining it is possible that the rated current was exceeded and
3. Date and time when the measuring of the cumulative power consumption has been date and time started on the given outlet A 5 DETIOZ device actions Actual cumulated power consumption of outlet N since measuring started for N from 1 to 4 outputN consumptionStart Only for model NETIO4 for N from 1 to 4 Table 1 Internal device variables Besides variables NETIOA also offers some actions that can be used to control connected devices or other devices in the computer network directly by invoking CGI commands the controlled device must support CGI devices system SetOut output 1 value false switches off output no 1 41 Description of the Lua Language Device actions 4 SetOut Controls the state of the outlet ResetOut Restart of the outlet and the powered device k oO E L LLI Z lt CustomCGI Sends an HTTP GET request to the given URL Reboot Immediate restart of the NETIO4 device ResetCumulativeConsumption Resets the consumption counter of the given outlet to zero Table 2 Device actions output outlet number from 1 to 4 value true false activates deactivates the outlet output outlet number from 1 to 4 resetDelay outlet restart delay in seconds If not specified the settings value of the given outlet is used url URL to which the command should be sent without arguments output outlet number from
4. Resetting outlets It is possible to restart outlets with the ResetOut command which takes two arguments Use the first obligatory argument output to specify which outlet will be reset as with the SetOut command above Using the second 40 NETIO 4 Description of the Lua Language optional argument resetDelay you specify how long the outlet restart delay will be the time from when it is switched off to when it is switched back on again devices system ResetOut output 4 resetDelay 10 restarts outlet number 4 with a delay of 10 seconds A 4 NETIO4 device variables NETIOA internal device variables are accessible through the devices system object For instance you can get the CPU load through the devices system averageLoad variable NETIOA device variables within actions takes the values output state on off starting State of outlet 1 resetting takes the values on off starting State of outlet N for N from 1 to 4 resetting disc space in disc space in totalSpace Total available disc space on internal flash memory Represents the average value of CPU system load in last 5 minutes multiplied 9 ji by 100 Smaller is better bigger is a sign of performance problems outputN consumption outputN state All NETIO4 models value in Watts W Actual power consumption of outlet N for N from 1 to 4 outputN cumulatedConsumption valida Wat hours Wh
5. e Supported protocols HTTP HTTPS SMTP DNS NTP UPnP DHCP 1 2 Specifications Power supply voltage Maximum switched current Consumption Network interface Antennas Dimensions Operating temperature 90 250 V AC EU 15 A total 8 A per each outlet US 15 A total 12 A per each outlet 4 1 W 1x RJ 45 10 100 Mbit s Wi Fi 802 11b g n 2 4 GHz Bluetooth 4 0 LE 2 4 GHz NETIOA All only 1x fixed antenna with 2 dB gain NETIO4 only 2x antenna with 3 dB gain one for WI FI one for BT connected over SMA reverse F connector NETIO4 All only 302 x 58 x 90 mm h x w x d 11 89 x 2 283 x 3 543 inches h x w x 0 50 C 32 122 F 1 3 System requirements e Supported Internet browsers Internet Explorer 9 or later version NETIO 4 Introduction e Mozilla Firefox 20 or later version Google Chrome 26 or later version e Safari 5 1 or later version e Computer with supported Internet browser with JavaScript support enabled NETIO 4 2 Control and configuration 2 Mobile application Install mobile application NETIO Mobile to control your NETIOA from your mobile device The application is for mobile devices with operating system Android version 2 0 or later or iOS version 5 1 or later For further information visit hito www netio products com en all products netio mobile Use link below to download the application 10 NETIO 4 Control and configurat
6. Prevent contact with fluids do not expose the device to high temperatures Protect the device from falling Only devices approved for use in the electricity network may be connected If the device malfunctions disconnect it from the electric power supply and contact your vendor NETIO 4 1 Introduction NETIO4 is multifunctional power supply controller This device is intended to control power supply via web interface or CGI commands Thanks to the network administration technology based on IP protocol basis the user can control or provide a power supply to a connected external device appliance via a computer connected to the LAN or Internet network No special software is necessary to control the device the Web interface is already integrated in the firmware Using the web interface you can easily control and set the entire device and individual outlets Imagine that you are travelling around the world and you can remotely or via a timer control the power supply to your electrical appliances such as computers servers routers electric gates security surveillance system or other appliances NETIOA is available in several versions with different outlet types Note that in this user manual all screenshots of the user web interface contains only one outlet type and outlets on your device may differ from those shown in this user manual This manual is meant for the following models NETIO4 Basic model with integrated Wi Fi
7. output 2 af output 3 e OA output 4 OA Figure 6 Power consumption Counter Reset rf Watchdog seconds 17 07 kWh since 2013 12 10 W Save Chan ges 18 NETIO 4 Control and configuration 2 2 User account management If the device is used by multiple users using accounts with different privileges is advised In the left menu click amp Users menu item There are three different user types NETI0 A 3 2013 12 19 14 14 19 CA English adr myNetio admin Username steve Outlets Create User Password Bluetooth Confirm password Privileges more administrator full access A Users user may only control outlets 3 Schedules o guest may only observe status Las Actions Figure 7 Add user Admin User with full authorization User User that can control the outlets but cannot change system settings Guest User that does not have the rights to change any settings and can only see the current state of the outlets Note NETIOA supports up to 5 user accounts Username have to begin with a letter and can include only digits and letters without diacritic Pick one of above options as necessary There is option of finer grained access control List of all available permissions will be available after clicking More hyperlink 19 NETIO 4 Control and configuration Username Password Confirm password Privileges less user v log in control outl
8. 168 47 254 E mail Settings DNS server 182 158 47 254 Firmware Hostname myMetio Log system Domain example net Enable UPnP presentation _ Enable UPnP port forwarding i E ed xem FPrererrecd wel 1 Allow the discover tool to change network configuration Blink with status LEDs for 1 minute Warning Changes to network settings may result in Metio becoming unavailable at the current address See the Netio User Manual for ways to find the Metio at its new address Figure 14 Network configuration Then pay attention to domain settings Enter a Hostname by which the device is identified in your network and the name of your Domain The current hostname is displayed left in the upper part of the web interface below device type By checking the Enable UPnP presentation you can enable presentation of your device via UPnP protocols e g in Network places in Windows To set up a remote access to your NETIOA check Enable UPnP port forwarding and set the preferred web port After saving changes in settings you can see an IP address for the remote access next to this checkbox 27 NETIO 4 Control and configuration A Warning Note that for the remote access to work your router has to support control via UPnP protocols and has to have set all reguired parameters It you are not sure contact your connection provider or your network administrator It is recommended to disable Allow the discover
9. 27 15 Secure connection setting rrrreenereeeneneeneneene veena nee hen rese nnne 28 16 Date and time configuration eene EEEE SPEE EEE nnne nennen 29 17 E mail configuration nenne eem ene ne en enn nn enne nenne eene 30 18 Details about installed firmware nennen nennen 3 19 Firmware update from 32 LM aaa 33 NIU THEE 34 22 output of the log function 39 NETIO 4 Preface Thank you for purchasing a KOUKAAM product To prevent incorrect installation or improper use of equipment please carefully read this User Manual and the Quick Installation Guide which is included in the package This will prevent any wrong installation or incorrect usage of NETIO4 Carefully read the following notice The device you have purchased operates under a certain voltage Incorrect manipulation with the device may result in damage to the device or it can cause injury or even death to the person handling it NETIO 4 Important notices N BO o RK O N The manufacturer is not liable for potential damage caused by incorrect usage or placing the device in an unsuitable environment The device is not intended for usage outdoors Do not use the device in an environment with strong vibrations Unauthorized modification of this device can damage it or cause fire
10. 30 AZ E6 ECCE 60 73 DF 21 92 A Users Secure Connection 3 Schedules p Actions e Settings Date Time E mail Firmware Figure 15 Secure connection setting You can view information about validity of the certificate and key fingerprint in the menu If needed new certificate can be generated by Create New Certificate button If you still want to use incoming CGI requests check Allow CGI in to use insecure connection HTTP 28 Control and configuration Date Time NETIO 4 Click Date Time in the left Settings menu Specify the time zone first where your NETIOA is used by selecting the area and the city this may differ from the time of the computer you are connecting from to your NETIO4 NETIO4 supports two ways of time setting You can set time manually or use a NTP server for automatic time synchronization Should you prefer automatic time synchronization simply enter an address of desired NTP server If you are not sure leave the pre selected pool ntp org In case of manually set time enter date in the format YYYY MM DD and time in the format HH MM SS You can also select to synchronize time with your computer Note When your NETIO4 is connected to a network with access to the Internet during its first start system date and time will be automatically synchronized with default location in the prime meridian timezone neTioz myNetio Outlets Bluetooth amp Users
11. NETIOA All NETIOA with power consumption meter for each outlet and Bluetooth 4 0 LE support 1 1 Characteristics Four manageable power outlets e Standardized power outlets allow direct connection of powered device Available outlets for DE FR CZ US or UK Every outlet has separate LED status indicator and power switch Robust design every outlet and inlet has own voltage over protection e 1 2m long power cord and power off switch on the device Re settable 15A fuse Possibility to login using an encrypted password Bluetooth 4 0 LE support for expanders and sensors NETIO4 All only Independent power consumption meter for every outlet NETIO4 All only e LED indicator for Wi Fi and Bluetooth network status Watchdog for device network status monitoring with reboot option User defined schedules for timing of the outlet power Previous state of the outlet is set after reboot or restart Introduction NETIO 4 Integration by CGI commands NETIO4 can be controlled by CGls and can control other devices by Integrated scripting by LUA for system integration and customization by system integrators e Advanced integration by XML API NDA obligatory E mail notification about switching the outlets watchdog timer action User accounts with configurable privileges Localized user interface CZ EN DE ES IT iOS and Android mobile application for remote outlet control
12. action for processing an incoming CGI request that contains a change of the state of outlets Save the action with the trigger Incoming CGI request The incoming CGI request must be in the form http netio ip event port 1 Oiu amp pass password Select the value 1 to switch the outlet on 0 to switch it off i to restart it and u or another character to leave the given outlet in the current state Pass the selected password as the value of the pass argument LOr parsing pore arg value anc periormine Its tere oli eesi tumec ton poreparse Ss local portnumber 1 ennon wry Only sire ded le Ina es if portnumber 4 then return end break if c 0 then devices system SetOut output portnumber value false elseif c 1 then devices system SetOut output portnumber value true elseif 1 then devices system ResetOut output portnumber else do nothing end debug info remove comment syntax on the line bellow to access debug info 10412061 parsers Port valus sho Re e portnumber portnumber 1 end end local port event args port local pass event args pass Set here your password The password will be required in the incoming CGI request for this action work local accepte sas s Pasa P Comment out the following block of code if you are using more than one CGI triggered ac iq one if not port or not pass then log
13. has already been sent in the past if the parameter is not set the default message subject is used These optional parameters allow better control over the intervals for sending emails repeatedly The following code sets the minimum interval for repeatedly sending messages to 30 minutes and also sets a particular interval key in such a way that all messages sent with this code are assigned to the same category for the purposes of the limit on repeatedly sending messages even if their subjects are different mail john example com An event with name S event mame occurred Some event is coming 90760 some event coming The mail function returns a boolean value true or false that designates whether the message was transmitted to be sent or was blocked by the filter for limiting the number of messages within a given time period 46 4 Description of the Lua Language local ret mail john example com mail hello 60 if ret true then log we have tried to send the email we provide an alert that the email may not actually be sent even at this moment details on this situation will be logged in the NETIO4 system log else log e mail was not sent because that would have been more than once in a minute end ping The ping address timeout callback function makes it possible to check the functionality of connections between the NETIOA device and another device at the specified add
14. sw 3 false sw 4 false output actions else sw 1 false sw 2 false sw 3 true sw 4 true output actions end delay 1070 runctionl eyeler send delay between on off states in seconds end dore err M Coe Ve let active Chen NG ycler active Crue cycler 5 how many times 49 NETIO 4 Conclusion The manufacturer bears no responsibility for any technical or printing errors and reserves the right to make any changes in the product and in this user manual without prior notice Any such changes will be announced via the manufacturer s website www se The manufacturer does not provide warranties of any kind whatsoever with regard to any information given in this user manual or any derived warranties regarding product saleability or fitness for a specific purpose In particular the manufacturer does not provide any warranties for defects caused by incorrect use of the product failure to abide by the instructions and recommendations stated in the user manual and for any defects caused by unprofessional activities of third parties outside the manufacturer s authorized service shop We believe that you will be satisfied with our product In case of any questions or comments relating to the functionality of the NETIO product please do not hesitate to contact us The company KOUKAAM a s represents that all products software and other third party components used in this eq
15. the device was turned off To prevent the current from damaging the device in this situation the resettable fuse interrupts power to your NETIOA This is represented by releasing the resettable fuse button on the right side of the device Disconnect all devices connected to the outlets Before turning your NETIOA on again you have to wait for the device to cool down This may take up to several minutes based on situation Press the resettable fuse button to turn NETIOA on again If it is not possible to press the button wait for a moment for the device to cool down Check all connected devices for any malfunction which could cause that the rated current was exceeded and power was interrupted before you plug them in again 38 NETIO 4 AppendiH A Description of the Lua Language NETIO4 uses the Lua scripting language which allows users to extend the functionality of the device with user actions These actions can react to external signals such as incoming CGls or events of the NETIO4 device itself for instance by sending an email to a user initiating an outgoing CGI request to another device etc A 1 Basics of the Lua Language You can find an introduction to programming in the Lua language in the book Programming in Lua http www lua org pil The freely available version covers Lua 5 0 NETIO4 uses Lua 5 1 but the difference between the two versions is negligible Lua 5 1 also has an extended Reference Manual http www lua org manua
16. update netio products com a n sledujte instrukce M zete byt vyzv ni k poskytnuti produktov ho kli e s firmware Browse firmware package Skri aktualizaci ze souboru CA esky A admin NETIO 4 Odhl sit Zkontrolovat aktualizace ziskat produktowy klic n st Ow at fi rmware NETIOA will be restarted during the upgrade process Do not turn off or restart NETIOA during the procedure in order not to damage the firmware or NETIOA You will be continuously notified about upgrade progress when the process is successfully finished and then automatically redirected to the login screen LED of outlet 3 will be blinking red and LED of outlet 4 is red during the firmware upgrade Section 2 8 Status LED diodes 32 Control and configuration System settings In this section you can do basic settings and view basic system parameters 2 myNetio Outlets Bluetooth A Users 3 Schedules La Actions zu Settings 3 Log Figure 20 System settings Uptime Firmware version Switch delay Disable manual control buttons Disable status LEDs Network Mode Wi Fi Metwork Configuration Secure Connection Date Time E mail Firmware System a 2014 01 14 23 32 37 English Uptime 1 days 4 hours 22 minutes Firmware version 2 3 0 dev Upgrade Switch delay seconds Disable manual control buttons Disable status LEDs Restore Fac
17. 1 1 M n i ihu h ua P 34 2 7 Manual outlet control mieeemeenseeeeeeenenenneeneeeeeeeenenneennnnaneeeee nee 35 20 Sd LED ga 35 2 9 Acoustic signalization 35 2 10 Communication via KSHELL interface 36 P ehled pi kaz pro KSHELL 36 2 11 Troubleshooting uad ouraeadinsostaenweitsadiasats Jini laia ua ita 37 Forgotten password Restore Factory Defaults 37 Problem with firmware upgrade 37 CSS TIBUS T CRM 38 A Description of the Lua language sss I enne nennen ener eene nenne enne 39 1 Basics of the Lua language nnnm mmn 39 A 2 Specifics of the Lua environment in 40 Controlling outlets nennen nennen 40 Switching OQUNEIS 2 Peu Do aidata 40 Resetting outlets RRRRRRRREMMMMMMEMMMMMMMMMMMMMMMMEM 40 4 NETIOA device variables sse eene 41 A 5 NETIOA device actions nennen enne 41 IncomingCgi event as an action trigger 42 A 7 Other action triggers IIR nnne 43 A 8 Special variables ent Sarra errat a aea ap aa ada ea a d wn av a Utd lde us 43 A 9 Functions and libraries mener nnne 44 NERONE EETH T 44 milliDelay REEMEEEEMMMMMEEEEMMMMMEMMMMMMMM 44 OPE o Cm 45 NETIO 4
18. 1 to 4 devices system SetOut output 1 value true devices system ResetOut value 1 resetDelay 10 devices system CustomCGI url http 192 168 0 1 og loa 1200 devices system Reboot devices system ResetCumulativeConsumption output 1 IncomingCgi event as an action trigger IncomingCgi is an event that can be used to input any data into user actions from external sources such as cameras UPS backup sources or various sensors In order for a user action to be able to react to a received CGI request this action must be stored with the trigger Incoming CGI request The IncomingCgi event is invoked on the basis of a received HTTP request entered with a URL Requests can be sent with the HTTP GET or POST methods CGI requests using the GET method can be entered directly into the address bar of an Internet browser http 192 168 0 1 event foo bar amp baz qux The same CGI request can also be sent with the POST method using the tools wget http www gnu org software wget curl hito curl haxx se etc Example of sending a request from the command line of a client PC with the curl tool gt Curl dau tosciawsiboex cuts esos ode de ente where 192 168 0 1 is the NETIOA device s address The following Lua code processes data sent with the GET or POST methods 42 4 Description of the Lua Language local Incoming request We for key val
19. 24 00 INFO 2014 01 14 16 24 00 INFO 2014 01 14 16 24 00 INFO 2014 01 14 16 23 55 INFO 2014 01 14 16 23 55 INFO NETIO 4 5 2014 01 14 23 24 51 Engish admin sic Message Session for user admin has started Application started version 2 3 0 dev rev n41949c6 2014 01 13 netio4 Session for user admin has been terminated reason Session for user admin has started Application started version 2 3 0 dev rev n41949c6 2014 01 13 netio4 Session for user admin has been terminated reason Session for user admin has started Application started version 2 3 0 dev rev n41949c6 201 4 01 13 pnetio4 Session for user admin has been terminated reason Session for user admin has started Application started version 2 3 0 dev rev n4l949c5 2014 01 13 9netio4 Session for user admin has been terminated reason port outputl state state on port output3 state state on port output2 state state on port output4 state state on port outputl state state on port output3 state state on Export to file Clear log timeout logout timeout timeout Log provides information about device performance Entries are ordered automatically from the newest Older entries are gradually shown when scrolling down using the scrollbar or the mouse wheel Use Refresh button to access new entries Log can be exported as a HTML file via the Export to file button You can also permanently delete all log e
20. 3 Schedules Actions n Settings Log Date Time E mail Network Mode Wi Fi Network Configuration Secure Connection Firmware System Figure 16 Date and time configuration 2013 12 20 14 04 11 CA English admin B Siano Use NTP Server NTP server address pool ntp org Set time manually ize with ti is Timezone Save date and time settings by clicking Save changes button 298 Control and configuration E mail NETIO 4 Click 22 E mail from the left Settings menu The setting will be used to send e mail reports from this device MNETI0 4 myNetio Network Mode Outlets Wi Fi Bluetooth Network 3 2013 12 20 14 36 47 English SMTP server news google com Enable SMTP authentication Configuration Users Secure Connection Schedules Date Time Actions E mail Settings admini example net Use custom sender address From amit Firmware Lo 3 System Figure 17 E mail configuration SMTP server Enable SMTP authentication Enable TLS encryption To Use custom sender address From Send daily reports about Netio health Send Test E mail Mailserver used to send messages Check this option if your mailserver reguires authentication You need to enter Username and Password to your account on the mailserver Check if the SMTP server requires TLS encryption to login Email addresses of mes
21. CGI parser PORT and or PASS argument missing please check your CGI command Use following syntax for the control CGI http s netio ip event port 10iu amp pass password where accepting arguments port 1 to 4 are 1 L1 interrupt reset any other eha sap uses do return end break end of action end ii oe SVS pass chen else log CGI parser Wrong password end Action for controlling an outlet on the basis of the accessibility of another device in the network The following example uses the internal ping function to confirm the accessibility of a device in the network and activates the desired output outlet based on it accessibility For instance the action can be used to automatically switch a peripheral device printer monitor of a computer on after the computer is switched on Save the action with the trigger Internal variables updated which makes it possible to check accessibility every 10 seconds Change the address of the monitored device and the controlled output We also recommend using logf commands to write comments to the system log for debugging 48 4 Description of the Lua Language local User variables local port 4 Change output number of controlled port here local device 192 168 0 100 Change ping destination address here Callback funmcciom ping ohoo comment out logf commands after debugging locat f
22. ETIO 4 Check if your NETIO4 has successfully connected to the selected Wi Fi network Type identifier of your Wi Fi network for AP mode only or select an existing Wi Fi network you want to connect to for client mode only If you cannot see the network you want to connect to try to use the Refresh button or enter the network SSID manually SSID is not broadcasted publicly Select security of the Wi Fi network if used Select the encryption type of the secured Wi Fi network Type password to the secured Wi Fi network Select a channel of your Wi Fi network Check this only if you want to hide your Wi Fi network Save the settings by clicking the Save changes button Network 26 NETIO 4 Control and configuration Click Network in the left Settings menu The simplest way how to set network parameters is to select Use DHCP If you have a DHCP server available on your network all network parameters will be automatically set To make sure that device IP address remains the same you can Set static IP address and other network parameters manually NETI0O A 3 2014 01 15 08 20 40 English amp admin E Sign o myNetio Network gt Ethernet Wi Fi Mode MAC address 24 A4 2C 0F03 04 Qutlets Wi Fi Bluetooth Network Use DHCP Configuration Set static IP address Users Secure IP address 192 168 46 53 Connection schedules Net mask 255 255 240 0 Date Time Actions Default gateway 192
23. NETIO 4 NETIO 4 ALL FIRMWARE 2 3 0 USER MANUAL Koukaam NETIO 4 Table of Contents MMM M 5 MOHGES NER n TS 6 i 27 7 1 1 Characteristics sisud ise eeii vete E 7 1 2 Specifications cccccccccccesssccccecesssseecceeesseeeececesssseecesccesssueeeeseesssseeesscestseeeeseeessaeeeeees 8 ES Ae EGUTEMEMIS Nom 8 2 Control and configuration eee eene eene enne ener e eene nenne nennt 10 21 1 Outlet control 1 General outlet settings nennen eene nnne nn nennen 12 UJ m 14 Ma o e are rore ama muslim mi TT TU 15 Power consumption A EEEEEEEEEEEEEEMMMMMM 16 2 2 USEF account management casui asia b us qu uM RU ons d Dd bea UE 19 DBs M 21 23 2 5 Device configuration 24 Network Mode dM E 24 ll S 25 i ia 26 Secure connection RM 28 P is me oaas ls a lakka taa t 29 E m llu eat ie aaa a aaa aa li 30 PUGS aaa t 31 System settings rrreerrrennnneene veena veena veena 33 261060
24. O ANALTNOELO EAAnvikf KAL TLO OXETIKEO LATAEELO THO o nyLao 1999 5 Hungarian Magyar Alul rott Koukaam a s nyilatkozom hogy a Radio LAN device megfelel a vonatkoz alapvet k vetelm nyeknek s az 1999 5 EC ir nyelv egy b el r sainak Con la presente Koukaam a s dichiara che questo Radio LAN device conforme ai requisiti essenziali ed alle talian Italiano disposizioni pertinenti stabilite dalla direttiva 1999 5 CE Latvian Latviski Ar o Koukaam a s deklare ka Radio LAN device atbilst Direktivas 1999 5 EK b tiskaj m prasib m un citiem ar to saistitajiem noteikumiem iuo Koukaam a s deklaruoja kad is Radio LAN device atitinka esminius reikalavimus ir kitas 1999 5 EB Direktyvos nuostatas Lithuanian Lietuviy Hawnhekk Koukaam a s jiddikjara li dan Radio LAN device jikkonforma mal htigijiet essenzjali u ma provvedimenti ohrajn relevanti li fid Dirrettiva 1999 5 EC Niniejszym Koukaam a s o wiadcza ze Radio LAN device jest zgodny z zasadniczymi wymogami oraz FOS POLSKI pozosta ymi stosownymi postanowieniami Dyrektywy 1999 5 EC Portuguese Portugu s Koukaam a s declara que este Radio LAN device est conforme com os requisitos essenciais e outras disposi es da Directiva 1999 5 CE Romanian Roman Slovak Slovensky Koukaam a s declar ca acest dispozitiv f r fir respect cerin ele esen iale precum si alte dispozi ii relev
25. Timer and they have set the same schedule or if you turn on individual outlets in a very short time The second and every following outlet that should be turned on is actually turned on after Switch delay will pass from the moment when the previous outlet is turned on During the time the outlet is starting its Power button is orange All outlets can be controlled at once by means of two icons at the page bottom Depending on current outlet state it is possible either to power off or power on all outlets and also to restart them If there is at least one outlet on you will turn off all outlets at once by clicking the Power button If all outlets are off this button can be used to turn all outlets on Click on the Restart button to restart all active outlets After restart of your NETIOA or when it starts after an unexpected switch off e g in case of power loss manually controlled outlets will be in their previous state Outlets controlled by timer will be in state according to the schedule of the timer The two remaining buttons control Timer and f Watchdog automatic functions Turned on function is represented by green colour of its button First you need to set these functions for each outlet in the section called Timer and in the section called Watchdog General outlet settings 12 NETIO 4 Control and configuration Use panel 1 General settings to configure various outlet related settings Outlet name s
26. ailable firmwares button to view the firmware list Then update the list by Check for updates button Please read carefully Release notes which contains the summary of changes and fixes in the selected version To download a particular firmware click on button with its name A firmware which has been already downloaded is distinguished by green color and its legend To install a downloaded firmware click on the button with the firmware name and then confirm it by clicking the Start Update button If you want to install a firmware which is being downloaded check the Install automatically when the download completes during the download The alternate way how to upgrade firmware is Update from file For this you need the product key of your device click the Get Product Key button Detailed instructions how to download the file with the firmware can be found on http update netio products com Then select the file and begin the installation with the Install Firmware button 31 Control and configuration neTio z myNetio Sitovy rezim Zasuvky m Bluetooth Nastaveni sit amp Zabezpecen Uzivatel spojeni Rozvrhy Datum a as Akce E mail Nastaven Firmware Protokol Syst m Udalosti Figure 19 Firmware update from file Warning 5 2014 01 09 12 46 02 verze firmware 2 3 0 dev Zobrazit podrobnosti Zobrazit v echny dostupn firmware Pro ziskani firmware navstivte str nku http
27. an richtlijn 1999 5 EG Bij deze Koukaam a s dat deze Radio LAN device voldoet aan de essenti le eisen en aan de overige relevante bepalingen van Richtlijn 1999 5 EC Enalish Hereby Koukaam a s declares that this Radio LAN device is in compliance with the essential requirements and 9 other relevant provisions of Directive 1999 5 EC K esolevaga kinnitab Koukaam a s seadme Radio LAN device vastavust direktiivi 1999 5 E p hin uetele ja Estonian Eesti are A nimetatud direktiivist tulenevatele teistele asjakohastele s tetele Valmistaja Koukaam a s vakuuttaa t ten ett Radio LAN device tyyppinen laite on direktiivin 1999 5 EY oleellisten Finnish Suomi cin Nr i vaatimusten ja sit koskevien direktiivin muiden ehtojen mukainen French Par la pr sente Koukaam a s d clare que l appareil Radio LAN device est conforme aux exigences essentielles et Fran ais aux autres dispositions pertinentes de la directive 1999 5 CE Hiermit erkl rt Koukaam a s dass sich dieser diese dieses Radio LAN device in bereinstimmung mit den grundlegenden Anforderungen und den anderen relevanten Vorschriften der Richtlinie 1999 5 EG befindet BMWi Hiermit erkl rt Koukaam a s die Ubereinstimmung des Ger tes Radio LAN device mit den grundlegenden Anforderungen und den anderen relevanten Festlegungen der Richtlinie 1999 5 EG Wien Greek ue tnv rrapouca Koukaam a s SnAwvet ott radio LAN device CUUUOPMWVETAL TLO OUOLW EL
28. and time and while still holding the button drag your mouse to side to create an interval Resize an existing interval by holding its front or rear end and dragging your mouse to side If you want to create an 24 hour interval click on the cell next to the selected day in the column All day By press and drag you cover multiple days with one interval even the all day intervals To delete an interval click on it with right mouse button Quickly created intervals have precision up to 10 minutes To enter interval with absolute precision up to one second click on the existing interval to edit it and enter precise times Save the new settings by clicking on the OK button If you want to create new interval with absolute precision simply click to the desired day and time where there is no existing interval already 21 NETIO 4 Control and configuration Add interval From 03 40 12 03 40 22 Figure 10 Adding interval in second precision A Delete schedule If you delete a schedule all timers which have this schedule set will be disabled The outlets remain in the same state but will be controlled manually henceforth 22 Control and configuration 2 4 Actions NETIO 4 Actions can be used to create user defined rules which your NETIO4 will automatically perform To manage action click on the Actions button in the left menu Use Create rule button to add new rule In the upper part of the form select action Trigge
29. ante ale Directivei 1999 5 EC Koukaam a s t mto vyhlasuje Ze Radio LAN device z kladn po iadavky a v etky pr slu n ustanovenia Smernice 1999 5 ES Slovenian Slovensko Koukaam a s izjavlja da je ta radio LAN device v skladu z bistvenimi zahtevami in ostalimi relevantnimi dolo ili direktive 1999 5 ES Por medio de la presente Koukaam a s declara que el Radio LAN device cumple con los requisitos esenciales y cualesquiera otras disposiciones aplicables o exigibles de la Directiva 1999 5 CE Spanish Espanol Swedish Svenska Harmed intygar Koukaam a s att denna Radio LAN device star verensst mmelse med de vasentliga egenskapskrav och vriga relevanta bestammelser som framgar av direktiv 1999 5 EG Koukaam a s bu kablosuz cihaz n temel gereksinimleri ve 1999 5 EC yonergesindeki ilgili ko ullar kar lad n Turkish Turk beyan eder 51
30. ctions logf UNIX time on device number ot users logged in os time devices system sessionCount writes the time in UNIX form and number of users logged in Note The exact formatting options that 10g accepts are identical to those of the string format Lua function http www lua org manual 5 1 manual htmlstpdf string format and very similar to those of the printf function used in the C language mail The mail to subject text function sends an email with the given text to the recipient entered The subject and text of email use the same s variable code expansion as the 10 function Under the default setting an email with a particular subject is sent at most once every 5 minutes maril YJonnlexamole comi Cr tehete loach Cum Keit load Ls S devices system averageLoad By changing the subject of the email it is possible to ensure that sending occurs at most once per minute under the default setting mail jJohn example com Current NETIO4 load devices system averageLoad Further axis uS Ted ime gt The maximum frequency at which messages are sent by the mai1 function can be set with two optional parameters minintervalSec and intervalkey The ninintervaisec parameter makes it possible to set the exact interval at which messages are sent The default value is 300 5 minutes The intervalkey parameter is used internally to ascertain whether the same message
31. d it be the outlet turned off by activating the timer you have to further confirm the change You cannot change schedules while setting the timer To change schedules use Edit schedules button You can turn on off the timer by clicking Timer button at particular outlet If you manually turn off the timer the outlet remains in its current state but will be controlled manually If you manually turn on the timer the outlet will be set in accordance with it A Automatic timer disabling Note that by switching the outlet by Power button the timer of the outlet will be also disabled You will be inform about this in the following confirmation dialog by default x output 1 I General Timer Ff Watchdog Schedule Work days Edit schedules 3 00 6 00 9 00 12 00 15 00 18 00 21 00 output 2 Monday 00 00 24 00 1 ic Tuesday 00 00 24 00 Wednesda 00 00 24 00 A Thursday 00 00 24 00 Friday 00 00 24 00 output 3 Saturday Figure 3 Timer settings 14 NETIO 4 Control and configuration Watchdog Use f Watchdog function to monitor various network devices If the monitored device is unavailable the corresponding outlet will be turned off and on The monitored device is considered unavailable if it does not respond to Ping Ping is used to test reachability of a host on a computer network request in a given time interval The delay between power off and power on is configurable It is possible to limit number o
32. e 2013 12 10 19 28 53 0 W now 2 63 kWh since 2013 12 10 13 28 53 85 W now 17 38 kWh since 2013 12 10 13 28 53 0 W now 1 14 kWh since 2013 12 10 19 28 53 170 W total Use this function to gain access to current and cumulative power consumption of connected devices The power consumption is displayed on the right next to outlet control buttons The upper reading is the Current power consumption in Watts W of the device connected to the particular outlet In the lower part of the screen next to the group outlet control buttons is the reading for the current power consumption for all outlets For an outlet which is turned off is the current power consumption always O W The lower reading next to each outlet is the Cumulative power consumption in Watt hours Wh or in kilowatt hours kWh for given time interval in other words the aggregate power consumption of a device connected 17 Control and configuration NETIO 4 to the outlet from the given date up to the present By default settings the cumulative power consumption is measured from the first start of NETIOA if automatic data and time synchronization from the NTP server has been successful Make sure that your date and time has been correctly set in the section called Date Time To adjust the beginning of the power measurement go to F general outlet settings and click on the Reset Counter button output 1 TX General Timer af Outlet name Reset delay
33. e code highlighting is supported 23 Control and configuration NETIO 4 2 5 Device configuration Please pay attention to device configuration so that it can function properly Click Settings in the left menu to display the submenu where you can further set your device Network Mode To properly set up network interfaces of your NETIO4 begin with clicking Network Mode in the left Settings menu You can choose from four different network modes based on if and how do you want to use Ethernet and or Wi Fi interface If you do not want to use Wi Fi on your NETIO4 at all simply select Cable mode Your is connected via the Ethernet primary network interface only and Wi Fi is turned off neTiozaz myNetio Network Mode Outlets Wi Fi Bluetooth Network Configuration amp Users Secure Connection 3 Schedules Actions rt Settings Log Date Time E mail Firmware System Figure 12 Network mode setting a 2014 01 14 09 51 58 English amp admin Bs Sign ou Cable Connects to a local network using the ethernet cable Turns the Wi Fi adapter off Wi Fi Client Connects to a local Wi Fi network Uses the ethernet cable as fallback access to Metio Doesn t bridge Wi Fi to ethernet Wi Fi Access Point Connects to a local network using the ethernet de cable Bridges ethernet to Wi Fi Metio Configuration Connects to a local network using the e
34. e limit is reached both the Watchdog and the outlet will be turned outlet off off If the outlet has been controlled by timer the timer will be also turned off Send e mail when device doesn t Sends e mail every time when controlled device doesn t respond and outlet respond restart is necessary You need to have correctly set email settings in the section called E mail for this option to work Save configuration changes by clicking Save changes button After saving the function will be automatically turned on The Watchdog function can be manually turned on or off by clicking the Watchdog button next to the outlet A Warning Note that that function is active thus sends Ping reguests only when the outlet is active too If the timer is not set on the outlet you have to turn on the outlet manually There is the Link button which you can use to go to IP address of the monitored device next to the name of the outlet which is active and has also active the Watchdog function Power consumption 16 Control and configuration NETIO 4 For selected models only This function is available for selected models of NETIOA series only Please make sure that this function is supported by your model A list of models can be found in Chapter 1 Introduction output 1 O f output 2 rf output 3 e x A output 4 A All outlets 1 Figure 5 Power consumption W now 17 07 kWh sinc
35. erves for outlet identification and is displayed above its control icons Reset delay is a number of seconds to wait between power off and power on during outlet restart cycle Note According to set values of Reset delay at particular outlet and system variable Switch delay in the 7 section called System settings an outlet may be in state of Starting outlet For example outlet has set Reset delay to 2 seconds outlet2 to 5 seconds System switch delay is set to 5 seconds If user resets both outlets at once outlet will be on in 2 seconds but outlet2 will be on in 7 seconds To 5 second that represent Reset delay of the outlet will be added 2 more second from the Switch delay that has started after outlet has been turned on output 1 LI General Timer FT Watchdog Outlet name output 1 Reset delay seconds Save Chan ges OA output 4 O af Figure 2 General outlet settings Save configuration changes by clicking Save changes button 13 NETIO 4 Control and configuration Timer Timer function allows for an outlet to be power on off at certain times Choose a schedule to decide when an outlet should be active When a schedule is chosen its details are then graphically displayed You can see in which time intervals will be the outlet active Confirm the change by clicking the Save changes button After saving the timer will be automatically activated and the outlet will be set in accordance with it Shoul
36. es described above A table filled with the values of the event just handled on the basis of the selection action trigger contains the following entries device name of the device that invoked the event e g system for NETIO4 event name name of the event e g IncomingCgi args table of the arguments of the events depends on the event Table 4 Special variables within action It is possible to access individual entries in the event args table of arguments by extending this variable with the name of the desired argument This is an alternative to the example above that does not use the for and pairs commands to traverse the entire event args table When the Incoming CGI request trigger is used the following example writes the value bar of the argument with the name foo from the incoming CGI to the system log 43 4 Description of the Lua Language dog args GI in thectormttps 7192 16820910 event too bar writes che value bar of the argument OO nto Ene Log A 9 Functions and libraries The standard assert error ipairs next pairs pcall select tonumber tostring toboolean type and unpack Lua language functions can be used for programming actions Only the os date os difftime and os time functions are available from the os library All functions from the string and table libraries are also available It is also possible to use Lua language functions that are s
37. ets change outlet settings view and change Metio settings browse logs manage users manage schedules and actions Figure 8 Detailed user permissions management Confirm your settings by clicking Create user button User accounts can be adjusted later in similar way 20 NETIO 4 Control and configuration 2 3 Schedules Use schedules to plan when an outlet will be on and when it will be off or where an action will be active To manage schedules click on the El Schedules button in the left menu There are three default schedules on NETIO4 Always Weekend and Work days If you want to create a new schedule click on the Create schedule button Enter schedule name and then create time intervals when the outlet will be on Note Set your schedule to the outlet timer in order to the outlet to be switched by that schedule in the section called Timer NETI0 2 G 2014 01 14 21 13 08 Engish admin Signc myNetio Always x My Schedule All day 3 00 6 00 9 00 12 00 15 00 18 00 21 00 Outlets My Schedule x Bluetooth Weekend E Monday Work days x Tuesday 08 25 A Wednesday Fre Create Schedule Thursday 02 00 09 00 10 00 22 30 Schedules Friday Saturday 00 00 24 00 JA Actions Sunday 00 00 24 00 settings Log Figure 9 Adding custom schedule An interval can be quickly created by press and drag method Simply click with the left mouse button to the desired day
38. f outlet restarts so that it does not happen infinitely output 1 2 LI General Timer rf Watchdog O A Ping Interval seconds output_2 Ping Timeout 9 seconds Power on delay seconds After 10 resets Turn the watchdog off o Turn the outlet off o Turn both the watchdog and the outlet off _ Send e mail when device doesn t respond Figure 4 Watchdog settings IP address Ping Interval Ping Timeout Power on delay After X resets IP address of monitored device How often will be Ping query sent to the monitored device in seconds When no responses to Ping requests arrive from the moment last response was received in the period of the ping timeout in seconds interval the connected device is considered unreachable and the outlet is reset Watchdog will postpone querying monitored device for this many seconds after outlet power up so that the device can fully start up Limits the number of restarts and after is the limit reached the Watchdog stops reset the outlet to prevent periodic restarts when controlled device fails 15 NETIO 4 Control and configuration Turn the watchdog off After the limit is reached the Watchdog will be turned off and the outlet remains on Turn the outlet off After the limit is reached the outlet will be turned off and the Watchdog remains on If the outlet has been controlled by timer the timer will be also turned off Turn both the watchdog and the After th
39. hes outlet no 2 off after 500 ms log The 10g message function writes the message to the event log of the device that is accessible through its web interface The message may contain substitution code in the form variable which will be replaced with the values of the global variables in the system Example log Current NETIO4 CPU load is devices system averageLoad state of outlet no 4 is gt esi des log Event S event name has been processed Note A substitution executed with 10g cannot access local variables Therefore the following code won t work Of course this can be solved with a global variable toO l fOO is nOw Global variable log value roo is too or with the logf function which does not have this limitation local foo Ile logi value of foo 1s 8 TOO logf The logf messageFormat function works like log but messageFormat IS A string containing substitute codes which are replaced by other parameters of the 165 function which may also include functions The most important parameters for specifying the format are 5s oulput as a string d output as a number Examples 45 4 Description of the Lua Language logf Time on device s event s 5 55 event name writes the local time on the device and event name for automatically executed a
40. ion 2 1 Outlets Outlet control In the left menu choose Outlets item You will be provided with the outlet overview Each outlet and its automatic functions can be controlled by four associated buttons next to each outlet All outlets at once are controlled by two buttons at the bottom of the page neTio z G 2013424 myNetio output 1 Outlets Bluetooth A Users 3 Schedules A Actions DIr settings Log All outlets Figure 1 Outlet control Use button Power for direct control of outlet power supply The button of an active outlet is green for a starting outlet is orange and for an inactive outlet is grey Any starting outlet can be turned off by its Power button Button Restart turns on and off power for the device plugged into the outlet with defined Reset delay Only active outlet can be restarted During restart there is a delay between power off and power on of the outlet which can be adjusted in the section called General outlet settings During the outlet restart Restart button is green 1 NETIO 4 Control and configuration Starting outlet The actual time when an outlet is turned on is affected by value of system variable Switch delay in the section called System settings in case multiple outlets should be turned on at once or in a very short time This can happen for example if you turn on all outlets at once or if multiple outlets has enabled function
41. l 5 1 manual html that describes all the control structures and built in functions An example of a simple command is Llog worLlell w The 10g function is a specific function that writes a message directly to the NETIOA event log It can be used for instance to confirm that a given action has been executed or to get other information In the image shown below you can see a message that has been successfully written by a triggered rule NETI0 2 3 2014 01 08 09 50 09 English admin Signo myNetio Message 2014 01 08 09 48 06 INFO Hello world Outlets 2014 01 08 09 48 00 INFO The log has been cleared Bluetooth amp Users 3 schedules p Actions it settings Figure 22 output of the log function 39 4 Description of the Lua Language The 109 function also supports inserting the contents of a device variable directly into output text leg Hello wor lel s separate commands with semicolons or spaces log Name of event is event name logs the name of the event when it iS initiated choose an appropriate trigger action a double dash marks the beginning of a comment A 2 Specifics of the Lua environment in nETIOZ Because of hardware limitations NETIO4 uses the Lua language without support for decimal numbers Therefore arithmetic only supports whole numbers unlike standard distributions of the language All input values are thus entered as m
42. nfiguration of the selected primary network interface and in Wi Fi settings if needed You have to make all required changes for the selected mode to be successfully activated Wi Fi Click on the Wi Fi button Wi Fi in the left Settings menu to configure Wi Fi Based on which network mode is active configure entries described below A Select a Network Mode first Note that you have to select a Network Mode first to determine if Wi Fi interface is enabled and in which mode is active Wi Fi is turned off in Cable mode and the Wi Fi menu is not accessible If you are not sure about this setting contact your network administrator or your Internet connection provider neTioa 2014 01 14 21 59 47 CA English admin myNetio Network Mode Mode access point wi fi is secondary network interface Outlets Wi Fi Network SSID N4 toh Bluetooth Network Security WPAZ Personal Configuration Encryption AE amp Users Secure a Connection Password 12345678 Netio4 3 Schedules Channel Auto Date Time Actions Disable SSID broadcast hide network E mail wt Settings wW Save Changes Firmware 3 Log Figure 13 Wi Fi setting Mode This says in which mode is the Wi Fi interface currently running 25 Control and configuration Status for client mode only Network SSID Security Encryption Password Channel for AP mode only Disable SSID broadcast for AP mode only N
43. ntries by clicking the Clear log button There are four types of log entries Info These are information entries which document common device activities e g application start or automatic database maintenance You can add entries of this type by defining some user actions see Section 2 4 Actions Notice Notices about devices activities e g start or end of user session Warning This type are warning entries e g failure in case of unsuccessful login after invalid username or password was entered Error An entry of this type can indicate nonstandard or possibly an error state of the device 34 NETIO 4 Control and configuration 2 7 Manual outlet control Apart from control via PC the device can also be controlled using the four buttons on the front panel The buttons correspond to the outlets 1 4 from left to right To switch the given outlet on or off press the button for two seconds If the outlet was off it will be turned on if it was on it will be turned off The starting outlet will be turned off by the button 2 8 Status LED diodes The status LED diodes on the device inform the user about the current state of the outlet and about specific states of the device Each outlet has one two coloured green red LED diode above its control button Green colour of the outlet LED indicates the current state of the outlet If the outlet LED is green the outlet is on if the outlet LED is not green the outlet i
44. owing 100 HELLO EB5D61F6 The last 8 characters comprise the hash string used for encrypted login 4 Now you can login with the command login name password where name is the username and password is your password If you have entered the correct username and password the device response is 250 OK You are now logged on and you can control the NETIO device using the commands from the following chapter Every communication session via KSHELL interface has limited validity In case of inactivity of approximate duration one minute the session will be terminated automatically If you need to keep the session active you can use the command noop Prehled prikazu pro KSHELL login lt name gt lt password gt Sign in using the plain password Example Use command login admin admin to log in with username admin a password admin guit Sign out In case of changes in system settings perform restart of the device noop Keeps the connection alive performs no action port list x xxx without parameter gets the state of all ports e xxxx is a command for control of all ports simultaneously in place of x enter the commands 0 deactivate output activate output i call interruption of a given output u leave output unchanged 36 NETIO 4 Control and configuration Example The command port list Olui deactivates output 1 activates output 2 leaves output unchanged and interrupts output 4 port output
45. pecific to NETIO4 delay The delay seconds callback function invokes the callback function after the given number of seconds The delay function itself executed immediately and the callback function runs independently of the main code Example We creace a local callback function local ae TON delayedDate log date extraction delayed end we time the function delay 5 delayedDate log delayed date extraction timed this message appears immediately Note Errors that arise in processing delayed functions are not standardly logged anywhere If necessary this can be circumvented with the pca11 function local function wrong osasse oom esset e n ena eE E10 a rtenpt tO access non existent Cevice anc or action Causes Ene error end s local result errorMessage pcall wrong if result false then logf Function failed with error 55 errorMessage end end delay ly logWrongErrors milliDelay The milliDelay milliseconds callback function works like delay except that it uses milliseconds instead of seconds The minimum delay that can be set is 50 ms 44 NETIO 4 Description of the Lua Language A callback function may also be specified directly in a parameter devices system SetOut output 1 value true switches outlet no 1 on milliDelay 500 function devices system SetOut output 2 value false end switc
46. r and Schedule in which the action if triggered will be performed MNETIO A myNetio Outlets Bluetooth Users Schedules Actions settings Log Figure 11 Adding action print everything ping ndRun 7X portParse mailMeChangesx Create Rule a 2014 01 14 21 31 32 English amp admin Is Sign v Enabled Trigger Incoming request Schedule Always function for parsing port arg value and performing its action local function ls DLE local portnumber 1 for c in w do pon oniy alphanumerical chars e brea 1f portnumber gt 4 then return end if c 6 then devices system Set utioutput portnumber value Talse elseif c 1 then devices system SetOut output portnumber value true elseif c i then En EGE SEAL NU AHAS do nothing en debug into remove comment syntax on the line bellow to access debug info logf CGI parser Port d obtain value s portnumber c portnumber portnumber 1 end end local port event args port local pass event args pass Set here your password The password will be required in the incoming CGI request for this action to work To define what action should follow the trigger event you have to write it in source code of Lua language Basics of Lua language can be found in Appendix A Description of the Lua language For simple and more comfortable code writing the Lua sourc
47. ress in the computer network The target device must support the ICMP protocol Based on the accessibility of the device it is then possible to execute your own action with the callback function The duration of the validity of the request in seconds is an optional argument puang address example com Eimeout 60 callback function o log duratrion 2 o duratrionm s end As can be seen in the previous example the callback function can get a table from the ping function after it executes with the following arguments and their return values success ping success true false e duration ping duration value in milliseconds errorlnfo error description text With these return values it is possible to write information about the accessibility of any server or other devices to the NETIOA device event log For the following example use the action trigger Input state updated the action will be executed every 10 s ping example com and log the result local function logPingResult if o success then log example com ping in time 7 O duration else log example com ping FAILED o errorInfo end end ping address example com callback logPingResult After entering and saving the rule look at the event log A 10 Examples 47 NETIO 4 Description of the Lua Language Action for processing incoming CGI requests with a change of the states of outlets The first example shows an
48. s off Green blinking outlet LED means that the outlet is restarting or starting Red colour of outlet LED diodes indicates specific states of the entire device The following states are possible LED of outlet 1 is blinking red Locate function was started LED of outlet 2 is red DHCP failed LED of outlet 3 is blinking red Firmware update is in progress LED of outlet 4 is red Device is in service mode All outlet LEDs are red NETIO4 is starting All outlet LEDs are blinking red Reset of Factory Defaults is in progress The two remaining LED diodes indicate states of Wi Fi and Bluetooth for selected models 7 only wireless connection If the Wi Fi LED is green then Wi Fi on you device is active if not then Wi Fi is inactive A problem with Wi Fi is indicated by the gt LED blinking 2 9 Acoustic signalization The acoustic signalization will be activated in the following situations Beeps once Device is starting Beeps twice Service mode requested Start of reset to factory defaults Reset to factory defaults is done 35 NETIO 4 Control and configuration 2 10 Communication via KSHELL interface The connection procedure is shown in the following example 1 Open the window with command line 2 Enter the command telnet 192 168 10 100 1234 enter the address after the address of your device will 1234 with the port which you have set for KSHELL on the device 3 The device should list a response similar to the foll
49. sage recipients use comma to separate each address Use this if you want to use user defined sender address for all emails from your device The address that will be used as custom sender address Should you require periodic reports about device state check Send daily reports about NETIO health The message which is sent every day after midnight contains a summary of device load and log messages from the past day 30 NETIO 4 Control and configuration Save e mail settings by clicking Save changes button It is possible to verify configuration by clicking Send test e mail button Firmware In section Firmware you can upgrade firmware on your device Use button Show details to learn more about currently installed version NETIOA a 2014 01 07 12 27 36 English admin 4 Sign myNetio Network Mode Firmware version 2 3 0 dev Outlets Wi Fi Build date 2014 01 03 Bluetooth Model netio4 Network Configuration Variant basic A Users Secure Firmware name Connection schedules Firmware revision n62483ed Date Time Actions Product key 8D 68 9F E mail fingerprint Z1 Settings Hide details Firmware Lo B 3 System Update from file Figure 18 Details about installed firmware You can easily upgrade firmware via the web interface on condition that your device is connected to the Internet and you have entered valid network settings First click on the Show all av
50. thernet 4 cable Provides Wi Fi access point a Doesn t bridge ethernet to Wi Fi If you prefer NETIO4 to be accessible via local Wi Fi network select Wi Fi Client mode Your NETIOA is connected via the Wi Fi primary network interface The Ethernet secondary network interface has a separate network range and is used only for fallback access to your NETIO4 The Ethernet interface has static IP address 192 168 2 78 and runs its own DHCP server on network 192 168 2 0 24 Be advised that there is no routing between Ethernet and Wi Fi networks so any device connected via the Ethernet interface cannot be accessed from the Wi Fi network through your NETIO4 Do not bridge Wi Fi to Ethernet 24 NETIO 4 Control and configuration In Wi Fi Access Point mode your NETIO4 is connected via the Ethernet primary network interface as in Cable mode but it is also serving as Wi Fi Access Point at the same time Other devices can connect to your NETIOA via the Wi Fi secondary network interface and have access to the network of the Ethernet interface Bridge Ethernet to Wi Fi DHCP server is not provided in this mode NETIO Configuration mode is similar to the Wi Fi Access Point but the two networks are separated in this case Do not bridge Ethernet to Wi Fi and DHCP server on network 192 168 2 0 24 is running on the Wi Fi interface 192 168 2 78 Based on the network mode you select you are asked to make corresponding changes in network co
51. tool to change network configuration setting as soon as you discover the device and change its basic network parameters during initial configuration Use button Locate to blink with the red LED diode of the outlet number 1 This makes the physical localization of the particular device easier in case you have more than one device connected to your network A Warning Changes to network settings of the device may result in NETIO4 becoming unavailable at the current address Use the web discover http discover netio products com to find out its new address Save network settings by clicking Save changes button Secure connection Click on the amp Secure connection button in the left Settings menu NETIO4 supports secure connection over HTTPS To use this feature simply check Turn on secure connection HTTPS and confirm with Save changes button Self signed certificate will be generated and you will be automatically redirected to device web interface All active connections will be terminated and then reconnected You have to add permanent exception for the created certificate in your browser 2 2014 01 14 22 45 33 English admin W Sign out myletio 5 Network Mode Turn on secure connection HTTPS Outlets Wi Fi Allow CGl in to use insecure connection HTTP Network Certificate valid until 2015 01 03 16 04 14 Tn MSIE Configuration Bluetooth Fingerprint SHAI DE 01L 2 2 74
52. tory Defaults Time from the last device restart Current firmware version and Upgrade link NETIO 4 A admin Delay in seconds between turning on two and more outlets To understand how and when this variable influences turning on of outlets see note Starting outlet Select option for disabling physical control buttons Select option to deactivate status LEDs Save the settings by clicking the Save changes button Click on Restore Factory Defaults button to restore initial settings of NETIOA Note that all user settings will be deleted and default settings will be restored You can check Preserve network settings in confirm dialog window so NETIOA can be easily found after the restoration By clicking the Reset settings button the process of restoration will begin A Warning NETIO4 will be restarted during the process of restoring factory defaults 33 Control and configuration 2 6 Log Click on the El Log button in the left menu 4 myNetio Outlets Bluetooth Users schedules Actions settings Log Figure 21 Log Time Type 2014 01 14 23 13 07 NOTICE 2014 01 14 22 58 42 INFO 2014 01 14 22 58 01 NOTICE 2014 01 14 22 42 53 NOTICE 2014 01 14 22 42 48 INFO 2014 01 14 22 41 30 NOTICE 2014 01 14 22 41 02 NOTICE 2014 01 14 22 29 43 INFO 2014 01 14 22 28 05 NOTICE 2014 01 14 20 57 33 NOTICE 2014 01 14 16 40 42 INFO 2014 01 14 16 39 18 NOTICE 2014 01 14 16 24 00 INFO 2014 01 14 16
53. ue in pairs event args do Output so 4 end cu and writes the following message to the system events log Incoming CGI request foo bar baz qux It is possible to process values obtained in this way further see the complex example in section Section A 10 4 Examples A 7 Other action triggers NETIOA also offers other action triggers used for automating tasks and interacting with the environment When creating user actions select an appropriate trigger to activate your action The usage is similar to that of the Incoming CGI request trigger described in section Section A 6 IncomingCgi event as an action trigger NETIO4 device action triggers System has started SystemStarted The trigger is activated when the NETIOA device starts T omen DoStateChanged trigger is activated when the state of an output outlet changes The schedule has been Aun started arsiopped ScheduleStartStop The trigger is activated when an active schedule is started or stopped Internal variables The trigger is activated when internal variables are updated which occurs every 10 seconds nput updated updated appropriate for repeated actions Incoming request IhcomingCgi The trigger is activated when a CGI request arrives Table 3 Action triggers A 8 Special variables Special variables within actions read only table of devices and their variabl
54. uipment were used by the company KOUKAAM a s on the basis of the relevant consent and pursuant to licence agreements between the company KOUKAAM a s and third parties The company KOUKAAM a s reserves the right to change those licence terms and conditions as the case may be and such changes will be published in the updated version of a manual available on the website of the company KOUKAAM a s www koukaam se The KOUKAAM Team KOUKAAM a s T rkova 2319 5b Prague 4 149 00 Czech Republic www koukaam se 2014 KOUKAAM a s All rights reserved 50 4 Declaration of Conformity Bulgarian Koukaam a s e B 1999 5 X Koukaam a s timto prohla uje ze tento Radio LAN device je ve shod se z kladn mi po adavky a dal imi Czech Cesky p slu n mi ustanoven mi sm rnice 1999 5 ES Undertegnede Koukaam a s erkl rer herved at f lgende udstyr Radio LAN device overholder de v sentlige krav Danish Dansk og vrige relevante krav i direktiv 1999 5 EF Hierbij verklaart Koukaam a s dat het toestel Radio LAN device in overeenstemming is met de essenti le eisen en Dutch Nederlands de andere relevante bepalingen v
55. ultiples to maintain precision So for instance the temperature 24 5 C is represented in the code with the number 2450 To maintain system integrity any code entered by the user runs in a closed environment with limited access to system variables for instance device variables that provide access to current values are set as read only Furthermore running user actions is limited so as to rule out the possibility of getting stuck in an infinite loop which would preclude normal operation of the system This limit is set to 32 000 virtual machine instructions each time a user action is triggered Besides this the Lua environment in NETIO4 provides certain functions to allow cooperation between NETIO4 and other devices A 3 Controlling outlets Switching outlets It is possible to control the state of outlets with the SetOut command which takes two arguments You can use the numerical value of the output argument to specify which outlet will be switched The outlet numbers correspond to the numbers from the outlets overview in the Outlets menu You use the value of the boolean value to specify whether the outlet should be switched on or off devices system SetOut output 3 value false switches outlet number 3 off devices system SetOut output 1 value true switches outlet number 1 on A Warning If the automatic Timer function was switched on for the given outlet switching outlets by means of user actions turns it off
56. unction pungAndRun o local Seis devices sie Olge sei o See S CWO 29521472 fOr CONCaArCenarion che system variable name ere OUTOA SES if o success and portState off then Jost PING OK Stake Of output 4s cs Hnhabling Port perk porbolate r POEEM devices system SetOut output port value true elseif o success and portState off then logt PING OK bite starce of Ouro rt gzel 18 2s DO og mol DOLT ete Sidi NOEling Le Ping Success and Peres AES is Girrerene tnan Voris else do nothing if the device is unreachable or you can turn off the same output by uncommenting of following line devices system SetOut output port value false logit PING PALL Stake OUTOU sd ss DOLCE OOCTCSTCACE end end main program wich che callback function tim ping address device timeout 5 callback pingAndRun Cyclic outlet control action Another example uses delay function to switching states of individual outputs after a certain time Action still uses local function cycler which receives argument with number how many action repeats we want Save this action with trigger Incoming CGI request and run it by incoming CGI like http netio ip event local function eye lei Gin local function sw z state devices system SetOut output z value state ie phen e ee let dt m 5 2 1 then af n is odd number modulo is used sw 1 true sw 2 true
Download Pdf Manuals
Related Search
Related Contents
Bodum Ibis MC10 Biocide Propriétés physiques Mode d`emploi Utilisation LYSIS ESSENTIA SMP-U10 Descargar Manual ライターJISの規格体系(案) Magnese MA-408001 card reader Samsung GT-E2120 Hướng dẫn sử dụng Homeowners Guide Eglo 82808A Installation Guide Copyright © All rights reserved.
Failed to retrieve file