All Projects → nickw444 → miio-go

nickw444 / miio-go

Licence: MIT license
An implementation of the miIO home protocol by Xiaomi written in Golang.

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
lua
6591 projects

Projects that are alternatives of or similar to miio-go

Miio
Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
Stars: ✭ 1,669 (+4668.57%)
Mutual labels:  xiaomi, miio-protocol, miio
xiaomiplug
Xiaomi Mi Smart WiFi Socket integration for Home Assistant
Stars: ✭ 99 (+182.86%)
Mutual labels:  xiaomi, miio-protocol, miio
hass-miio-yeelink
Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
Stars: ✭ 140 (+300%)
Mutual labels:  xiaomi, miio
Python Miio
Python library & console tool for controlling Xiaomi smart appliances
Stars: ✭ 1,995 (+5600%)
Mutual labels:  xiaomi, miio
openlumi.github.io
OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
Stars: ✭ 134 (+282.86%)
Mutual labels:  xiaomi, xiaomi-smart-home
Mi Flower mate plugin
A plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices
Stars: ✭ 13 (-62.86%)
Mutual labels:  xiaomi, xiaomi-smart-home
xiaomi-mi-air-purifier
Homebridge plugin for Xiaomi Mi Air Purifier
Stars: ✭ 67 (+91.43%)
Mutual labels:  xiaomi, xiaomi-smart-home
Xiaomi Notebook Air 1gen
Xiaomi Notebook Air 1rst Gen
Stars: ✭ 144 (+311.43%)
Mutual labels:  xiaomi
Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+6794.29%)
Mutual labels:  xiaomi
Lovelace Xiaomi Vacuum Card
Simple card for various robot vacuums in Home Assistant's Lovelace UI
Stars: ✭ 137 (+291.43%)
Mutual labels:  xiaomi
Xiaomi Air I5 7200u
小米笔记本Air 13.3 7代黑苹果配置 / Hackintosh EFI for Xiaomi Notebook Air 13.3
Stars: ✭ 131 (+274.29%)
Mutual labels:  xiaomi
Dustcloud
Xiaomi Smart Home Device Reverse Engineering and Hacking
Stars: ✭ 1,907 (+5348.57%)
Mutual labels:  xiaomi
Xiaomi Kettle
Xiaomi Kettle BLE protocol reverse-engineered
Stars: ✭ 187 (+434.29%)
Mutual labels:  xiaomi
Listen Now
Listen-now, 提供了多音乐平台的音乐搜索、播放、歌单播放、同步平台歌单到本地数据库,并计划开发智能音乐推荐系统。listen-now主要由学生层级的同学一起开发。
Stars: ✭ 139 (+297.14%)
Mutual labels:  xiaomi
Xiaomi airpurifier
Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Stars: ✭ 230 (+557.14%)
Mutual labels:  xiaomi
Homebridge Mi Acpartner
XiaoMi AC Partner plugins for HomeBridge(https://github.com/nfarina/homebridge).
Stars: ✭ 250 (+614.29%)
Mutual labels:  xiaomi
Homebridge Xiaomi Roborock Vacuum
A Xiaomi Roborock vaccum plugin (1st, 2nd and 3rd generation) for homebridge.
Stars: ✭ 213 (+508.57%)
Mutual labels:  xiaomi
Homebridge Mi Hygrothermograph
Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
Stars: ✭ 179 (+411.43%)
Mutual labels:  xiaomi
Valetudo
Cloud-free control webinterface for vacuum robots
Stars: ✭ 2,738 (+7722.86%)
Mutual labels:  xiaomi
Xiaomirobotvacuumprotocol
Attempt to describe the Xiaomi Robot Vacuum Protocol
Stars: ✭ 200 (+471.43%)
Mutual labels:  xiaomi

miio-go

Coverage Status

An implementation of the miIO home protocol by Xiaomi written in Golang. Heavily inspired by:

This implementation has been design with the following concerns:

  • Testability
  • Development without a miIO device handy (or performing any real network operations)
  • A simple event-based API.

Supported Devices

At the moment, only the following devices are officially supported by this library. Feel free to submit a pull request, I'd be more than happy to have more devices supported by this library.

  • Xiaomi Mi Smart WiFi Socket (v1 - no USB) (chuangmi.plug.m1)
  • Xiamoi Yeelight (yeelink.light.color1)

Simulator

A device simulator/emulator exists in the simulator package. It takes advantage of the low level network used to communicate with real devices to emulate hardware devices.

Give it a try!

Tokens

Documentation coming soon...

Examples

Documentation coming soon...

CLI

A CLI exists to allow controlling devices using this library.

usage: miio-go CLI [<flags>] <command> [<args> ...]

CLI application to manually test miio-go functionality

Flags:
  --help            Show context-sensitive help (also try --help-long and --help-man).
  --local           Send broadcast to 127.0.0.1 instead of 255.255.255.255 (For use with locally hosted simulator)
  --log-level=warn  Set MiiO to a specific log level

Commands:
  help [<command>...]
    Show help.


  control brightness <brightness>
    Set device brightness


  control power <state>
    Set device power


  control color hsv <hue> <saturation>
    Set color using HSV values


  control color rgb <red> <green> <blue>
    Set color using RGB values


  discover
    Discover devices on the local network

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].