homebridge-milight-esp-mqtt
TypeScript icon, indicating that this package has built-in type declarations

1.2.7 • Public • Published

A Homebridge plugin for the ESP8266 MiLight Hub.

Features

State update via MQTT (optional)

  • If you use any remote to control your lights, the plugin can update those values also for the Homebridge.
  • You can host an MQTT server on your Raspberry Pi too, so this is easy to setup.

Groups

  • You can create groups, which will be a switch in your Home app too. If you toggle that, it will toggle all of the contained lights also.

Usage

"platforms": [
	{
	    "platform": "MiLightEsp",
	    "name": "MiLight",
	    "ip": <ESP_HUB_IP>,
	    "username": <ESP_HUB_USERNAME>,
	    "password": <ESP_HUB_PASSWORD>,
	    "mqtt": {
		"ip": <MQTT_IP>,
		"username": <MQTT_USERNAME>,
		"password": <MQTT_PASSWORD>
	    },
	    "groups": [
		{
		    "mainAlias": <NAME_OF_THE_GROUP>,
		    "aliases": [
			<NAME_OF_LIGHT_1>,
			<NAME_OF_LIGHT_2>,
			...
		    ]
		}
	    ]
	}
]
  • You should name your lights on the ESP HUB web interface, and use that names here.

Package Sidebar

Install

npm i homebridge-milight-esp-mqtt

Weekly Downloads

1

Version

1.2.7

License

MIT

Unpacked Size

38.8 kB

Total Files

23

Last publish

Collaborators

  • kovapatrik