Skip to content

Danimal4326/homebridge-magichome2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-magichome2

A Homebridge plugin for devices running on the Magic Home Wi-Fi system.

The plugin includes and uses a slightly modified version of flux_led.py.

This plugin is forked from the original homebridge-magichome plugin. It includes changes to allow the use of RGB strip controllers in single channel mode by utilizing the blue channel to control brighness only.

Installation

First, install the plugin globally.

npm install -g homebridge-magichome2

Next, add a new accessory to your Homebridge config.json. You can add as many Magic Home-based accessories as you like in the following format:

"accessories": [
   {
       "accessory": "MagicHome",
       "name": "LED Strip",
       "ip": "192.168.1.111",
       "setup": "RGBWW",
       "purewhite": false,
       "singleChannel": false
   }
]

The setup option is RGBW by default which is likely the setting you'll want. Some devices require RGBWW or RGB to work correctly.

The purewhite option should be included for lights with a dedicated white LED. This is likely only the case for bulbs and is therefore set to false by default.

The singleChannel option can be used for RGB strip devices connected to single color LED strip. Use the Blue channel to connect your strip.

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:

Ticked devices have been confirmed to work by me or someone else.

Please let me know if you find any other compatible devices.

About

A Homebridge plugin for Magic Wifi devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%