Skip to content

Add MiLight/LimitlessLED bulbs to Hubitat (requires the ESP8266 MiLight Hub by sidoh)

License

Notifications You must be signed in to change notification settings

cometfish/hubitat_driver_esp8266milighthub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubitat Driver for ESP8266 MiLight Hub

Add MiLight/LimitlessLED bulbs to Hubitat (requires the ESP8266 MiLight Hub by sidoh)

  1. Setup your ESP8266 MiLight Hub, and make sure it has a fixed IP address
  2. Add lightbulbdriver.groovy to your Hubitat as a new Driver (under Drivers Code)
  3. Add a new device for each bulb group to your Hubitat, set device Type to your User driver of 'MiLight Light'
  4. Configure the Hubitat bulb device with:
    1. the IP address of the hub
    2. your hex Hub address (see the hub documentation for how to discover/set this)
    3. your light type (cct for a White-only bulb, rgb for an RGB bulb, or rgb_cct for an RGBW bulb)
    4. your light Group ID (or 0 for the 'All' group / 0 for an RGB bulb)

You can also monitor the status of the MiLight hub (online/offline) if your hub is version 1.9.0 or higher and you have an MQTT broker:

  1. Configure your ESP8266 MiLight Hub for MQTT:
    1. Enter your MQTT broker address under MQTT server
    2. Enter your desired topic under MQTT Client Status Topic, eg. milight/status
  2. Add hubdriver.groovy to your Hubitat as a new Driver (under Drivers Code)
  3. Add a new device to your Hubitat, set device Type to your User driver of 'MiLight Gateway'
  4. Configure the new Hubitat MiLight Gateway device with:
    1. the MQTT broker address of the hub ip:port (eg. 127.0.0.1:1883)
    2. the MQTT topic you chose earlier (eg. milight/status)
  5. Save your settings - if they're correct and the hub is online, refreshing the device page will show the hub as present as well as listing its IP address and firmware version

Credits:

  • bworby for adding bulb Type and Colour bulb support

About

Add MiLight/LimitlessLED bulbs to Hubitat (requires the ESP8266 MiLight Hub by sidoh)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages