Commit graph

  • 2af137790b Scan command line for -c option and read the file first to make sure command line options will override config file -logfile is the only one both in config and on commandline Only write a pid file if running as a daemon Default to not writing a log file unless specified on command line or in config file Anders Betnér 2008-02-23 21:54:11 +00:00
  • 8b769925db According to the FHS http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA the pid file must contain a newline character at the end of the pid. Anders Betnér 2008-02-23 21:02:38 +00:00
  • f79cc13854 Added config file validation for longitude, latitude and timezone Anders Betnér 2008-02-23 20:44:58 +00:00
  • 489e8aaf88 Added a possibility to apply each rule to specific weekdays. Magnus Juntti 2008-02-23 10:39:34 +00:00
  • 361a972be7 Allow config file parameters with negative values Anders Betnér 2008-02-21 21:35:01 +00:00
  • ff0bc287a5 Minor cosmetic edits. Magnus Juntti 2008-02-20 20:39:59 +00:00
  • 79ac83b6dc Added use strict and declared all necessary variables. Magnus Juntti 2008-02-20 19:43:33 +00:00
  • b6fbe49e84 Problems regarding the writing of pidfiles resolved. Magnus Juntti 2008-02-20 19:18:13 +00:00
  • 5d4d7ac7ca Minor cleanups. Magnus Juntti 2008-02-20 17:38:28 +00:00
  • 759d0c0441 Changed ill-spelled variable ($Latititue should be $LATITUDE). Write logfile is on by default. Magnus Juntti 2008-02-20 17:15:47 +00:00
  • d2a7fca21b Added project "rfcmd" Micke Prag 2008-02-20 14:22:37 +00:00
  • 00dc68bd1b Added project "Systray" Micke Prag 2008-02-20 14:15:53 +00:00
  • 813d72861d All configurations now possible to make in the tellstickd.conf file (many thanks to Anders Betner). Magnus Juntti 2008-02-19 21:56:11 +00:00
  • f6ed1545bd Update is_time_format_correct. Added extra delay after each rfcmd call to get more robust operation. Magnus Juntti 2008-02-19 20:56:16 +00:00
  • b1b178084f Fixed a bug which caused the the program to stick in an eternal loop when on and off times were the same. The problem was within the function randomize_off Magnus Juntti 2008-02-19 19:14:16 +00:00
  • a864dd50b5 Magnus Juntti 2008-02-19 19:00:57 +00:00
  • 33f719a988 Fixed a minor bug on lines 135 and 147. Magnus Juntti 2008-02-19 18:32:23 +00:00
  • 8b8daa616d Added a patch from Anders Betner (thanks). Magnus Juntti 2008-02-19 17:38:14 +00:00
  • a1b0c20786 Minor edit. Magnus Juntti 2008-02-19 07:14:44 +00:00
  • 7596c989e4 Changed sunset calculation parameters. Added init script for Debian and adaptions of tellstickd. All contributions of Anders Betner. Magnus Juntti 2008-02-18 21:39:31 +00:00
  • fb980ff35a Changed sunset calculation parameters. Added init script for Debian and adaptions of tellstickd. All contributions of Anders Betner. Magnus Juntti 2008-02-18 21:34:06 +00:00
  • 9359c895a2 Changed sunset calculation parameters. Added init script for Debian and adaptions of tellstickd. All contributions of Anders Betner. Magnus Juntti 2008-02-18 21:31:07 +00:00
  • 28b7841310 Added possiblitiy to use a minus sign (-) when setting the off when bright delay and prelight in afternoon parameters in the tellstickd.conf file. Magnus Juntti 2008-02-17 19:59:20 +00:00
  • b7e55de443 Fixed a bug which made devMethods() return 0 if no TellStick was inserted. Micke Prag 2008-02-16 16:06:36 +00:00
  • d2e941ba27 Bugfix in Ikea checksum calculation Micke Prag 2008-02-16 15:04:50 +00:00
  • e7512dbe2e Changed the logic for calculating IKEA-dim message. Micke Prag 2008-02-16 13:12:56 +00:00
  • fc72421616 General improvements. Magnus Juntti 2008-02-15 20:59:09 +00:00
  • 6ba85200c4 Corrected a fatal bug regarding switch logic. Magnus Juntti 2008-02-15 08:12:35 +00:00
  • a67fa2653b Updated README file. Magnus Juntti 2008-02-15 07:24:07 +00:00
  • 96daffc46b Changed update interval back from 50 to 60 seconds: Magnus Juntti 2008-02-15 07:21:56 +00:00
  • 80ce55dc8c Version 0.3.0. New feature: possibility to randomize switch on and switch off time. Magnus Juntti 2008-02-14 20:18:40 +00:00
  • 809659ea17 Added project "Scheduler" Micke Prag 2008-02-14 10:53:09 +00:00
  • 396ca1e72b Changed mailaddress to mjuntti@gmail.com Magnus Juntti 2008-02-13 18:07:24 +00:00
  • 7e66f1c057 2008-02-12 0.2.1 Changed behaviour when program is called without argument . Now presents: Try "tellstickd --help" for more information. Magnus Juntti 2008-02-12 17:34:31 +00:00
  • 75cd57445a Added support for SARTANO. Cleaned the code. Magnus Juntti 2008-02-11 22:17:40 +00:00
  • c5f092fc72 Magnus Juntti 2008-02-11 18:27:48 +00:00
  • e794d406f2 Imported project 'tellstickd' Micke Prag 2008-02-11 17:05:51 +00:00
  • 08c02530a6 Removed function bool devHasMethod(int id, int method) and replaced with int devMethods(int id) Micke Prag 2008-02-08 15:52:06 +00:00
  • be464c4efc Fixed 2 bug Returned correct id when adding a new device. Fixed crash if no device was found in devHasMethod(). Micke Prag 2008-02-08 13:23:28 +00:00
  • ecf09abe0f Initial import of TellStick-driver Micke Prag 2008-02-05 13:14:30 +00:00