package: sispmctl
version: 3.1-1

Hi,
my hardware clock is set to UTC, as shown by the output of
cat /etc/adjtime
0.000000 1447705837 0.000000
1447705837
UTC

My local time zone is set to Europe/Berlin, as shown by the output of
cat /etc/timezone
Europe/Berlin

What I did:
On 2015-11-17 11:40 CET, I tried to schedule an event for 2016-03-27
07:25 CEST, like so:

sispmctl -q -A3 --Aat "2016-03-27 07:25" --Ado off --Aat "2016-03-27
07:30" --Ado on

Verifying the output using sispmctl -a3 returned:

Accessing Gembird #0 USB device 002

Get outlet 3 status :
  programmed on : 17-Nov-2015 10:25:08
  On 2016-03-27 08:25 switch off
  On 2016-03-27 08:30 switch on
  equivalent command line : sispmctl -A3 --Aat "2016-03-27 08:25" --Ado
off --Aat "2016-03-27 08:30" --Ado on

I've played with a few more date combinations and it always is off by
one hour (plus or minus) when the scheduled event is in daylight saving
time while the current time is not, or vice versa.

It would be really helpful if
a) the man page would be amended to point out that this is currently a
bug/issue and
b) the actual bug would be fixed, for example by checking the time
string for indicators of the desired time zone, like UTC, CET, CEST, ...
OR by figuring out which time zone the machine is set to and which
adjustment might need to be made.

Kind Regards,
Stefan Baur

Reply via email to