Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi Philips Zhirui Downlight Support #28

Open
ghost opened this issue May 22, 2018 · 8 comments
Open

Xiaomi Philips Zhirui Downlight Support #28

ghost opened this issue May 22, 2018 · 8 comments

Comments

@ghost
Copy link

ghost commented May 22, 2018

Hi,

Does this plugin supports the new Xiaomi Philips Zhirui Downlight?

2018-original-xiaomi-mi-mijia-smart-downlight-wifi-work-with-mi-home-app-remote-control-white

@dmnbi4
Copy link

dmnbi4 commented Jan 18, 2019

Hi,

Does this plugin supports the new Xiaomi Philips Zhirui Downlight?

2018-original-xiaomi-mi-mijia-smart-downlight-wifi-work-with-mi-home-app-remote-control-white

YES! You need use MiPhilipsSmartBulb type in config.

@idbaghera
Copy link

idbaghera commented Oct 24, 2020

No one? i have 6 of this and I have installed on my raspberry Pi, Homebridge ...i try it all plugins where I found in my homebridge but doesnt work, Please help :)

@Kochimen
Copy link

No one? i have 6 of this and I have installed on my raspberry Pi, Homebridge ...i try it all plugins where I found in my homebridge but doesnt work, Please help :)

I found a solution! Plug-in really works. The procedure is as follows: 1. Add luminaires to mi home 2. Read token and ip 3. You prescribe the received data in config homebtidge. You need to count the token exactly when the luminaire is already connected to mi home, because the token changes every time you change the connection

@idbaghera
Copy link

I have conected all in Mihome (chinese servers), I have all IP, I have extracted token 96 and transformed in 32 but with command line in homebridge I'm stuck :)
Please help me with the command line of plugin to install directly in terminal of homebridge, then step by step to add it all in config line.
I installed Meteorite Light from Yeelight but was verry simple with that...pluggin was intuitive and less lines :))

@Kochimen
Copy link

Я использую графический интерфейс Homebridge Config UI X и plug-in для светильников homebridge-mi-philips-light.
После установки графического интерфейса, все установки и настройки plug-in я выполняю с помощью него.
Пошаговая инструкция( как делал я)

  1. Установил старую версию mi home (https://ru.kapiba.ru/mihome/files/old/MiHome_5.8.33_63093_vevs.apk )на эмулятор Android (box player)( потому что я использую Mac для homebridge)
  2. В старой версии mi home , в сетевых настройках устройств видно token и ip ( ваша проблема может быть в том, что изменился token) я не делал никаких преобразований token. Он в готовом формате представлен в mi home.
  3. Прописываю полученные настройки в config homebridge
    Пример config

{
"type": "MiPhilipsSmartBulb",
"ip": "192.168.88.99",
"token": "52c868a44b400751XXXXXXXXXXXXXX",
"lightName": "Philips 1",
"lightDisable": false
}

P.s. it's Russian language

@idbaghera
Copy link

idbaghera commented Oct 25, 2020

2375/5000
Thank you for the answer,
I can't extract the tokens with an android because I don't have one available, I followed the step-by-step procedure from here https://www.youtube.com/watch?v=HNgqfa-E5fA&feature=youtu.be&fbclid=IwAR0WN-adZ0c7sFoRVsuj2RUoDmww_ww0
My problem is elsewhere, I don't know how to configure the lines in the homebridge configuration line at all.
Any plugin I would install in Homebridge from mi-philips-light, when I enter its settings it puts me directly in the Homebridge Config Editor where I have the other configurations. Here is my problem because I don't know how to write the code, I don't know what to parenthes to put where ... For example when I installed the lamp from Yeelight, the respective plugin puts its own lines in Homebridge Config Editor and I just modify: IP, Token etc ...
I hope I made myself understood. I attach what my homebridge editor config looks like:
{
"bridge": {
"name": "Homebridge D6BC",
"username": "0E: E6: EE: xx: xx: xx",
"port": 51xxx,
"pin": "103-xx-xxx"
}
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
}
{
"name": "Yeelighter",
"timeout": 5000,
"interval": 60000,
"ctforcolor": true,
"blocking": false,
"split": false,
"override": [
{
"useNameAsId": false
}
]
"platform": "Yeelighter"
}
{
"devices": [
{
"name": "OLED",
"host": "192.168.1.xxx",
"mac": "F0: 86: 20: xx: xx: xx",
"refreshInterval": 5,
"volumeControl": 0,
"switchInfoMenu": false,
"inputs": [
{
"name": "Netflix",
"reference": "netflix",
"type": "APPLICATION",
"mode": 0
}
]
}
]
"platform": "LgWebOsTv"
}
]
}

2
3
1

Trimiteți feedback
Istoric
Salvate
Comunitate

@Kochimen
Copy link

Привет!

  1. У меня тоже нет android, поэтому я устанавливал эмулятор (https://en.bignox.com/)
  2. Твой способ получения token сложнее и менее удобнее, на мой взгляд, и я не уверен, что ты добьешься результата с подключением ( но если ты уверен, что получаешь верный token - вперед!)
  3. ты используешь неверный plugin для подключения этих светильников - тебе нужен Homebridge Mi Philips Light
    (homebridge mi philips moonlight - это для других светильников)
  4. В настройках этого plugin не нужно писать в config вручную. Заполни поля и он сам все пропишет
    До этого я перепробовал много способов получения token и только этот оказался самым удобным и простым. Один раз настроил- в каждый следующий раз ты просто заходишь в меню и смотришь token и ip
    Снимок экрана 2020-10-25 в 17 18 14
    Снимок экрана 2020-10-25 в 17 19 54

@idbaghera
Copy link

I used I think almost all the plugins and none of them work, it seems that I missed this one.
I also installed this one and its wooooorks.
Большое спасибо за вашу помощь и время.
Thank you very much for your help and time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants