MCPcopy
hub / github.com/diyhue/diyHue

github.com/diyhue/diyHue @2022.8 sqlite

repository ↗ · DeepWiki ↗ · release 2022.8 ↗
2,490 symbols 9,241 edges 115 files 90 documented · 4%
README

diyHue - A Hue Bridge Emulator

Discourse JoinSlack Build Status

diyHueLogo

diyHue provides a Ecosystem for several Smart Home Solutions, eliminating the need for vendor specific Bridges and Hardware. Written in Python and Open Source, you are now able to import and control all your Lights and Sensors into one System.

Lightweight and resource friendly, to run on small devices like the RPi .... 24/7

The Best part? No Cloud connection by Design!

Enjoy your diyHue enlighted Home.

diyHue ecosystem

Stats

DockerPulls CommitActivity arm version badge arm-size-batch amd version badge amd size badge

Getting Started

All documentation and instructions can be found over at diyhue.readthedocs.io

Requirements

or

  • Docker

Recommendation - minimal setup

You need a System that can run the python script or Docker Image 24/7!

Emulator Lights App
RaspberryPi 3B WS2812 Strip + Wemos D1 mini Board Hue Essentials (iOS & Android)

Working diyHue features

Functions Devices Apps Lights Smarthome
Control lights (all functions) Amazon Alexa (control only the lights) Hue Essentials WS2812B and SK6812 smart led strips Home Assistant
Control groups (all functions) Deconz (Conbee 1 & 2) Hue App Phillips Hue Openhab
Scenes (all functions) Trådfri Gateway hueManic Ikea Trådfri Jeedom
Routines Hue Bridge (original + other emulators) Kodi Hue Ambilight Yeelight Domoticz
Wake up Logitech Harmony OnSwitch MiLight Home Assistant Add-on
Go to sleep Philips Ambilight TV's LampShade Hyperion.ng
Switches (custom esp8266 switches) Hue Sync for PC MQTT lights see mqtt
Autodiscover lights HueSwitcher any PWM(CCT, RGB, RGBW) incl. Dimming
Hue entertainment On/Off 433Mhz devices (multiple devices for every esp8266)
LYT8266
WLED

Support

All documentation and instructions can be found over at diyhue.readthedocs.io

If you need help with diyHue you can get support from other users, aswell as the maintainer.

Slack JoinSlack SlackStatus

Use Slack for a general chat or fast live support.

However: Since Slack is faster at providing live Support but not as good when it comes to save and show known Issues, we kindly ask you to open a Topic at our Discourse group. This will provide Help for others in the future.

Discourse Discourse

Our Board might already have your fix and answer ready. Have a look!

General Note: Please provide some Logs to make it easier for all of us. Enable Debug by manually starting diyHue with additional --debug true argument.

Stability

Starting in Dec. 2020 we will introduce one Master and one Dev Branch. The Master will have the most stable code.

If you want to tinker and experiment you can try the dev Branch. Active development will take place here.

You want to get the latest features? Try the experimental Branch. Use at own Risk!

Please post on our Slack team any other device/application that you find to work with this emulator.

Contribute

diyHue is Opensource and maintained by volunteers in their free time. You are welcome to contribute and become a recognised member of the diyHue community. Feel free to add PR and Commits to our Dev Branch. If you are experienced in - Webdesign - Python - Arduino - Coding in general

We highly appreciate your support, making diyHue even better!

Support

diyHue is and will be Free to use. However it does take a lot of time to maintain the code etc etc.

Long story short.... you can support us at Ko-Fi

ko-fi

Thank you very much!

Credits

  • Ben (@cheesemarathon) All fancy github integrations
  • Stephan van Rooij - zigbee2mqtt integration
  • @avinashraja98 - Hue Entertainment server
  • Federico Zivolo (@FezVrasta) Internal WebGUI
  • @J3n50m4t - Yeelight integration
  • Martin Černý (@mcer12) - Yeelight color bulb
  • probonopd https://github.com/probonopd/ESP8266HueEmulator
  • sidoh https://github.com/sidoh/esp8266_milight_hub
  • StefanBruens https://github.com/StefanBruens/ESP8266_new_pwm
  • Cédric @ticed35 for linkbutton implementation
  • @cheesemarathon - Help with Docker images
  • @Mevel - 433Mhz devices
  • @Nikfinn99 - PCB designs
  • @crankyoldgit - IR Remote library

Additional Projects and Ideas

Hue living color light project for 3D printing: Thingiverse 2773413

License

license

Core symbols most depended-on inside this repo

n
called by 763
BridgeEmulator/flaskUI/static/assets/vendor.js
e
called by 565
BridgeEmulator/flaskUI/static/assets/vendor.js
get
called by 395
BridgeEmulator/flaskUI/restful.py
n
called by 382
BridgeEmulator/flaskUI/static/js/3.7bf25959.chunk.js
t
called by 282
BridgeEmulator/flaskUI/static/assets/vendor.js
r
called by 259
BridgeEmulator/flaskUI/static/assets/vendor.js
n
called by 224
BridgeEmulator/flaskUI/static/js/4.38ec7202.chunk.js
a
called by 194
BridgeEmulator/flaskUI/static/assets/vendor.js

Shape

Function 2,240
Method 199
Class 39
Route 12

Languages

TypeScript81%
Python19%

Modules by API surface

BridgeEmulator/flaskUI/static/assets/vendor.js590 symbols
BridgeEmulator/flaskUI/static/js/3.7bf25959.chunk.js444 symbols
BridgeEmulator/flaskUI/static/js/4.38ec7202.chunk.js132 symbols
BridgeEmulator/flaskUI/static/assets/fontawesome-free-5.15.1-web/js/fontawesome.js121 symbols
BridgeEmulator/flaskUI/static/assets/fontawesome-free-5.15.1-web/js/all.js121 symbols
BridgeEmulator/HueObjects/__init__.py112 symbols
BridgeEmulator/flaskUI/static/assets/bootstrap-4.6.0-dist/js/bootstrap.bundle.js97 symbols
BridgeEmulator/flaskUI/static/assets/fontawesome-free-5.15.1-web/js/all.min.js70 symbols
BridgeEmulator/flaskUI/static/assets/fontawesome-free-5.15.1-web/js/fontawesome.min.js69 symbols
BridgeEmulator/flaskUI/static/js/5.c9f5d92b.chunk.js54 symbols
BridgeEmulator/flaskUI/static/assets/bootstrap-4.6.0-dist/js/bootstrap.bundle.min.js54 symbols
BridgeEmulator/flaskUI/static/assets/fontawesome-free-5.15.1-web/js/conflict-detection.js38 symbols

Dependencies from manifests, versioned

WTForms3.0.1 · 1×
Werkzeug2.0.3 · 1×
astral2.2 · 1×
bleak0.14.3 · 1×
email-validator1.1.3 · 1×
flask2.0.3 · 1×
flask_cors3.0.10 · 1×
flask_login0.5.0 · 1×
flask_restful0.3.9 · 1×
flask_wtf1.0.0 · 1×
jsonify0.5 · 1×
paho-mqtt1.6.1 · 1×

For agents

$ claude mcp add diyHue \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact