cus, why not?
npm install -g homebridge-magichome-led
And add this to your config.json
:
"platforms": [
{
"platform" : "MagicHomeLED"
}
]
Devices should autodetect and appear in the home app with their mac address and model number. You can rename thease using the home app.
Sometimes, there can be an issue with detecting devices. You can define devices too in the config.json file:
"platforms": [
{
"platform" : "MagicHomeLED",
"discover": false,
"devices": [
{
"address" : "192.168.X.XXX",
"id": "MAC_ADDRESS",
"model": "XXXXXXXX"
}
]
}
]