All Projects → davidramiro → fluxee

davidramiro / fluxee

Licence: other
💡 Controlling Yeelight smart lights corresponding to f.lux display color temperature

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to fluxee

Zigbeenet
A .NET Standard library for working with ZigBee
Stars: ✭ 76 (+38.18%)
Mutual labels:  smarthome, smart-home
Templates
Tasmota Device Templates Repository. Your one stop shop to get templates for devices running Tasmota!
Stars: ✭ 162 (+194.55%)
Mutual labels:  smarthome, smart-home
Homeassistant Config
Configuration for @brianjking & @KinnaT's Home Assistant Installation
Stars: ✭ 80 (+45.45%)
Mutual labels:  smarthome, smart-home
Cbj smart Home
If you are searching for an easy way to deploy a smart home 🏡 by yourself CyBear Jinni 🦾🐻🧞‍♂️ is here for you. Join the community and make your home smarter than yesterday.
Stars: ✭ 37 (-32.73%)
Mutual labels:  smarthome, smart-home
home-assistant-config
🏠 My Home Assistant configuration
Stars: ✭ 17 (-69.09%)
Mutual labels:  smarthome, smart-home
Node Hue Api
Node.js Library for interacting with the Philips Hue Bridge and Lights
Stars: ✭ 1,034 (+1780%)
Mutual labels:  smarthome, smart-home
Rgb
Offline smart home - esp8266 and WS2811/WS2812/NeoPixel LEDs Smart home / Gudra māja / Умны дом
Stars: ✭ 99 (+80%)
Mutual labels:  smarthome, smart-home
Hoobs
Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
Stars: ✭ 325 (+490.91%)
Mutual labels:  smarthome, smart-home
HomeAssistantRepository
🏡 Home Assistant on Gentoo Linux.
Stars: ✭ 26 (-52.73%)
Mutual labels:  smarthome, smart-home
goodbye-mihome
Web UI and plugins to manage Xiaomi MiHome gateway, sensors and smart devices.
Stars: ✭ 92 (+67.27%)
Mutual labels:  yeelight, smarthome
Pimatic Edimax
Pimatic Plugin for Edimax WiFi Smart Plugs
Stars: ✭ 7 (-87.27%)
Mutual labels:  smarthome, smart-home
pyvesync
pyvesync is a python library to manage Etekcity & Levoit smart devices
Stars: ✭ 111 (+101.82%)
Mutual labels:  smarthome, smart-home
Alexa Smarthome
Resources for Alexa Smart Home developers.
Stars: ✭ 496 (+801.82%)
Mutual labels:  smarthome, smart-home
Streamdeck Homeassistant
🏠 Use the Elgato Stream Deck as Home Assistant controller. Call any available service and toggle lights or resume your music.
Stars: ✭ 69 (+25.45%)
Mutual labels:  smarthome, smart-home
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+6603.64%)
Mutual labels:  smarthome, smart-home
Fritzctl
A lightweight, easy to use console client for the AVM FRITZ!Box Home Automation.
Stars: ✭ 84 (+52.73%)
Mutual labels:  smarthome, smart-home
Eventghost
EventGhost is an advanced, yet easy-to-use extensible automation tool for Windows.
Stars: ✭ 257 (+367.27%)
Mutual labels:  smarthome, smart-home
Waterius
Передача показаний воды по Wi-Fi. Watermeter Wi-Fi transmitter.
Stars: ✭ 295 (+436.36%)
Mutual labels:  smarthome, smart-home
Ha client
It was the first Home Assistant fully native Android client from the times when there was no any official alternatives
Stars: ✭ 166 (+201.82%)
Mutual labels:  smarthome, smart-home
Make-Eufy-Smart-Again
Make an web controlled esp8266 remote control for Eufy (v11 or v11+) vacuum cleaners
Stars: ✭ 54 (-1.82%)
Mutual labels:  smarthome, smart-home

fluxee

Setting up a light scene with Yeelight smart lamps corresponding to your f.lux display temperature. Supports any number of lamps simultaneously.

Prerequisites

  • Python 3.7+
  • Pipenv
  • f.lux installed
  • Any Yeelight/Xiaomi/Mijia Wi-Fi lamp

Usage

  • Linux: Clone the repo or download and extract it.
  • Enable LAN Control on your lamps in the Yeelight app.
  • Create a copy of config.yaml.default called config.yaml
  • Find out your lamp's IP addresses and put them into config.yaml.
  • If you know your lamp's color temperature range you should set it in the config file aswell. If you don't know it, the script will use the widest range possible but you might get an error message. It will still work, though.
  • In f.lux settings enter http://127.0.0.1:8080/room_1 in the bottom URL
  • Either run fluxee.py

Important note

Keep in mind that your f.lux settings might not match your lamp's capabilities. For example, my Yeelight RGBW Bulb supports 1700K to 6500K, my Mi Desk Lamp only 2700K to 6500K. On default, f.lux ranges from 1900K to 6500K, its effectiveness may vary depending on your lamp. If you're very sensitive even 2700K might not be dim enough for you to achieve full melatonin secretion.

Potential Issues

Some people seem to have issues getting the script to work flawlessly with the Xiaomi Mi LED Desk Lamp (Xiaomi Mijia Yeelight MJTD01YL). For me it works most of the time with an occasional error regarding the power state of the lamp. Disabling the state check in the config.ini might help.

Credits

Thanks to ekzi for providing the idea and basis behind this project!

Gratefully using the Yeelight python library by Stavros Korokithakis.
Copyright (c) 2016, Stavros Korokithakis
All rights reserved.

License

This project is licensed under the MIT License - see the LICENSE file for details

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