philipslight icon indicating copy to clipboard operation
philipslight copied to clipboard

Add philips.light.hbulb support

Open maximalexanian opened this issue 4 years ago • 6 comments

Works fine with model: philips.light.bulb https://ru.aliexpress.com/item/32973869560.html Temperature control is not working and not expected to work - bulb is fixed 2700K

maximalexanian avatar Nov 26 '19 21:11 maximalexanian

Cool! The temperature slider should be removed for this model?

syssi avatar Nov 27 '19 05:11 syssi

yep

maximalexanian avatar Nov 28 '19 00:11 maximalexanian

Official supported methods:

set_power ["on"]
set_power ["off"]
set_bright [int]
delay_off [int] # seconds
delay_off [0] # reset

And properties:

["power", "bri", "dv"]

syssi avatar Dec 04 '19 20:12 syssi

Could you provide the output of:

pip3 install python-miio
miiocli device --ip IP --token TOKEN raw_command get_prop "['power', 'bri', 'dv']"
# and
miiocli device --ip IP --token TOKEN raw_command get_prop "['power', 'bright', 'cct', 'snm', 'dv']"

Thanks!

syssi avatar Dec 04 '19 20:12 syssi

https://github.com/rytilahti/python-miio/pull/587

syssi avatar Dec 04 '19 21:12 syssi

['off', 100, 0 ] ['off', 100, 0, 0 ] Please advice how can I use your script in my hassio - for not it doe not support hbulb

myshyak avatar Jan 12 '20 19:01 myshyak