-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Set brightness #135
Comments
i also wonder if there is a way to look for device state? |
Change device = await client.p110("192.168.1.8") to device = await client.l510("192.168.1.8") The lightbulb example contains information about how to get the device info. |
|
Thank you so much! |
Hi again, thank you so much, i think i kinda figured it out but i am getting this error now: in this code:
|
What's the device that you're using? |
|
Can you post the output of |
yes sure, this is my output for get device info json
|
Oh wow, the value of |
Wow this is weird then, what are the usual values? |
same issue w/ a newer hardware version (some fields have been redacted) Object` {"avatar": String("bulb"), "brightness": Number(20), "color_temp_range": Array [Number(2700), Number(2700)], "default_states": Object {"brightness": Object {"type": String("last_states"), "value": Number(20)}, "re_power_type": String("always_on")}, "device_id": String(".........."), "device_on": Bool(true), "fw_id": String("00000000000000000000000000000000"), "fw_ver": String("1.1.2 Build 231120 Rel.201048"), "has_set_location_info": Bool(false), "hw_id": String(".........."), "hw_ver": String("3.0"), "ip": String("10.11.12.13"), "lang": String(""), "latitude": Number(-1879048193), "longitude": Number(-1879048193), "mac": String(".........."), "model": String("L510"), "music_rhythm_enable": Bool(false), "music_rhythm_mode": String("single_lamp"), "nickname": String("QnVsYiBEZXY="), "oem_id": String(".........."), "overheated": Bool(false), "region": String("Europe/Berlin"), "rssi": Number(-50), "signal_level": Number(2), "specs": String(""), "ssid": String(".........."), "time_diff": Number(60), "type": String("SMART.TAPOBULB")} L610 is behaving the same (json data works, but error "Serde: missing field |
Thank you for confirming a second instance. Unfortunately, I do not own a L510 or L610 device. |
the json structure is as following (L510, L610):
|
Thank you for the help. |
builtins.PlugEnergyMonitoringHandler' object has no attribute 'set_brightness'
I am getting this error in here, what could be the reason?
The text was updated successfully, but these errors were encountered: