- Saved searches
- Use saved searches to filter your results more quickly
- License
- tfedyanin/MagicHome-WifiLedController
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Wifi led controller magic home
- Magic Home
- Configuration
- Supported Models
- Untested Models
- Unsupported Models
- Troubleshooting
- Effects
- Custom Effects — Service flux_led.set_custom_effect
- Set Zones — Service flux_led.set_zones
- Set Music Mode — Service flux_led.set_music_mode
- Help us to improve our documentation
- Categories
- On this page
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
License
tfedyanin/MagicHome-WifiLedController
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
led-binding-core — java library for discovery and control MagicHome WiFi controller
ru.ittim.openhab.ledbinding.library.DiscoveryFinder.main — discovery example ru.ittim.openhab.ledbinding.library.LedController.main — control example
How to connect WiFi LED device to your Wi-Fi
- Download application Magic Home WiFi for iOS or Android.
- Connect your iOS/Android device to Wi-Fi LED controller LEDnet* .
- Open application, scan and connect to LED device.
- Open Settings , connect to your Wi-Fi network and wait while device reboot about 1-3 minutes.
- Connect your iOS/Android device to you Wi-Fi network and scan devices. Your must see new device in list of local devices.
- Rename device to man readable name and save device name-ID mapping for incident investigation in future.
- One device PoC
- Discovery and manipulate multiple controllers
- Release core
- OH2 binding
Wifi led controller magic home
Wi-Fi контроллер предназначен для управления RGB-светодиодной лентой через приложение Magic Home Pro на смартфоне. Контроллер выполнен из пластикового корпуса, с одной стороны имеется коннектор 4-pin Father для подключения ленты, а с другой стороны разъем Power Jack 5,5 мм Mother для подачи питания 12В.
При подключении ленты к контроллеру необходимо убедится, что красная стрелка на контроллере совпадает с выпуклой стрелкой на коннекторе RGB-ленты.
Затем подаем питание к контроллеру через блок питания 12В.
Теперь при помощи сканера QR-кодов на смартфоне сканируем QR-код на корпусе Wi-Fi контроллера. Ссылка ведет на страницу сайта, где можно скачать APK-Файл для установки приложения Magic Home Pro.
Так же можно использовать приложение Google Play на Android-смартфоне для поиска и загрузки приложения Magic Home Pro.
После установки переходим в приложение, нажимаем на плюс в правом верхнем углу экрана. В появившемся меню выбираем «Добавить устройство».
Регистрируемся и авторизовываемся под своей учетной записью. Затем разрешаем приложению все необходимые доступы.
В окне подключения устройства выбираем контроллер. Название будет соответствовать «LEDnetXXXXXX«. Для подключения к контроллеру нажимаем кнопку «Подключить«.
В следующем окне выбираем домашнюю Wi-Fi сеть, к которой хотим подключить Wi-Fi контроллер и вводим от неё пароль.
После успешного добавления контроллера появится окно, в котором можно ввести название текущего контроллера. При запуске приложения Magic Home Pro в разделе «Устройства» будет отображаться Wi-Fi контроллер при клике на который появится меню для управления подсветкой ленты.
Magic Home
The Magic Home integration supports several brands of switches, bulbs, and controllers that use the same protocol. Chances are high that your bulb or controller (eg. WiFi LED CONTROLLER) will work with this integration if you can control the device with the Magic Home app or the Surp Life app.
This integration will provide local control over your LED lights/strips and can be configured to auto-scan your network for controllers or for you to manually configure individual lights by their IP address.
Examples of controllers with strips:
Examples of addressable controllers:
Examples of addressable controllers with strip:
These devices have been sold under at least the following brands:
- Aislan
- Allkeys
- Apobob
- Arilux
- Aubric
- BERENNIS
- BHGY
- Brizled
- Bunpeon
- Chichin
- Comoyda
- dalattin
- DALS RGBW / Armacost Lighting / MyLED
- DARKPROOF
- Daybetter
- deerdance
- DIAMOND
- Diode Dynamics
- Flux LED
- FVTLED
- GEV LIG
- GEYUEYA Home
- GIDEALED
- GIDERWEL
- GMK
- Goldwin
- Hakkatronics
- HaoDeng
- Heissner
- HDDFL
- illume RGBW
- Illumination FX
- INDARUN
- iNextStation
- Koopower
- Lallumer
- LEDENET
- LiteWRX
- Lytworx
- Magic Ambient
- Magic Home
- Magic Hue
- Magic Light
- Miheal
- Mowelai
- Nexlux
- OBSESS
- Offdarks
- PH LED
- PHOPOLLO
- Pin Stadium Pinball Lights
- POV Lamp
- PROTEAM Europe Pool Lights
- Rimikon
- SMFX
- Sumaote
- Superhome
- SurpLife
- SuperlightingLED
- Svipear
- Tommox
- Vanance
- Yetaida
- YHW
- Zengge
- Zombber
Configuration
Adding Magic Home to your Home Assistant instance can be done via the user interface, by using this My button:
Magic Home can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.
If it wasn’t discovered automatically, don’t worry! You can set up a manual integration entry:
- Browse to your Home Assistant instance.
- Go to Settings > Devices & Services.
- In the bottom right corner, select the Add Integration button.
- From the list, select Magic Home.
- Follow the instructions on screen to complete the setup.
After the devices have been added they can be configured with different effects listed below. These settings can be accessed by navigating to the integration settings in Settings -> Integrations and selecting the “Magic Home” configuration for the bulb or controller.
Custom Effect
A list of RGB colors can be entered to create an effect. The effect speed can be adjusted using the slider underneath.
Custom Effect Type
This determines the transition between each color.
Supported Models
The following models have been tested.
Model | Description | Microphone | Notes |
---|---|---|---|
0x01 | Legacy RGB Controller | no | Original protocol |
0x03 | Legacy CCT Controller | no | Original protocol |
0x04 | UFO Controller RGBW | no | |
0x06 | Controller RGBW | no | |
0x07 | Controller RGBCW | no | |
0x08 | Controller RGB with MIC | yes | |
0x09 | Ceiling Light CCT | no | |
0x0E | Floor Lamp RGBCW | no | |
0x10 | Christmas Light | no | |
0x16 | Magnetic Light CCT | no | |
0x17 | Magnetic Light Dimmable | no | |
0x1A | Christmas Light | no | |
0x1C | Table Light CCT | no | |
0x1E | Ceiling Light RGBCW | no | |
0x21 | Bulb Dimmable | no | |
0x25 | Controller RGB/WW/CW | no | Supports RGB, RGBW, RGBWW, CW, DIM |
0x33 | Controller RGB | no | |
0x35 | Bulb RGBCW | no | |
0x41 | Controller Dimmable | no | |
0x44 | Bulb RGBW | no | |
0x52 | Bulb CCT | no | |
0x54 | Downlight RGBW | no | |
0x62 | Controller CCT | no | |
0x93 | Switch 1 Channel | no | |
0x97 | Socket | no | |
0xA1 | Addressable v1 | no | Supports UCS1903, SM16703, WS2811, WS2812B, SK6812, INK1003, WS2801, LB1914 |
0xA2 | Addressable v2 | yes | Supports UCS1903, SM16703, WS2811, WS2811B, SK6812, INK1003, WS2801, WS2815, APA102, TM1914, UCS2904B |
0xA3 | Addressable v3 | yes | Supports WS2812B, SM16703, SM16704, WS2811, UCS1903, SK6812, SK6812RGBW (WS2814), INK1003, UCS2904B |
0xA4 | Addressable v4 | no | Supports WS2812B, SM16703, SM16704, WS2811, UCS1903, SK6812, SK6812RGBW (WS2814), INK1003, UCS2904B |
0xA6 | Addressable v6 | yes | Supports WS2812B, SM16703, SM16704, WS2811, UCS1903, SK6812, SK6812RGBW (WS2814), INK1003, UCS2904B |
0xA7 | Addressable v7 | yes | Supports WS2812B, SM16703, SM16704, WS2811, UCS1903, SK6812, SK6812RGBW (WS2814), INK1003, UCS2904B |
0xE1 | Ceiling Light CCT | no | |
0xE2 | Ceiling Light Assist | no | Auxiliary Switch not supported |
Untested Models
The following models have not been tested but may work.
Model | Description | Microphone | Notes |
---|---|---|---|
0x02 | Legacy Dimmable Controller | no | Original protocol, discontinued |
Unsupported Models
The following models are confirmed to be unsupported.
Model | Description | Microphone | Notes |
---|---|---|---|
0x18 | Plant Grow Light | no | |
0x19 | Socket with 2 USB | no | |
0x1B | Aroma Fragrance Lamp | no | |
0x1D | Fill Light | no | |
0x94 | Switch 1c Watt | no | |
0x95 | Switch 2 Channel | no | |
0x96 | Switch 4 Channel | no | |
0xD1 | Digital Time Lamp | no |
Troubleshooting
If a strip controller device will not stay on wifi or goes offline during adjusting colors and effects, upgrading to a power supply with a higher amperage usually resolves any stability issues.
Effects
The Magic Home light offers a number of effects which are not included in other lighting packages. These can be selected from the front-end, or sent in the effect field of the light.turn_on command.
Effect Name | Description |
---|---|
colorloop | Smoothly transitions through the rainbow. |
colorjump | Jumps through seven different rainbow colors. |
colorstrobe | Strobes each rainbow color in a loop. |
red_fade , green_fade , blue_fade , yellow_fade , cyan_fade , purple_fade , white_fade | Fades between the color as indicated in the effect name and black. |
rg_cross_fade | Fades between red and green. |
rb_cross_fade | Fades between red and blue. |
gb_cross_fade | Fades between green and blue. |
red_strobe , green_strobe , blue_strobe , yellow_strobe , cyan_strobe , purple_strobe , white_strobe | Strobes the color indicated by the effect name. |
random | Chooses a random color by selecting random values for R, G, and B. |
Custom Effects — Service flux_led.set_custom_effect
The integration offers a custom service to enable you to set the lights to a custom light effect.
Service data attribute | Description |
---|---|
entity_id | The entity_id of the LED light to set the effect on. |
colors | List of RGB colors to transition between in your effect. (Max 16, Required) |
speed_pct | The speed of the effect in % (0-100. Default 50) |
transition | The transition effect you would like. Valid options are gradual , jump , or strobe . (Default gradual ) |
#Example Service Call entity_id: light.led_strip colors: - [255,0,0] - [0,255,0] - [0,0,255] speed_pct: 80 transition: "jump"
Set Zones — Service flux_led.set_zones
The Addressable v3 (0xA3) models allow setting a color effect per zone. The length of each zone is the number of pixels per segment divided by the number of colors. If the device is turned off, setting the zones will not turn it on. A separate call to light.turn_on is needed to turn on the device.
Service data attribute | Description |
---|---|
entity_id | The entity_id of the LED light to set the effect on. |
colors | List of colors for each zone (RGB). (Max 2048 Colors) |
speed_pct | The speed of the effect in % (0-100. Default 50) |
effect | The effect you would like. Valid options are static , running_water , strobe , jump , or breathing . (Default static ) |
#Example Service Call service: flux_led.set_zones target: entity_id: - light.addressable_v3_8e2f7f - light.addressable_v3_8ebdeb data: colors: - [255, 0, 0] - [0, 255, 0] - [0, 0, 255] - [255, 255, 255] speed_pct: 80
Set Music Mode — Service flux_led.set_music_mode
The RGB with MIC (0x08), Addressable v2 (0xA2), and Addressable v3 (0xA3) models have a built-in microphone that have multiple music mode settings.
Service data attribute | Description |
---|---|
entity_id | The entity_id of the LED light to set the effect on. |
sensitivity | Microphone sensitivity (0-100) |
brightness | Light brightness (0-100) |
light_screen | Light screen mode for 2 dimensional pixels (Addressable models only) |
effect | Effect (1-16 on Addressable models, 0-3 on RGB with MIC models) |
foreground_color | The foreground RGB color |
background_color | The background RGB color (Addressable models only) |
#Example Service Call service: flux_led.set_music_mode target: entity_id: - light.addressable_v3_8e2f7f - light.addressable_v3_8ebdeb data: sensitivity: 100 brightness: 100 effect: 2 light_screen: false background_color: [0, 255, 0] foreground_color: [255, 0, 0]
Help us to improve our documentation
The Magic Home integration was introduced in Home Assistant 0.25, and it’s used by 2.6% of the active installations. Its IoT class is Local Push and it scores platinum on our quality scale.