[go: up one dir, main page]

Menu

Tree [b8934f] v0.5.0 /
 History

HTTPS access


File Date Author Commit
 bin 2014-05-29 smilzoboboz smilzoboboz [b8934f] Minor Fixes
 calise 2014-05-29 smilzoboboz smilzoboboz [b8934f] Minor Fixes
 config 2012-07-08 smilzoboboz smilzoboboz [4a8064] improved service capture precision (sdev inside...
 data 2012-07-04 smilzoboboz smilzoboboz [e2da2f] Merge branch 'iss3538912'
 other 2012-07-11 smilzoboboz smilzoboboz [7bf26e] initd script better implementation
 po 2013-04-30 smilzoboboz smilzoboboz [64dfe4] Merge commit '60c50c4f0b813cf7f855f9d1a523cef09...
 share 2012-06-26 smilzoboboz smilzoboboz [0390d8] SVN 232 to GIT porting
 src 2013-04-30 smilzoboboz smilzoboboz [64dfe4] Merge commit '60c50c4f0b813cf7f855f9d1a523cef09...
 tool 2012-06-26 smilzoboboz smilzoboboz [0390d8] SVN 232 to GIT porting
 INSTALL 2012-07-30 smilzoboboz smilzoboboz [b6b71a] Pre-release (various) updates
 LICENSE 2012-06-26 smilzoboboz smilzoboboz [0390d8] SVN 232 to GIT porting
 README 2013-05-13 smilzoboboz smilzoboboz [f9d77d] Developement version update
 calise.1 2012-07-04 smilzoboboz smilzoboboz [f9bdaf] Mostly issue 3540266 implementation but also se...
 calised.1 2012-07-08 smilzoboboz smilzoboboz [4a8064] improved service capture precision (sdev inside...
 setup.py 2013-04-30 smilzoboboz smilzoboboz [64dfe4] Merge commit '60c50c4f0b813cf7f855f9d1a523cef09...

Read Me

Calise (beta)

Calise (acronym for Camera Light Sensor) is a lightweight program that uses any v4l2 compatible camera as a light sensor: obtains ambient brightness and calculates correct backlight setting according to a user-defined scale.
For simple usage instructions type "calise --help" or "calised --help" and for a detailed explanation please refer to man page.

Copyright (C)   2011-2012   Nicolo' Barbon
Calise is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
Calise is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Calise.  If not, see <http://www.gnu.org/licenses/>.


What's calise?
Calise is a program written in python (with 2 C-python modules) that reads frames from a camera, computes ambient brightness value and sets backlight accordingly.
Main program (executable filename "calise") grabs the camera for the whole execution and grantes really high fidelity computations, BUT should not be used in background - like a daemon for example - because, despite cpu time usage is low ~1%, it causes too much wakeups.
On the other hand from release 0.1.0 there's also a "service" version (executable "calised") that, with the help of dawn/sunset times and weather informations optimizes captures as described below (and of course service's cpu time usage and power consumption are actually negligible):
    dawn/sunset: more or less from 1 to 7 captures per minute (according to latitude)
    daytime: from 60 to 12 captures per hour (according to weather informations taken once per hour, if no internet or weather info disaled 20)
    night: no captures
Anyway "service" version has also the capability of "manual" captures if the value returned by automatic execution is not good enough.
Take a look to man pages of both programs to get further informations.
Also, a really detailed wiki on calise installation, configuration and execution is up on calise site:
    http://calise.sourceforge.net/mediawiki/


Setup Instructions and dependencies:
Please refer to INSTALL file from this same directory


Notes:
On the first run the program will start calibration to compile the default profile (so for that first time you have to run on terminal), then you can add other profiles giving the switch --calibrate to the program.
There has to be at least one "default" profile in the config dir, if not, the program will calibrate to get one.
To use a custom profile (not default), give the --profile <name> switch to the program.
Once a profile is created, you can modify it adding (but not removing) options. Take a look at config/sample.conf for all available options, btw the ones provided through calibration should suffice


Translations:
Currently there is only (partial) italian translation, but anyone is encouraged to make his/her own language translation.
"Service" version is currently not translated at all.