Difference between revisions of "MPower"

From HSYCO
Jump to navigation Jump to search
(Created page with "[http://www.arteco-global.com Arteco Everywhere] is a general purpose digital input-output Ethernet controller. It is available in two versions, a 4 inputs, 4 outputs module,...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://www.arteco-global.com Arteco Everywhere] is a general purpose digital input-output Ethernet controller.
+
[https://www.ui.com/mfi/mpower/ mFi mPower] products are mFi controllable power outlets with Wi-Fi capability.
  
It is available in two versions, a 4 inputs, 4 outputs module, and an 8 inputs 8 outputs module.
+
Supported models are mPower, mPower (EU), mPower mini, mPower mini (EU), mPower PRO, mPower PRO (EU).
  
[[File:IO Servers Arteco Modules.png]]
 
  
The ARTECOIO I/O Server in HSYCO creates a data point representation that you can use in the EVENTS language and Java to read the input pins and control the outputs. It also automatically allows you to create control objects for the Web user interface.  
+
The MPOWER I/O Server in HSYCO creates a data point representation that you can use in the EVENTS language and Java to read the individual outlets status and energy data, and turn them on and off. It also automatically allows you to create control objects for the Web user interface.  
  
 
[[Category:I/O Server]]
 
[[Category:I/O Server]]
  
 
== HSYCO Configuration ==
 
== HSYCO Configuration ==
Add an ARTECOIO I/O Server in the [[Settings#I/O Servers|I/O Servers section of the Settings]] and set its parameters:
+
Add an MPOWER I/O Server in the [[Settings#I/O Servers|I/O Servers section of the Settings]] and set its parameters:
  
 
=== Communication ===
 
=== Communication ===
*'''IP Address''': host name or IP address of the Arteco module (the default address is 192.168.10.96)
+
*'''IP Address''': host name or IP address of the mPower device
*'''IP Port''': TCP/IP port to use, leave blank to use default port 80
+
*'''IP Port''': leave blank, the I/O Server always uses port 22
*'''User''': username, leave blank to use default username "admin"
+
*'''User''': username, leave blank to use default username "ubnt"
*'''Password''': password, leave blank to use default password "arteco".
+
*'''Password''': password, leave blank to use default password "ubnt".
  
 
=== High Availability ===
 
=== High Availability ===
Line 37: Line 36:
 
|false
 
|false
 
|start generating events only after HSYCO is aligned with the current status of the system
 
|start generating events only after HSYCO is aligned with the current status of the system
|-
 
 
|rowspan="2"|inputdiscovery
 
|rowspan="2"|false
 
|true
 
|automatically creates the list of all inputs in the systemtopo.txt file. Should be enabled to allow the automatic update of (button) objects’ states
 
|-
 
|false
 
|auto-detect for input devices is disabled
 
 
|-
 
|-
  
Line 57: Line 47:
 
|-
 
|-
  
|inputs
+
|decimals
|8
+
|0
|0 ... 8
+
|>= 0
|use input pins from 0 to the specified value
+
|number of decimals used for power, energy, voltage, current and power factor
|-
 
 
 
|outputs
 
|8
 
|0 ... 8
 
|use output pins from 0 to  the specified value
 
 
|-
 
|-
  
Line 94: Line 78:
 
|-
 
|-
  
|rowspan="2" |i<n>
+
|rowspan="4" |<n>
|0
+
|rowspan="2" |0
 
|R
 
|R
|input <n> is low
+
|outlet <n> is off
 
|-
 
|-
|1
+
|W
|R
+
|turn outlet <n> off
|input <n> is high
 
 
|-
 
|-
  
|rowspan="7" |o<n>
+
|rowspan="2" |1
|rowspan="2" |0
 
 
|R
 
|R
|output <n> is low
+
|outlet <n> is on
 
|-
 
|-
 
|W
 
|W
|set output <n> to off
+
|turn outlet <n> on
 
|-
 
|-
  
|rowspan="2" |1
+
|<n>.energy
 +
|<val>
 
|R
 
|R
|output <n> is high
+
|outlet <n> total energy in Wh
 
|-
 
|-
|W
+
 
|set output <n> to on
+
|<n>.i
 +
|<val>
 +
|R
 +
|outlet <n> current (A)
 
|-
 
|-
  
|flip
+
|<n>.pf
|W
+
|<val>
|invert the status of output <n>
+
|R
 +
|outlet <n> power factor
 
|-
 
|-
  
|blink
+
|<n>.p
|W
+
|<val>
|continuously blink output <n>
+
|R
 +
|outlet <n> power (W)
 
|-
 
|-
  
|pulse
+
|<n>.v
|W
+
|<val>
|set output <n> to on, then off after 1 sec.
+
|R
 +
|outlet <n> voltage (V)
 
|-
 
|-
 +
  
 
|}
 
|}
Line 140: Line 130:
 
== User Interface ==
 
== User Interface ==
  
When using the default settings of the Arteco I/O Server, all output pins are available in the Project Editor and can be easily associated to any control button of the Web interface.  
+
When using the default settings of the MPOWER I/O Server, all outlets are automatically defined in the Project Editor and can be easily associated to any control button of the Web interface.
 
 
You can also set the ''inputdiscovery'' option in order to associate control buttons to the module’s inputs: the control buttons will show the input status, and have no effect when pressed.
 
 
 
 
 
[[File:IO Servers Arteco Project Editor.png]]
 
  
 
== Release Notes ==
 
== Release Notes ==
Line 154: Line 139:
  
  
''ARTECO is a registered trademark of Arteco Srl.''
+
''mFi and mPower are registered trademarks of Ubiquiti Inc.''

Latest revision as of 11:53, 2 October 2020

mFi mPower products are mFi controllable power outlets with Wi-Fi capability.

Supported models are mPower, mPower (EU), mPower mini, mPower mini (EU), mPower PRO, mPower PRO (EU).


The MPOWER I/O Server in HSYCO creates a data point representation that you can use in the EVENTS language and Java to read the individual outlets status and energy data, and turn them on and off. It also automatically allows you to create control objects for the Web user interface.

HSYCO Configuration

Add an MPOWER I/O Server in the I/O Servers section of the Settings and set its parameters:

Communication

  • IP Address: host name or IP address of the mPower device
  • IP Port: leave blank, the I/O Server always uses port 22
  • User: username, leave blank to use default username "ubnt"
  • Password: password, leave blank to use default password "ubnt".

High Availability

  • Shutdown when inactive: defaults to false.

Options

ID Default Values Description
startupevents false 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
outputdiscovery false true automatically creates the list of all outputs in the systemtopo.txt file. Should be enabled to allow the automatic update of (button) objects’ states
false auto-detect for output devices is disabled
decimals 0 >= 0 number of decimals used for power, energy, voltage, current and power factor

Datapoints

The data points associated to the input pins are named “i0” to “i7”. The data points associated to the output pins are named “o0” to “o7”.

The I/O Server generates asynchronous events based on the status of the Arteco module’s input and output pins. The output data points can be written to control the output pins.

ID Value R/W Description
connection online R connection established
offline R HSYCO can't connect to the device
<n> 0 R outlet <n> is off
W turn outlet <n> off
1 R outlet <n> is on
W turn outlet <n> on
<n>.energy <val> R outlet <n> total energy in Wh
<n>.i <val> R outlet <n> current (A)
<n>.pf <val> R outlet <n> power factor
<n>.p <val> R outlet <n> power (W)
<n>.v <val> R outlet <n> voltage (V)

User Interface

When using the default settings of the MPOWER I/O Server, all outlets are automatically defined in the Project Editor and can be easily associated to any control button of the Web interface.

Release Notes

3.3.0

  • initial release


mFi and mPower are registered trademarks of Ubiquiti Inc.