Comments (3)
Yes, I'm curious to see what you have done it sound sinteresting
cheers
On Mon, Apr 6, 2015 at 9:55 PM, lunnonco [email protected] wrote:
Franc, I have adapted your code and wondered if you would like it. What I
have done is integrate the switching code with DPMS so that when the screen
blanks the switch turns off and when it unblanks the switch turns on. This
allows me to power down all my peripherals automatically. This is also
useful in a home theatre situation where you may want to power down the
audio system and other components, projectors or even say a TV signal
amplifier when the computer goes to sleep in order to save energy.There are a few bugs to work out but they are minor (what to do if the
switch doesn't respond and at startup). I think a script call-out might be
nice too (for plugin actions)Let me know.
—
Reply to this email directly or view it on GitHub
#2.
Franc
from bauhn-wifi.
It's pretty ugly right now, but it works. Originally I switched on DPMS state transitions but I have added some status checks to switch only if the devices are in the wrong state compared to the screen saver. The code has been simplified just to compare the DPMS state with the switch state. This works better because the switch is attempted at every polling interval and not just at DPMS state transitions
Have you got an email I can forward it to?
from bauhn-wifi.
I'm curious to see how it works, I don;t understand DPMS and I would like
to.
My email is [email protected]
cheers
On Mon, Apr 13, 2015 at 8:58 PM, lunnonco [email protected] wrote:
It's pretty ugly right now, but it works. Originally I switched on DPMS
state transitions but I have added some status checks to switch only if the
devices are in the wrong state compared to the screen saver. The code has
been simplified just to compare the DPMS state with the switch state. This
works better because the switch is attempted at every polling interval and
not just at DPMS state transitionsHave you got an email I can forward it to?
—
Reply to this email directly or view it on GitHub
#2 (comment)
.
Franc
from bauhn-wifi.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bauhn-wifi.