All Projects → sahilchaddha → homebridge-magichome-platform

sahilchaddha / homebridge-magichome-platform

Licence: MIT license
Homebridge Plugin for MagicHome LED Strips with Preset Scene Automation Support (Cycle Color/Fade/Strobe)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to homebridge-magichome-platform

homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (+15.22%)
Mutual labels:  homebridge, homebridge-plugin, scene, preset
homebridge-keylights
Yet another Homebridge plugin for Elgato Key Light and Key Light Air. https://homebridge.io
Stars: ✭ 40 (-13.04%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-vsx
📻 A VSX and SC Plugin for homebridge
Stars: ✭ 12 (-73.91%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-adb
Homebridge script to control remote ADB enabled Android device
Stars: ✭ 56 (+21.74%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-pi-thermostat
Homebridge Plugin to make Raspberry Pi into Thermostat
Stars: ✭ 33 (-28.26%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-homee
use your homee with homebridge
Stars: ✭ 14 (-69.57%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-pilight
Accessory plugin for Homebridge allowing to manage and control pilight devices
Stars: ✭ 16 (-65.22%)
Mutual labels:  homebridge, homebridge-plugin
Homebridge Ewelink
Homebridge plugin to control eWeLink devices with original firmware.
Stars: ✭ 208 (+352.17%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-open-sesame
Homebridge plugin for SESAME3 and SESAME4
Stars: ✭ 14 (-69.57%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-nature-remo-cloud-aircon
Homebridge Plug-in for Air Conditioner Managed by Nature Remo
Stars: ✭ 28 (-39.13%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-vieramatic
Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models)
Stars: ✭ 39 (-15.22%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-z2m
Expose your Zigbee devices to HomeKit with ease, by integrating 🐝 Zigbee2MQTT with 🏠 Homebridge.
Stars: ✭ 197 (+328.26%)
Mutual labels:  homebridge, homebridge-plugin
Homebridge Mi Acpartner
XiaoMi AC Partner plugins for HomeBridge(https://github.com/nfarina/homebridge).
Stars: ✭ 250 (+443.48%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-panasonic
A Homebridge plugin for Panasonic Viera TV's. Written to support the new Homekit TV accessory.
Stars: ✭ 18 (-60.87%)
Mutual labels:  homebridge, homebridge-plugin
Homebridge Myq
🚗 myQ Liftmaster and Chamberlain Plugin for Homebridge https://github.com/nfarina/homebridge
Stars: ✭ 222 (+382.61%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-unifi-occupancy-sensor
An occupancy sensor for Homebridge and UniFi
Stars: ✭ 71 (+54.35%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-mijia-camera
Homebridge plugin for the Xiaomi Mijia 1080P Smart IP Camera, also known as Mi Home Security Camera.
Stars: ✭ 35 (-23.91%)
Mutual labels:  homebridge, homebridge-plugin
Verified
Plugins Verified by Homebridge
Stars: ✭ 180 (+291.3%)
Mutual labels:  homebridge, homebridge-plugin
Homebridge Gsh
Allow Google Assistant to control your Homebridge accessories.
Stars: ✭ 190 (+313.04%)
Mutual labels:  homebridge, homebridge-plugin
homebridge-callmonitor
Signals incoming and outgoing calls using the call monitor facility in Fritz!Box devices via HomeKit
Stars: ✭ 25 (-45.65%)
Mutual labels:  homebridge, homebridge-plugin

homebridge-magichome-platform

NPM

npm npm CircleCI

A Homebridge plugin for devices running fade/strobe effects on the Magic Home Wi-Fi system.

Description

This 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 config-sample.json.

Available Presets Scenes

	seven_color_cross_fade
	red_gradual_change
	green_gradual_change
	blue_gradual_change
	yellow_gradual_change
	cyan_gradual_change
	purple_gradual_change
	white_gradual_change
	red_green_cross_fade
	red_blue_cross_fade
	green_blue_cross_fade
	seven_color_strobe_flash
	red_strobe_flash
	green_strobe_flash
	blue_stobe_flash
	yellow_strobe_flash
	cyan_strobe_flash
	purple_strobe_flash
	white_strobe_flash
	seven_color_jumping

Demo

Demo

Compatible Devices

Any 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

ips must be a key-value object where key is MagicHome LED IP Address e.g. 192.168.1.11 or DC4F22C5XXXX MAC Address & value is default rgb color of the light. e.g. "255,255,255" (White). Turning off Preset Pattern Switch , all lights will be reset to this color.

You can use MAC Address instead of IP Address as well. Please note format of MAC Address. It should be in capital letters and : should not be present. e.g. DC4F22C5XXXX

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 timeout to 0, will disable polling device for status update.

Lint

    $ npm run lint

Need Help ?

Get Slack Invite => https://slackin-znyruquwmv.now.sh/

Slack Channel => https://homebridgeteam.slack.com/messages/homebridge-magichome

Slack User => @sahilchaddha

Author

Sahil Chaddha

[email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].