Coder Social home page Coder Social logo

wizscreen's Introduction

WizScreen

Set your Wiz Bulb to match the colors on screen. Finds the dominant on-screen color and requests the bulb change accordingly. Fastest response time on the order of 0.2s from testing.

How to use

Executables

Executables are distributed within this repository for windows and unix-like systems. This is the easiest option to get started quickly.

They can be found in the most recent build by visiting the Actions tab, selecting the top most build with a green tick next to the name, and selecting from the Artifacts section.

Simply run the executable to start the program. Ctrl+C to quit. Run from the command line to specify extra command arguments

From Source

Download the code. Ensure you have a modern python installed, and pipenv. Then in this downloaded folder run pipenv install to obtain the correct environment. Finally pipenv run main.py to execute the script.

Command Arguments

Specify additional command arguments to change default values, or change certain behaviour.

Argument Sequential Argument Example Description
-h, --help - show this help message and exit
-d, --debug - Prints more verbose messages. Sets to INFO level
-s, --search - Search for available bulbs, print IP addresses, and exit
-ip IP 192.168.1.66 known IP of bulb to use
--broadcast_space BROADCAST_SPACE 192.168.1.225 Search over this space of IP for possible bulbs. Use when IP of desired bulb unknown
-b [0-255], --brightness [0-255] 70 minimum desired brightness of bulb
-r RATE, --rate RATE 20 refresh rate of color change (hz)
-m MONITOR --monitor MONITOR 1 Monitor number to use
-q [1-10], --quality [1-10] 5 Quality of dominant color calculation. 1: highest, 10: lowest
--screen_percent [1-100] 60 Amount of screen to consider, in percentage. Chances are that things around the edge of the screen do not need consideration
-d, --display - Show a window of expected color captured from screen, and sent to bulb

wizscreen's People

Contributors

coolmule0 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

wizscreen's Issues

Output to Bulb has too much White in It

Seems to work well except when Wiz bulb lights up, Initial color momentarily matches predominant color on screen then goes to a very washed out color containing mostly white. is there a way to modify code to retain the initial momentary color and not wash it out with white? . For example, if I make my Desktop totally red then when Wiz bulb illuminates, the initial color is a deep red , then it switches to almost white with just a slight tint of red. I am not a coder and a newbie at python so a working version of this would be most helpful. Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.