Use ESP8266 to control unlimited groups of milight or limitless LED bulbs in Openhab2

@ptmuldoon Thanks for the post with how you use it, that is the sort of thing I need to keep in mind when doing the coding to see if it makes sense to create a “remote thing”. The binding I am writing already requires you to add a “Bridge” as a thing which would auto find and add globes if your MQTT lists any saved states of globes which you could then remove and hide to stop them getting auto added back.

Anyone with this hub can see the list that will auto find globes by doing this

mosquitto_sub -u usernamehere -P passwordhere -p 1883 -v -t 'milight/#'

All the saved states of the globes get listed when you connect to the broker, so this will need to be correct for my binding to add your globes smoothly.

Adding a remote thing would work (and be next to no work to do so) but it would probably still mean just as many rules to redirect what a button pushed on the remote does to a different brand of light or totally different type of product like shutters. If it does not save any work for you and still needs rules I probably wont add a remote thing right away as I personally do not use remotes in my house, I have custom made hardware buttons that I designed myself that I need to write a binding for next to get the whole solution slick and working. EDIT: Actually it would give you one feature and that is the ability to know if the Bridge looses its connection to the MQTT broker, your current way does that ever pose an issue and would it be helpful to know when the remote will not work due to MQTT issues?

My goal at this stage is to get a 100% stable binding fully tested with rgb_cct globes and then share it with people for testing and slowly add more support for different globes as I find people happy to test that need a particular globe added. If that means a remote thing then it is easy to add if you wish to test.

Feature requests are also very welcome at this stage. For example when faders/dimmers in openhab are at 0 value I will put the ability to select if the user wants this as the globe is off, or if it is the lowest level of light the globe can create. Knowing what people want to see helps to ensure it is easy to add later on or added right away.