Helmut Pozimski
|
32a4360a27
added some more logging output
|
11 anni fa |
Helmut Pozimski
|
1fc29243d9
tried to throw an exception if the display is not available
|
11 anni fa |
Helmut Pozimski
|
ec052f3453
changed the code to also terminate the process if it is not run as daemon
|
11 anni fa |
Helmut Pozimski
|
a30a896280
changed formatter to include the PID
|
11 anni fa |
Helmut Pozimski
|
6e17e8788b
added some more info messages, imporved logging
|
11 anni fa |
Helmut Pozimski
|
90e549dc9e
corrected the format string for logger
|
11 anni fa |
Helmut Pozimski
|
faa1f759da
explicitly import logging.handlers to be able to use SysLogHandler
|
11 anni fa |
Helmut Pozimski
|
140bdc5c31
corrected a small typo calling the logger object
|
11 anni fa |
Helmut Pozimski
|
add002fb5e
implemented minimal logging to syslog and console
|
11 anni fa |
Helmut Pozimski
|
92049103d6
correctly import os, I really should have done that in the first place
|
11 anni fa |
Helmut Pozimski
|
00dc5ca0ee
implemented signal handling
|
11 anni fa |
Helmut Pozimski
|
597c58aee8
updated TODO and generated Changelog from bzr
|
11 anni fa |
Helmut Pozimski
|
4a8e6c84e7
yet another round of cosmetical changes to the init script
|
11 anni fa |
Helmut Pozimski
|
03079ccdad
another round of cosmetical changes to the init script
|
11 anni fa |
Helmut Pozimski
|
12615260a1
corrected the start method in the init script
|
11 anni fa |
Helmut Pozimski
|
fe7e604545
added a simple init script for sysvinit
|
11 anni fa |
Helmut Pozimski
|
321a2a2300
corrected two small typos
|
11 anni fa |
Helmut Pozimski
|
19f187e6e9
set high or low brightness when the configured minute is reached
|
11 anni fa |
Helmut Pozimski
|
7ad07cb636
only call datetime.now once per cycle to safe some processing time
|
11 anni fa |
Helmut Pozimski
|
ed84e037ce
and corrected the reversed order for the values
|
11 anni fa |
Helmut Pozimski
|
bd8605e6f5
change blink_colon to bolean value as it was intended
|
11 anni fa |
Helmut Pozimski
|
bead5dbccf
added configurable blinking of the middle colon
|
11 anni fa |
Helmut Pozimski
|
36c0634f61
comparing time doesn't work between 2 days so just check if the conditions for high state are met and fall back to log otherwise
|
11 anni fa |
Helmut Pozimski
|
b1246e11a5
added rules for setting both high and low states
|
11 anni fa |
Helmut Pozimski
|
262728b540
correctly create time object in the configuration
|
11 anni fa |
Helmut Pozimski
|
071d7cf996
changed the time comparison so it hopefully makes sense now
|
11 anni fa |
Helmut Pozimski
|
5415735bf2
fixed a line break
|
11 anni fa |
Helmut Pozimski
|
037baf1b7e
added code to change the brightness according to time of day
|
11 anni fa |
Helmut Pozimski
|
67d70b1cc2
corrected a comment in the configuration
|
11 anni fa |
Helmut Pozimski
|
a750acf9d7
only got int with base 16 without hex conversion, seems to work
|
11 anni fa |