Comments (4)
Example: a screen in a cafeteria that is being used for a performance. A bright screen could be undesirable in the darkened room, so the screen owner might want to shut it down for the day (often it is undesirable to have the power button readily accessible).
It expires at midnight local time on the day it was set, so at most the override can last for one hour.
A more elegant implementation would be some sort of on/off "remote control" interface ... but I don't think the responsiveness one might expect from that sort of interface is forthcoming in our first pass at the polled player api.
from concerto-hardware.
That makes sense. So bandshell will have a background job to check and reset this? Does bandshell poll for its screen on/off functionality or does it read a configuration once when it starts?
from concerto-hardware.
The bandshell daemon itself will poll every so often, so the config can change during runtime.
from concerto-hardware.
Bandshell polls concerto-hardware for settings (currently every 5 minutes).
Note this is new in the repo, the image doesn't have this function yet.
Right now the only player setting is a list of rules governing on/off
behavior. Their format is laid out under "Player API" in this repo's wiki.
As a result of these rules, no background work required. The model just
records the current date in the database as the condition of a new "force
off" rule. So for the rest of the day, bandshell sees the matching date and
turns off the screen. After midnight, the date will no longer match, so
bandshell ignores that rule.
The expired but harmless rule will fall away next time someone edits the
player.
On Dec 20, 2013 11:25 PM, "Marvin Frederickson" [email protected]
wrote:
That makes sense. So bandshell will have a background job to check and
reset this? Does bandshell poll for its screen on/off functionality or does
it read a configuration once when it starts?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-31056523
.
from concerto-hardware.
Related Issues (20)
- Implement Screen on/off time interface
- why is view stuff in engine.rb? HOT 1
- List all players in Concerto HOT 3
- how is the screen turned on or off? HOT 1
- remove new player button from all players list? HOT 1
- screen on/off validation and interface
- screen off - does that mean browser is stopped? HOT 1
- controller questions HOT 2
- Implement Screen Control Selection
- expose player IP addresses HOT 1
- are non-logged in users supposed to be able to add players? HOT 1
- Resolution and Rotation Control
- Rails 4: Player Model Time Attributes broken
- Capture Player IP Address HOT 2
- Can't change weekend off time from 8PM HOT 5
- Hardware controlled screen flickers (DPMS)
- Add ability to disable screen on/off schedules HOT 2
- upgrade to turbolinks v5
- deleting a screen used by a player causes problems
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 concerto-hardware.