Giter VIP home page Giter VIP logo

Comments (4)

cellcortex avatar cellcortex commented on July 19, 2024

Which lamp are you having? Can you post a snapshot of the logs in home bridge (at start when the lights register)

from homebridge-yeelighter.

Yuke-hd avatar Yuke-hd commented on July 19, 2024

Hi there, i think i have the same issue
i have this lamp
https://www.mi-store.com.au/xiaomi-mi-led-desk-lamp-1s
but it was recognized as Serene Pro Desk Lamp and i tried to manually overwrite color temperature

"override": [
                {
                    "id": "0x0000000003ec57b6",
                    "useNameAsId": false,
                    "colorTemperature": {
                        "min": 2700,
                        "max": 6500
                    }
                }
            ],

and still cannot change color temperature

startup log:

[7/20/2020, 11:51:42 AM] Homebridge is running on port 51272.
[7/20/2020, 11:51:42 AM] [Yeelighter] Override config for 0x0000000003ec57b6: {"id":"0x0000000003ec57b6","useNameAsId":false,"colorTemperature":{"min":2700,"max":6500}}
[7/20/2020, 11:51:42 AM] [Yeelighter] Cached desklamp [0x0000000003ec57b6] found at yeelight://192.168.0.12:55443
[7/20/2020, 11:51:42 AM] [Yeelighter] [0x0000000003ec57b6] Re-using service of subtype 'main'. []
[7/20/2020, 11:51:42 AM] [Yeelighter] [0x0000000003ec57b6] installed as Color temperature light []
[7/20/2020, 11:51:42 AM] [Yeelighter] Override config for 0x0000000003ec57b6: {"id":"0x0000000003ec57b6","useNameAsId":false,"colorTemperature":{"min":2700,"max":6500}}
[7/20/2020, 11:51:42 AM] [Yeelighter] [0x0000000003ec57b6] Connected []

from homebridge-yeelighter.

Yuke-hd avatar Yuke-hd commented on July 19, 2024

here's the device info

HTTP/1.1 200 OK 
Cache-Control: max-age=3600 
Date:  
Ext:  
Location: yeelight://192.168.0.12:55443 
Server: POSIX UPnP/1.0 YGLC/1 
id: 0x0000000003ec57b6 
model: desklamp 
fw_ver: 62 
support: get_prop set_default set_power toggle set_ct_abx set_bright start_cf stop_cf set_scene cron_add cron_get cron_del set_adjust adjust_bright adjust_ct set_name 
power: off 
bright: 39 
color_mode: 2 
ct: 6490 
rgb: 0 
hue: 0 
sat: 0 
name:  

from homebridge-yeelighter.

beloso avatar beloso commented on July 19, 2024

@cellcortex I am also having this problem.

It's identifying as a Serene Pro Desk Lamp while it is in fact a Mi Desk Lamp.

The debug logs give me this:

[10/10/2020, 1:32:27 PM] [Yeelighter] Override config for 0x0000000003dee663: {"id":"0x0000000003dee663","useNameAsId":false,"log":true}
[10/10/2020, 1:32:27 PM] [Yeelighter] Cached desklamp [0x0000000003dee663] found at yeelight://192.168.2.112:55443
[10/10/2020, 1:32:27 PM] [Yeelighter] [0x0000000003dee663] Re-using service of subtype 'main'. []
[10/10/2020, 1:32:27 PM] [Yeelighter] [0x0000000003dee663] installed as Color temperature light []

[10/10/2020, 1:32:27 PM] [Yeelighter] [0x0000000003dee663] debug: transaction 2 took 0.007s [
  {
    id: 2,
    result: [
      'on', '2', '1',
      '',   '',  '2700',
      '',   '',  '',
      '',   '',  '',
      '',   '',  ''
    ]
  }
]
[10/10/2020, 1:32:27 PM] [Yeelighter] [0x0000000003dee663] debug: received update 2 after 0.008s: ["on","2","1","","","2700","","","","","","","","",""] []
[10/10/2020, 1:32:27 PM] [Yeelighter] [0x0000000003dee663] debug: temperature light updated {"power":true,"color_mode":2,"bright":1,"hue":0,"sat":0,"ct":2700,"bg_power":false,"bg_bright":0,"bg_hue":0,"bg_sat"

Is there anything I can do to help troubleshooting this issue?
HomeBridge and Home Kit are unable to control the lamp.

from homebridge-yeelighter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.