MPower
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.
Contents
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 | |
i<n> | 0 | R | input <n> is low |
1 | R | input <n> is high | |
o<n> | 0 | R | output <n> is low |
W | set output <n> to off | ||
1 | R | output <n> is high | |
W | set output <n> to on | ||
flip | W | invert the status of output <n> | |
blink | W | continuously blink output <n> | |
pulse | W | set output <n> to on, then off after 1 sec. |
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.
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.
Release Notes
3.3.0
- initial release
mFi and mPower are registered trademarks of Ubiquiti Inc.