All Projects → aluminiumgeek → goodbye-mihome

aluminiumgeek / goodbye-mihome

Licence: BSD-2-Clause license
Web UI and plugins to manage Xiaomi MiHome gateway, sensors and smart devices.

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to goodbye-mihome

Miio
Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
Stars: ✭ 1,669 (+1714.13%)
Mutual labels:  yeelight, xiaomi, aqara
hass-miio-yeelink
Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
Stars: ✭ 140 (+52.17%)
Mutual labels:  yeelight, xiaomi
esphome-components
ESPHome components
Stars: ✭ 62 (-32.61%)
Mutual labels:  yeelight, xiaomi
yeelight-cli
a low level, cross-platform command line client for Yeelight
Stars: ✭ 43 (-53.26%)
Mutual labels:  yeelight, xiaomi
Valetudo
Cloud-free control webinterface for vacuum robots
Stars: ✭ 2,738 (+2876.09%)
Mutual labels:  smarthome, xiaomi
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (-42.39%)
Mutual labels:  yeelight, xiaomi
awesome-zigbee
Curated List of ZigBee related stuff
Stars: ✭ 45 (-51.09%)
Mutual labels:  smarthome, aqara
homebridge-tion
Homebridge plugin to control Tion breezers
Stars: ✭ 32 (-65.22%)
Mutual labels:  smarthome, sensor
homebridge-zigbee
ZigBee Platform plugin for HomeBridge
Stars: ✭ 101 (+9.78%)
Mutual labels:  xiaomi, aqara
ble2mqtt
Bluetooth to MQTT bridge, add your bluetooth-capable (including controllable) devices to your smart home
Stars: ✭ 46 (-50%)
Mutual labels:  smarthome, xiaomi
mi-lamp-re
💡 Reverse Engineering Notes for the Yeelight Bedside Lamp (BLE)
Stars: ✭ 35 (-61.96%)
Mutual labels:  yeelight, xiaomi
Mi Home
С# API for Xiaomi Mi Home devices
Stars: ✭ 86 (-6.52%)
Mutual labels:  smarthome, xiaomi
Pysmartnode
Micropython Smarthome framework
Stars: ✭ 58 (-36.96%)
Mutual labels:  smarthome, sensor
Homeassistantconfiguration
Home Assistant Config. For more info see link:
Stars: ✭ 260 (+182.61%)
Mutual labels:  smarthome, xiaomi
ioBroker.mihome-vacuum
Control your Xiaomi vacuum cleaner
Stars: ✭ 96 (+4.35%)
Mutual labels:  smarthome, xiaomi
node-lumi-aqara
Control your Xiaomi Smart Home devices with this Lumi Aqara library
Stars: ✭ 45 (-51.09%)
Mutual labels:  xiaomi, aqara
Xiaomi Flower Care Api
Xiaomi Flower Care (MiFlora) API wrapper.
Stars: ✭ 111 (+20.65%)
Mutual labels:  sensor, xiaomi
esp8266-deerma-humidifier
Cloud-free wifi humidification
Stars: ✭ 34 (-63.04%)
Mutual labels:  smarthome, xiaomi
Smart-Lights-Yeelight
Control Yeelight Devices quickly from your Mac OS Tray
Stars: ✭ 51 (-44.57%)
Mutual labels:  yeelight, xiaomi
fluxee
💡 Controlling Yeelight smart lights corresponding to f.lux display color temperature
Stars: ✭ 55 (-40.22%)
Mutual labels:  yeelight, smarthome

Goodbye MiHome

Break into API of smart home products from Xiaomi and wrap sensors data to cozy web interface.

If you like this project, you might want to buy me a cup of coffee :)

Currently supported devices

  • Temperature and humidity sensor: collect data, show current value and line charts.
  • Magnet (door/window close sensor): collect data, show current status, pubsub service to be used in apps.
  • Gateway LED: change color, set brightness, toggle status, show current value.
  • Gateway Speaker: play standard and user-defined (uploaded via MiHome app) sounds with custom volume, interrupt playing.
  • Yeelight smart LED bulbs: toggle status, set brightness, set name, create scenes, manage cron jobs.

The list will expand as I receive more Xiaomi devices and make plugins for them. Feel free to write your plugins if you have other devices/sensors.

Setup and running

  1. Ensure you have Python 3, PostgreSQL, Redis installed.
  2. Clone the repo
  3. Create a PostgreSQL database and import init.sql
  4. Install required python packages: pip install -r requirements.txt
  5. Copy config.py.example to config.py and fill it with your settings
  6. Run python mihome.py to start data collector, web application and load apps defined in ENABLED_APPS.
    Additionally, run python mihome.py shell to start interactive intepreter (useful to test commands).

Apps

Besides displaying sensors and devices data and change settings from the web interface, you could write some useful apps using Goodbye-MiHome. For example, you could parse your electricity supplier's website and start red LED blinking on the gateway when there's a news about upcoming power outage in your area.

Some sample apps could be found in apps directory.

You could enable or disable an app by changing ENABLED_APPS section in config.py

Background images for web interface

To make web interface even better, you could put your favorite images into web/static/img/bg/ directory. Background image changes every 5 minutes (hovewer, you could tweak the interval in js file).

goodbye-mihome

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].