-
Notifications
You must be signed in to change notification settings - Fork 38
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
Support for Light bulb L530E? #6
Comments
I don't have that light bulb but I would image on/off/dim functionality should work. Not sure about colour/hue setting as I am unclear the property name. Can you confirm if the API can turn the bulb on/off. You can use the api.test.js file and put your credentials in at the top and rename one of the xtest functions to test then run |
Perfect, tomorrow I will do that and come back with the results 👍 Edit: Tomorrow will be this weekend, sorry for the delay |
Perfect, all methods are working. getDeviceInfo{
"device_id":"<device id>",
"fw_ver":"1.1.8 Build 20201210 Rel. 55943",
"hw_ver":"1.0.0",
"type":"SMART.TAPOBULB",
"model":"L530 Series",
"mac":"<mac addres>",
"hw_id":"<hw_id>",
"fw_id":"<fw_id>",
"oem_id":"<oem_id>",
"specs":"EU",
"lang":"es_ES",
"device_on":true,
"on_time":711,
"overheated":false,
"nickname":"bedroom",
"avatar":"floor_lamp_1",
"brightness":10,
"dynamic_light_effect_enable":false,
"color_temp":6000,
"default_states":{
"type":"last_states",
"state":{
"brightness":10,
"color_temp":6000
}
},
"time_diff":60,
"region":"Europe/Madrid",
"longitude":"<longitude int>",
"latitude":"<latitude int>",
"has_set_location_info":true,
"ip":"<local id>",
"ssid":"<ssid>",
"signal_level":3,
"rssi":-37
}``` |
Thats excellent, thanks for doing that. I'm glad it works. Looks like the property name for the colour is |
There should be more properties, I will change the settings from the app and document all the actions, because I don't see an option for the hsl value |
I have written a colour conversion & api helper, feel free to review and merge. |
Closing this issue as PR working |
There is any plans about implementing the L530E? I have that light bulb, If I could have some pointers about the API and whatnot I could try to do a pull request for it.
The text was updated successfully, but these errors were encountered: