Running archlinux and calise 0.4.1. Calibration and install worked fine. But I can't seem to get calise to run night/day/dawn at the correct times... eg (from my syslog)
Mar 10 10:13:54 snausage.castriess.com calised[4587]: [10:13:54][INFO - calise.capture] Capture precision is too low, requesting additional captures
Mar 10 10:13:55 snausage.castriess.com calised[4587]: [10:13:55][INFO - calise.thread] Backlight step changed from 9 to 5
Mar 10 10:13:55 snausage.castriess.com calised[4587]: [10:13:55][INFO - calise.thread] Time of the day is "night"
Mar 10 10:13:55 snausage.castriess.com calised[4587]: [10:13:55][INFO - calise.thread] Sleeptime set to 74603.44
Note it's 10:13 in the morning!
I'm sure the timezone and whatnot is set correcty... eg:
$: timedatectl status
Local time: Sun 2013-03-10 10:20:30 PDT
Universal time: Sun 2013-03-10 17:20:30 UTC
RTC time: Sun 2013-03-10 17:20:31
Timezone: America/Los_Angeles (PDT, -0700)
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2013-03-10 01:59:59 PST
Sun 2013-03-10 03:00:00 PDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2013-11-03 01:59:59 PDT
Sun 2013-11-03 01:00:00 PST
calise.conf
If the timezone is correctly set, then try to check geoip informations:
calised --dump-settings
if either latitude or longitude setting is wrong, set them manually inside the config file (~/.config/calise/default.cfg) or create a config file ad hoc and disable geoip lookup either inside the config file or with the cli parameter "--no-geoip".
Sry if I answered that late, I'm kinda busy since last summer.
Timezone's correct. I pulled the geoip lat/long which was autodetected from the config and it's suprisingly accurate (within a few city blocks of my actual location). I disabled geoip and wrote the location in the [System] section, and saw identical results. So it looks like geoip is working as well as manually specifying the location.
Mar 21 13:12:55 snausage.castriess.com calised[14762]: [13:12:55][INFO - calise.service] Process started with PID 14762
Mar 21 13:12:55 snausage.castriess.com systemd[1]: Started execute calise as systemd service.
Mar 21 13:12:58 snausage.castriess.com calised[14762]: [13:12:58][INFO - calise.capture] Capture precision is too low, requesting additional captures
Mar 21 13:12:58 snausage.castriess.com calised[14762]: [13:12:58][INFO - calise.thread] Time of the day is "night"
Mar 21 13:12:58 snausage.castriess.com calised[14762]: [13:12:58][INFO - calise.thread] Sleeptime set to 62536.44
The only difference I saw in the log is if I disabled geoip and the location in the config file, the time of day changed to "None". I also noticed the following pattern in the journal which is really odd.
journalctl | grep "Time of the day is"
Mar 18 10:17:10 snausage.castriess.com calised[337]: [10:17:07][INFO - calise.thread] Time of the day is "night"
Mar 18 13:52:05 snausage.castriess.com calised[458]: [13:51:55][INFO - calise.thread] Time of the day is "night"
Mar 18 18:40:27 snausage.castriess.com calised[358]: [18:40:22][INFO - calise.thread] Time of the day is "night"
Mar 18 20:04:13 snausage.castriess.com calised[638]: [20:04:13][INFO - calise.thread] Time of the day is "night"
Mar 18 20:11:12 snausage.castriess.com calised[596]: [20:11:08][INFO - calise.thread] Time of the day is "night"
Mar 19 07:42:56 snausage.castriess.com calised[735]: [07:42:26][INFO - calise.thread] Time of the day is "dawn"
Mar 19 16:07:58 snausage.castriess.com calised[610]: [16:07:20][INFO - calise.thread] Time of the day is "night"
Mar 19 16:15:19 snausage.castriess.com calised[305]: [16:15:19][INFO - calise.thread] Time of the day is "night"
Mar 19 19:13:47 snausage.castriess.com calised[277]: [19:13:47][INFO - calise.thread] Time of the day is "night"
Mar 20 07:27:45 snausage.castriess.com calised[305]: [07:27:45][INFO - calise.thread] Time of the day is "dawn"
Mar 20 11:51:10 snausage.castriess.com calised[278]: [11:51:10][INFO - calise.thread] Time of the day is "night"
Mar 20 15:03:45 snausage.castriess.com calised[761]: [15:03:45][INFO - calise.thread] Time of the day is "night"
Mar 20 15:17:50 snausage.castriess.com calised[274]: [15:17:50][INFO - calise.thread] Time of the day is "night"
Mar 20 18:35:34 snausage.castriess.com calised[258]: [18:35:34][INFO - calise.thread] Time of the day is "night"
Mar 21 07:23:32 snausage.castriess.com calised[608]: [07:23:32][INFO - calise.thread] Time of the day is "dawn"
Mar 21 07:28:49 snausage.castriess.com calised[6539]: [07:28:49][INFO - calise.thread] Time of the day is "dawn"
Mar 21 07:30:22 snausage.castriess.com calised[6957]: [07:30:22][INFO - calise.thread] Time of the day is "dawn"
Mar 21 09:04:01 snausage.castriess.com calised[292]: [09:04:01][INFO - calise.thread] Time of the day is "night"
Mar 21 12:46:19 snausage.castriess.com calised[6646]: [12:46:19][INFO - calise.thread] Time of the day is "night"
Mar 21 12:49:10 snausage.castriess.com calised[7651]: [12:49:10][INFO - calise.thread] Time of the day is "night"
Mar 21 12:58:43 snausage.castriess.com calised[10399]: [12:58:43][INFO - calise.thread] Time of the day is "night"
Mar 21 13:03:53 snausage.castriess.com calised[11936]: [13:03:53][INFO - calise.thread] Time of the day is "night"
Mar 21 13:07:32 snausage.castriess.com calised[12967]: [13:07:32][INFO - calise.thread] Time of the day is "night"
Mar 21 13:08:23 snausage.castriess.com calised[13274]: [13:08:23][INFO - calise.thread] Time of the day is "night"
Mar 21 13:08:40 snausage.castriess.com calised[13383]: [13:08:40][INFO - calise.thread] Time of the day is "night"
Mar 21 13:09:33 snausage.castriess.com calised[13691]: [13:09:33][INFO - calise.thread] Time of the day is "night"
Mar 21 13:11:47 snausage.castriess.com calised[14370]: [13:11:47][INFO - calise.thread] Time of the day is "None"
Mar 21 13:12:58 snausage.castriess.com calised[14762]: [13:12:58][INFO - calise.thread] Time of the day is "night"
(ignore the timing, many of those log times are manual restarts). I just thought it was odd that the "time of day" is night and dawn and that's it.
Confirmed.
Working on it.
The bug triggers with longitudes below ~ -78 and equal and above ~ 80.
Setting and rising times obtained (setting for < -78, rising for > 80) are like 86400 (a day) minus something, instead of just something, and so it's always "night"...
Workaround posted within 0.4.1 folder: iss3607544.fix.diff
Archlinux package updated too.
Seems that the patch posted solves only part of the bug. Working on the rest.
This is quite old, anyway if I remember correctly this issue was fixed long ago, I'm closing setting "fixed" for now.
Feel free to reopen if you suffer this same issue.