Open fcarsana opened 4 years ago
Мне тоже хотелось бы узнать ответ
I think that the necessary information for at least basic support is there in the logs, it will just need someone to write some code to make it happen. Alas, I don't have currently much time to contribute here, so that's why I tagged it as help wanted
:-)
Some summary from the captured files:
Bath heater mode:
set_bh_mode(*bh_mode)
stop_bath_heater()
fan speed:
set_gears_idx(*fan_speed_idx)
: one of 0, 1, 2
light power and mode:
set_power(*power[, trans, delay, lightmode])
light bright:
set_bright(*bright, trans, delay)
lightmode
: *light_mode
5: nightlight
1: daylight
list of *bh_mode
:
bh_off
, coolwind
, drying
, venting
, warmwind
list of *power
:
on
, off
realbright
:
*bright
or *nl_br
There also another Yeelink fan ( kitchen ceiling fan ) has a community integration. The two devices has simular api for fan control, like bh_mode, set_gears_dx but has some different.
id: yeelink.ven_fan.vf1
https://github.com/fineemb/Yeelink-ven-fan
https://github.com/al-one/hass-miio-yeelink Works fine
I can confirm the following is working:
I have a Yeelight Smart Bath Heater (YLYB01YL). Is there a way to integrate that, please?
I performed some network traffic captures via Wireshark and analized the traffic using the miio tool. In attachment my findings.
Please let me know if that is possible and if you need more captures.
Thank you.
fan_on_off.log fan_mid_high_low.log dry_on_off.log airchange_on_off.log heater_on_off.log light_brightness.log light_night_on_off.log light_on_off.log