Iono is a general-purpose, professional input/output module based on a standard Arduino microcontroller.
This driver provides support for iono Ethernet employing the HTTP API provided by the IonoWeb library.
The default sketch installed in iono Ethernet exposes this API.
Add a IONO I/O Server in the I/O Servers section of the Settings and set its parameters:
- IP Address: the IP address assigned to iono;
- Port: the TCP port (defaults to 80)
- Shutdown when inactive: defaults to true.
|startupevents||true||true||generate IO events also during the driver’s start-up phase|
|false||start generating events only after HSYCO is aligned with the current status of the system|
|pollinterval||0||0||the driver will use the push notifications sent by iono to monitor its changes|
|int > 0||the driver will poll iono's state with the specified time interval (in seconds). Push notifications won't be enabled|
|input1||digital||digital||the specified multi-mode input will be read as digital signal (DI<n>)|
|input3||voltage||the specified multi-mode input will be read as analog voltage (AV<n>)|
|input4||current||the specified multi-mode input will be read as analog current (AI<n>)|
|stabletime||100||int > 0||number of milliseconds an input must be stable before a push notification is sent by iono to HSYCO|
|minvariation||0.1||float > 0||minimun value variation (for analog inputs) to trigger an event|
|subscribehost||<host_name>||hostname or IP address to be used by iono to send push notifications. Leave blank to let the driver discover the local address|
For inputs 1 to 4, depending on the 'input1' ... 'input4' options, only the corresponding datapoint will be created, i.e. di<n> (if digital), av<n> (if voltage) or ai<n> (if curent).
|offline||R||HSYCO can't connect to the device|
|do<n>||0||R||relay <n> (digital output) is off|
|W||switch off relay <n>|
|1||R||relay <n> (digital output) is on|
|W||switch on relay <n>|
|di<n>||0||R||digital input <n> is low|
|1||R||digital input <n> is high|
|av<n>||<val>||R||analog input <n> is reading a voltage equal to <val> (in Volts)|
|ai<n>||<val>||R||analog input <n> is reading a current equal to <val> (in mA)|
|ao1||<val>||W||set the analog output to <val> Volts|
- the IONO I/O Server is now "free". Using it doesn't decrease the number of available I/O servers
- "minvariation" option now also applies to polling mode
- bug fix for I/O Server port option
- initial release
iono is a registered trademark of Sfera Labs Srl