Skip to content

khronosmoe/homebridge-chuangmi-plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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_command Power USB
get get_prop '["power"]' get_prop '["usb_on"]'
get_on on True
get_off off False
set_on set_power '["on"]' set_usb_on
set_off set_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

About

Homebridge plugin for Chuangmi Plug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published