MiLight Plugin for HomeSeer HS4 Manual

Introduction

Thank you for using the MiLight Plugin for HS4! This plugin can be used to locally control MiLight LED lights via one or more MiLight W-Fi controllers. Please see Requirements for more info.

This is my second plugin of – now 3 – for HS4. My other plugins are the Horizon Remote Plugin and Volvo Plugin.

I have tested this plugin thoroughly, but if you find bugs anyway, please let me know.

Requirements

To use this plugin, you will need the following:

Installation & Setup

1. Install and activate the plugin like any other plugin. If you're new to HS4, here is how:

2. Configure:

Please check the settings you entered, as the next step can create up to 10 devices and 94 features(!). Then to confirm chose Create Devices.

In the background the IP address you entered will be checked to make sure it is a valid IPv4 address (no typos, etc.). If it's not valid, the devices/features will not be created. This process will NOT check if there is an actual MiLight Wi-Fi controller behind the IP address. Also, this process checks to make sure that devices or features with the same version/IP combination do not already exist.

In the next step you can either go back 'home' (Devices page) or to the Log, in case you want to check if everything went well.

Noteworthy

The document includes three color wheels for reference: a 'Regular color wheel', a 'Legacy' color wheel, and a 'V5/V6' color wheel. These illustrate color representation, with the Legacy wheel appearing rotated and the V5/V6 wheel mirrored and rotated.

Additional Notes

Long Key Presses

In version 1.0.0.4 long key presses were added. This act as if the button was held, like in the MiLight apps. Here is what you should know about long key presses:

Artificial Extra Zones

The Wi-Fi controllers are not actually quite limited to 4 (or 8) zones.

For example, the V5/V6 Wi-Fi controllers (iBox1 and iBox2) seem to be able to each control:

This is possible because if you link a light within a certain command set, it will only listen to commands from that set, not from another set. In other words, these controllers can* virtually be 129 zones(!). This, of course, can only be achieved if you have these type of lights, or don't care about some functionality (For example you can link a RGB+CCT light as RGBWW light). You can add a controller more than once and set command modes differently for each occurrence.

Controllers with older versions have less command sets and can therefore handle less total zones.

* Tested with available iBox2 hardware. Different versions may give different results.

Presets & Macros

Presets

If you've figured out which setting works for you for any of the slider features, you can add extra buttons so that you don't have to remember the value and you can easily set the value in one go.

Preset example

Say you figured out that 4600K is the perfect setting for Zone 2 for dinner.

Click the feature name (in this case Zone 2 White Temperature) and go to the Status/Graphics tab. Lookup the Value on the bottom of the page. In this case it turns out to be 50.

Now chose New Single Value and Edit it to give this preset your value of 50 and a god name, in this case Dinner. Consider editin the Rows of both the slider and the button, so they don't end up on the same line (which would make the slider smaller and harder to manipulate). Don't forget to save.

Macros

If you want to be able to set several features at “the same time” you can use a virtual device and an event to do so.

Macro example

Say while watching movies you want to dim Zone 1 lights to 10% brightness and switch Zone 2 and Zone 3 lights off. Create a virtual device (from the Devices page + in the right top corner). Then create one or more features with unique macro names and values.

Now go to Events, add a new event (+). Name the event group, for example MiLight Macros. Then add a New Event (+), name it (in this case Movie Time. Set the trigger to your Virtual button (Movie Time). Then set all the features to the values you wanted:

Modify Configuration

Modify IP address and/or port number

If you have already added a controller earlier and you need to modify its IP address and/or port number, because you've made a typo or you had to change the controller's IP address, do the following:

If you made a mistake you can use the page again to fix it.

Remove a Wi-Fi controller

You can completely remove a controller by manually removing its devices and features. But to make it easier for you, you can use the dedicated page. Note that this process is irreversible. To remove a controller:

That's it. The devices and features of the selected controller should now be removed. If you have made a mistake you will have to add the controller again and if events were tied to the deleted features you will have to modify these events.

Please note that to remove only 1 (or several) command set of a controller you will still have to delete it's devices and features manually. So this is only the case if you have added a controller more than once, with different command sets. The easiest way to achieve this is to Enable Bulk Edit and select the devices you want to delete. HS4 will automatically select all related features. Choose Bulk Action > Delete and confirm.

Support

If you have a question or want to report a bug, please use the dedicated sub-forum on https://forums.homeseer.com/

Changelog

VersionRemark
1.0.2.0Implemented device polling
Added page to modify IP and/or port number of a controller
Added page to remove a controller
Updated manual accordingly
1.0.1.0Reverse engineered and added all remaining (3x legacy, 7x V5/V6) command sets
Optimized code
1.0.0.4Added remote names to command set configuration
Added long presses of supported buttons (see chapter Long Key Presses)
Fixed Legacy RGB On
Fixed iBox Bridge Effect Modes
Renamed RGBWW/CW Full Color to RGB+CCT
1.0.0.3Fix plugin enabling for Linux
1.0.0.2Improved check for double devices, slightly better logging
1.0.0.1Minor fix
1.0.0.0Initial release

Appendix A: iBox command sets

This appendix details the command sets for MiLight 3.0 App compatible iBox controllers, listing supported remotes, types, and specific feature values.

Images of MiLight remotes (FUT092, FUT096, etc.) with their corresponding types and supported versions are shown.

Resembles remoteFUT092FUT096FUT095FUT028FUT025FUT027FUT098FUT020FUT022FUT021FUT093FUT091FUT007FUT006FUT005FUT090FUT089N/A
Type4 zone RGB+CCT4 zone RGBW4 zone RGBW1 zone RGBW1 zone RGBW1 zone RGBW1 zone RGBW1 zone Dual White1 zone Single Color1 zone CCT4 zone Dual White99 zone RGB+CCT (Tracklight)8 zone RGB+CCTiBox1 Bridge Light
Supported sinceV1.0.0.0V1.0.0.0V1.0.1.0V1.0.0.0V1.0.1.0V1.0.1.0V1.0.1.0V1.0.1.0V1.0.1.0V1.0.1.0V1.0.0.0V1.0.1.0V1.0.0.0V1.0.0.0
Values for ID features (address contains ID)0-9999-------------
Values for Zone features (address contains ZN)0-99-------------
Values for Shift features (address contains SH)Shift (128)-------------
Unshift (0)--------------
Values for Switch features (address contains ON)Off (0)✔️-------------
Long Off (10)✔️-------------
On (100)✔️-------------
Long On (110)✔️-------------
On/Off Toggle (200)----✔️---------
Long On/Off Tiggle (210)----✔️---------
Night Mode (50)✔️-------------
Long Night Mode (60)✔️-------------
White Mode (99)✔️-------------
Color/White Toggle (150)✔️-------------
Long Color/White Toggle (160)✔️-------------
Values for Brightness features (address contains BR)0-100✔️-------------
0-255------------✔️✔️
Values for Brightness Buttons features (address contains BB)Up (254)✔️-------------
Long Up (244)✔️-------------
Down (255)✔️-------------
Long Down (245)✔️-------------
Low (20)✔️-------------
Long Low (30)✔️-------------
Medium (50)✔️-------------
Long Medium (60)✔️-------------
Max (100)✔️-------------
Long Max (110)✔️-------------
Values for Color features (address contains CO)0-255------------✔️✔️
Values for RGBW Color Buttons features (address contains CB)Red Up (10)--✔️-----------
Long Red Up (20)--✔️-----------
Red Down (30)--✔️-----------
Long Red Down (40)--✔️-----------
Green Up (50)--✔️-----------
Long Green Up (60)--✔️-----------
Green Down (70)--✔️-----------
Long Green Down (80)--✔️-----------
Blue Up (90)--✔️-----------
Long Blue Down (100)--✔️-----------
Blue Down (110)--✔️-----------
Long Blue Down (120)--✔️-----------
White Up (130)--✔️-----------
Long White Up (140)--✔️-----------
White Down (150)--✔️-----------
Long White Down (160)--✔️-----------
Values for Effect (Disco/Mode) features (address contains EF)1-9--------------
Mode (253)----✔️---------
Long Mode (243)----✔️---------
Mode Up (254)----✔️---------
Long Mode Up (244)----✔️---------
Mode Down (255)----✔️---------
Long Mode Down (245)----✔️---------
Values for Effect (Disco/Mode) Speed features (address contains ES)Speed Up (254)----✔️---------
Long Speed Up (244)----✔️---------
Speed Down (255)----✔️---------
Long Speed Down (245)----✔️---------
Values for Saturation features (address contains SA)0-29--------------
0-100------------✔️✔️
Values for White Temperature features (address contains WT)0-38 (K=value*100+2700)--------------
0-100 (K=value*38+2700)------------✔️-
0-255 (K=value*3800/255+2700)-------------✔️
Values for White Temperature Up/Down Buttons features (address contains WB)Warmer (254)--------------
Long Warmer (244)--------------
Cooler (255)--------------
Long Cooler (245)--------------
Book (1)--------------
Long Book (11)--------------
Cup (2)--------------
Long Cup (12)--------------
Sunset (3)--------------
Long Sunset (13)--------------
M1 (21)--------------
Long M1 (31)--------------
M2 (22)--------------
Long M2 (32)--------------
M3 (23)--------------
Long M3 (33)--------------
Values for Tracklight Motion features (address contains MO)Left (10)--------------
Long Left (20)--------------
Stop Left (30)--------------
Right (40)--------------
Long Right (50)--------------
Stop Right (60)--------------
Up (70)--------------
Long Up (80)--------------
Stop Up (90)--------------
Down (100)--------------
Long Down (110)--------------
Stop Down (120)--------------
S0 (130)--------------
Values for Save features (address contains SV)1-9--------------
Values for Select features (address contains SL)1-9--------------
Values for Link features (address contains LI)Link (254)--------------
Unlink (255)--------------

Appendix B: Legacy command sets

This appendix details the command sets for MiLight 2.0 App compatible controllers, listing supported remotes, types, and specific feature values.

Images of MiLight 2.0 App remotes (FUT020, FUT025, etc.) with their corresponding types and supported versions are shown.

Resembles remoteFUT020FUT025FUT027FUT098FUT007FUT006FUT005FUT095FUT096FUT021FUT022
MiLight 2.0 App
Type1 zone RGBW1 zone RGB4 zone WW/CW4 zone RGBW1 zone Single Color1 zone WW/CW
Supported sinceV1.0.1.0V1.0.0.0V1.0.0.0V1.0.0.0V1.0.1.0V1.0.1.0
Values for Switch features (address contains ON)Off (0)-✔️----
Long Off (10)-✔️----
On (100)-✔️----
Long On (110)-✔️----
On/Off Toggle (200)--✔️✔️--
Long On/Off Toggle (210)--✔️✔️--
Night Mode (50)✔️-----
White Mode (99)✔️-----
Color/White Toggle (150)--✔️✔️--
Long Color/White Toggle (160)--✔️✔️--
Values for Brightness features (address contains BR)2-29--✔️---
1-59---✔️--
0-255----✔️✔️
Values for Brightness Buttons features (address contains BB)Up (254)--✔️✔️--
Long Up (244)--✔️✔️--
Down (255)--✔️✔️--
Long Down (245)--✔️✔️--
Low (20)✔️-----
Long Low (30)✔️-----
Medium (50)✔️-----
Long Medium (60)✔️-----
Max (100)✔️-----
Long Max (110)✔️-----
Values for Color features (address contains CO)0-255-✔️----
Values for Effect (Disco/Mode) features (address contains EF)Mode (253)--✔️---
Long Mode (243)--✔️---
Previous (254)✔️-----
Long Previous (244)✔️-----
Next (255)✔️-----
Long Next (245)✔️-----
Values for Effect (Disco/Mode) Speed features or Saturation (address contains SS)Speed Up (254)--✔️---
Long Speed Up (244)--✔️---
Speed Down (255)--✔️---
Long Speed Down (245)--✔️---
Values for White Temperature features (address contains WT)0-255 (K=value*3800/255+2700)----✔️✔️
Values for White Temperature Up/Down Buttons features (address contains WB)Warmer (254)--✔️---
Long Warmer (244)--✔️---
Cooler (255)--✔️---
Long Cooler (245)--✔️---
Models: 463, MiLight Plugin for HS4, 463 MiLight Plugin for HS4

File Info : application/pdf, 11 Pages, 689.70KB

PDF preview unavailable. Download the PDF instead.

463 MiLight Plugin for HomeSeer HS4 manual

References

PDFill PDF Editor 15.0

Related Documents

Preview MiLight Panel Remote Controller T/B Series User Manual
User manual for MiLight Panel Remote Controllers, T and B series, detailing features, parameters, installation, and operation for dimming, CCT, RGB, and RGB+CCT lighting.