1.0.0 • Published 1 year ago

homebridge-chuangmi-plug v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

homebridge-chuangmi-plug

This plugin supports only chuangmi.plug.hmi208 (米家智能插座蓝牙网关版)

chuangmi.plug.hmi208 has one socket and two USB swtiches.

It was released in 2019 and uses the old and deprecated Miio protocol, whose successor is the MIoT protocol.

Homebridge-miot can only control chuangmi.plug.hmi208 via the cloud, but this plugin can control it locally.

If you want to port this plugin to other chuangmi plug, please read miio2miot.py to see different parameters used by chuangmi plug.

Remember to install homebridge@1.5.1 to avoid this problem

raw_command

You see the goddamn chaos of logic.

raw_commandPowerUSB
getget_prop '"power"'get_prop '"usb_on"'
get_ononTrue
get_offoffFalse
set_onset_power '"on"'set_usb_on
set_offset_power '"off"'set_usb_off

Thanks

https://github.com/szaboge/homebridge-mi-smart-plug

https://github.com/YinHangCode/homebridge-mi-outlet

https://github.com/kondratk/homebridge-mi-air-purifier