• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    JavaScript
  • Created over 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Xiaomi Mi Home Plugin for Homebridge

homebridge-miio is a platform plugin for homebridge which lets you switch Xiaomi Power Plugs on and off using Homekit apps and Siri.

Note: this plugin works for me, but i'm not motivated to maintain it's compatibility with other devices or firmware versions that i'm not using. If you have problems, please send some pull requests! Opening an issue isn't enough. I'm not "upgrading" my devices to incompatible firmware versions just to debug issues for you.

It seems very reliable now, and should coexist happily with other Xiaomi home automation ecosystem plugins. Eventually it would be nice to support some other device types, if people who have those devices want to do pull requests, or donate hardware, it'd surely be welcomed. You don't need to configure anything, just install the platform plugin with npm install -g homebridge-miio. devices on the same subnet as your homebridge server will be discovered at launch and every half hour after that, and supported devices will be polled for changes occasionally to keep things responsive.

Here's an example homebridge config file, you could use to tweak the default settings. Numbers are presented in seconds. If you choose to disable pollChanges you may see some inconsistency if you also control your miIO devices via the Mi Home app (including via Mi Home app timers).

Note that currently only the WiFi plugs are supported, not the gateway-based ones operating over Zigbee, though this is likely to change in the future.

{
  "bridge": {
    "name": "TestBridge",
    "username": "CC:22:3D:E3:CE:33",
    "port": 51826,
    "pin": "031-45-154"
  },

  "description": "Test Bridge",
  "accessories": [],
  "platforms": [
    {
      "platform" : "XiaomiMiio",
      "name" : "XiaomiMiio",
      "pollChanges": true,
      "pollInterval": 15,
      "searchInterval": 1800
    }
  ]
}

More Repositories

1

shockmouse

Mac app enabling use of touchpad and buttons on Sony Wireless Controller (DualShock 4) as virtual mouse and keyboard
CoffeeScript
44
star
2

volume_knob

A little digispark volume knob for computers and tablets
Arduino
35
star
3

digiusb.rb

A little ruby thing for talking to digiusb, like a serial port or like a telnet (whichever!)
Ruby
25
star
4

oozby

Note: Oozby is abandoned - I'm not intending to develop it any further. If anyone would like to take it over let me know. OpenSCAD with all the annoying bits replaced with awesome and ruby
Ruby
24
star
5

Campy

A little microframework for Node.JS, based on the design of Why’s Camping and Markaby rubygems
JavaScript
19
star
6

legs

Legs is a networking microframework designed to be super simple and easy and compact. Somewhat inspired by the crazy hacks in Camping, but mainly driven by wanting to build the kinds of easy tools I wish I would have had when I was younger and just getting in to coding. I hope to get it included with the reborn shoesified Hackety Hack as a networking aid, released under the Hackety Hack license: give it away, take it apart, learn-learn-learn without a 2nd thought. :)
Ruby
14
star
7

littlewire.rb

A little library for a littlewire.cc, in Ruby 1.9 and 2.0.
Ruby
10
star
8

sign-search

A client side static Auslan search engine, using word-embeddings to find signs with similar meaning to english terms entered
JavaScript
9
star
9

talkie

A little chatty town for creative types to hang out and ponder and share. Designed to guide users towards peaceful discussion where ever possible, and to be completely absent of the sorts of nerdy commands and stuff which create a jerky 'nerd elite' on IRC.
JavaScript
9
star
10

movienight

A simple way to watch a video together in sync, across the internet, with a static http server
JavaScript
8
star
11

chill

chill plugs ruby code in to CouchDB
Ruby
5
star
12

nzsl-training-data-generator

Tool for reading NZSL-Dictionary dataset, and using PoseNet ML model to extract information and images from video of NZSL sign performances, to generate datasets to train CNNs to recognise traits of visual signed languages
JavaScript
5
star
13

fox_ears_with_florapixels

