在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sahilchaddha/homebridge-magichome-platform开源软件地址:https://github.com/sahilchaddha/homebridge-magichome-platform开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-magichome-platformA Homebridge plugin for devices running fade/strobe effects on the Magic Home Wi-Fi system. DescriptionThis plugin will create LightBulbs in Homekit capable of turning on/off, change color, change hue, change saturation. This plugin can also create preset patterns Switches (color cycle, fade, strobe). Its a great utility tool to set house mood to party/soothing with custom music. Can cycle through colors, sync all lights to strobe/fade. Installation $ npm install -g --unsafe-perm homebridge
$ npm install -g --unsafe-perm homebridge-magichome-platform Edit config.json. Refer to Available Presets Scenes
DemoCompatible DevicesAny devices created by Zengge and running on the Magic Home Wi-Fi (or other apps by the same developer such as LED Magic Color) app should work with this plugin. Some examples of compatible devices are:
Sample Config :{
"platforms": [
{
"platform": "MagicHome-Platform",
"debug": true,
"lights": [
{
"name": "Kitchen LED Strip",
"ip": "192.168.1.111",
"setup": "RGBW",
"purewhite": false,
"timeout": 10000
},
{
"name": "Living Room LED Strip",
"ip": "DC4F22C5XXXX",
"setup": "RGBWW",
"purewhite": true
}
],
"presetSwitches": [
{
"name": "Kitchen Color Strobe Flash (Party)",
"ips": {
"192.168.1.111": "255,255,255"
},
"preset": "seven_color_strobe_flash",
"speed": 60
},
{
"name": "All Lights Cross Fade (Soothing)",
"ips": {
"192.168.1.111": "0,150,255",
"DC4F22C5XXXX": "102, 255, 102"
},
"preset": "seven_color_cross_fade",
"speed": 40,
"shouldTurnOff": true
},
{
"name": "Jungle Mood (Soothing)",
"ips": {
"192.168.1.111": "0,150,255",
"DC4F22C5XXXX": "102, 255, 102"
},
"preset": "green_gradual_change",
"speed": 40,
}
]
}
]
} Preset Switch Configuration
You can use MAC Address instead of IP Address as well. Please note format of MAC Address. It should be in capital letters and Do note : While using MACS : This plugin auto discover connected lights on the network and map IP's to their corresponding MAC. Initially it can take time to discover all devices. All devices should be discovered and mapped in 60-120s. Once mapped IP & MACs are cached, and gets rediscovered every 30s to map new IP to the light. This feature is useful for people unable to assign Static IP to their lights. Default Discovery Interval => 5 Minutes Default Device Status Update Interval => 1 Minute Setting Device Lint $ npm run lint Need Help ?Get Slack Invite => Slack Channel => Slack User => AuthorSahil Chaddha |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论