Homebridge plugin to connect to nodeMCU devices via websockets
(any)
(aliases)
Friendly names for your devices
(any)
config.json sample
{
"platform": "mculed",
"name": "mculed",
"aliases": {
"NODE-AC5812": "Kitchen Sink"
}
}
Called on startup of Homebridge, once per accessory
This function opens a socket connection to the nodeMCU device
(any)
Parsing of messages received nodeMCU devices
(any)
(any)
Send message to nodeMCU device
(any)
(any)
Called on startup of Homebridge, after initialization is complete Discover mculed devices using mDNS/Bonjour Creates homebridge device, once per discovered accessory
Call nodeMCU device and return configuration string
Turn on nodeMCU device
Turn on and rotate thru the primary colors
Turn on and rotate thru the primary colors
Set brightness of nodeMCU device
Set hue of nodeMCU device
Set color saturation of nodeMCU device
Set color temperature of nodeMCU device
Add MCU Device
Reset switch checks if each device is on the network and if it isn't found, removes it
Am using the Identify function to validate a device, and if it doesn't respond remove it from the config