A little arduino/digispark program for controlling the adafruit florapixel lights in my fox ears at raves
Arduino
4
star
14

digispark_ook_receiver

A little 433.92mhz radio reciever for simple home automation - execute bash and ruby scripts by pressing "doorbell" style buttons!
Arduino
4
star
15

avr-toys

Some little AVR toys I've made or am making
C
3
star
16

usb-fan-remote

A little USB infrared sender, and RGB indicator light, with ruby control library - I use it to control my ceiling fan, but it could be used for anything which takes IR codes!
C
3
star
17

led_ears

Supercedes my fox_ears_with_florapixels project - reimplemented everything to be much cleaner and easier to work with
Arduino
3
star
18

ShyCouch

Ruby API for CouchDB, designed to work with the Camping micro-framework.
Ruby
3
star
19

NZSL-Dictionary

New Zealand Sign Language dictionary dataset, with handshapes and locations labeled, and example usages with signs in sequence labeled
JavaScript
3
star
20

DataBrick

Not all things in this world may be blessed with lovely ascii art, json, yaml, and other funky formats. Sometimes you need to get your arms dirty with some raw unadulterated binary! Binary needn't scar you for life though - so here's my little ORM for bits of binary. β€” <3 Bluebie <3
Ruby
3
star
21

test-git-data-cloudflare-worker-api

Toy serverless web thingie, that uses it's own GitHub repository to store data interactively submitted by users
JavaScript
2
star
22

uBoot-t85

Placeholder with notice of new name: micronucleus-t85
2
star
23

Edio

A tiny stylish editor for the webio
2
star
24

social-site-ideas

ideas for social websites and wikis
2
star
25

PulsarReceiver

A little ATtiny13 powered audio-PPM four channel servo controller for little audio player powered wearable animatronics
C++
2
star
26

usbtools

usb tools for usb drive fun times
Ruby
2
star
27

webrtc-signalling-middleware

JavaScript
1
star
28

dataset-archive

Simple key-value store of data, well compressed, flat file, with easy copy-on-write updates, and very good disk compactness
JavaScript
1
star
29

style-object

A simple way to make inline styles as objects, with optional render functions, for use with nanohtml/lit-html style of widget rendering
JavaScript
1
star
30

Magic-Lantern

Silly little halfbaked experiments in converting s-expressions in to other languages
Ruby
1
star
31

Icy-Light-Show

A little program to run on an Arduino-compatible with a bunch of LEDs shoved in Port D.
C
1
star
32

PulseWidth

A bunch of little doodads for talking directly to RC Servos over audio, or to other related doodads, mainly existing for animatronics
Ruby
1
star
33

ShyRubyJS

Little library to convert Ruby blocks into JavaScript code, via S Expressions. Work in progress.
Ruby
1
star
34

holman-water

A simple interface to Holman Smart Gardening water tap devices via noble, allowing control of the manual timer function, and checking the current tap state
JavaScript
1
star
35

tinyformpopup

Tiny Form Popups gadget for the web
JavaScript
1
star
36

auslan-cd-data

RIDBC published in Auslan CD-ROM based on Microsoft JET DB, Quicktime for Windows, and Macromedia Director technologies, all of which are obsolete now. The CD continues to be a useful resource, especially in how it provided rich and detailed searchable information about each Auslan sign's location, handshape, symmetry, and region information, much of which is difficult or impossible for the general public to access on the modern Auslan SignBank website. This is a reverse engineering attempt to make that dataset accessible in the modern era for language enthusiests and others who don't have access to the academic channels required to gain access to the Auslan Sign Corpus that much of this is based on.
JavaScript
1
star
37

motion-estimation-tfjs

Playing with trying to use tensorflow.js to build a little motion estimator for video, part of project to understand Auslan signs with browser based CV
JavaScript
1
star
38

sveltekit-long-poll

An example project which uses long polling to send realtime push out to other users very responsively
Svelte
1
star