bwssytems / domuslink

web-based frontend for Heyu
http://domus.link.co.pt/
1 stars 1 forks source link

CM11 security is not working in domuslink (dawnS duskS gives error) #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
define timer manually in the x10.sched and use the security feature.
So the S for random (within 1 hour action will be taken.)

2.

According to heyu documentation:

To  activate the so-called "security" feature of the CM11A, sim-
ply append the letter 'S' to the programmed start or  stop  time
in question.  "12:00s", "dawn+5s", "duskS" are valid examples of
this.  The time of the event will then vary  each    day  by  some
random  amount  within  +/-  30  minutes of the programmed time.

Note that the CM11A  itself  actually  applies  a    variation  of
between  +0  and    +60 minutes to the programmed time.  Heyu sub-
tracts 30 minutes from the programmed event time to get the  +/-
30 minute variation.

3.

as soon as I enter a S in the configuration file the domus.link does report 
config as error and indicated the line number (uploading to cm11 with heyu 
works fine without problem)

error:
Exec: Load Cache Sched File
Error loading /etc/heyu/x10.sched - line 37, Time string is not valid: 

What is the expected output? What do you see instead?

no reported error and possiblity to add the random function with click on box 
function.

What version of Heyu and domus.Link are you using? On what operating
system?

using the latest version of heyu and domus.Link
running on linux, but is platform independant I believe.

Please provide any additional information below.

see above manual from heyu x10.sched

Original issue reported on code.google.com by ControlM...@gmail.com on 12 Aug 2011 at 12:27

GoogleCodeExporter commented 9 years ago
Will need to investigate the case conversion of the 'S' on timers. I have 
lowercase 's' on my production system and it works fine. Have you tried just 
lowercase 's'?

Brad

Original comment by bwsamuels@gmail.com on 18 Aug 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Brad,

thanks for the fast response.
I did not check initially for the smaller letters.

But with smaller letters it seems to work also checked the GUI and see that the 
Security is under the advanced timer options.
(Security: tag )

so looks like that the problem is related to the capital S (which is supported 
by heyu according to the documentation)

thanks for your responds.

Original comment by ControlM...@gmail.com on 30 Aug 2011 at 1:00

GoogleCodeExporter commented 9 years ago
Cannot recreate this issue. If you have a example timer line that would be 
great.

Brad

Original comment by bwsamuels@gmail.com on 13 Nov 2011 at 7:54

GoogleCodeExporter commented 9 years ago

Original comment by bwsamuels@gmail.com on 4 Dec 2011 at 3:52

GoogleCodeExporter commented 9 years ago
Until a valid examples of this issue is presented and testing has shown no 
issues, this will be closed until re-occurrence.

Brad

Original comment by bwsamuels@gmail.com on 28 Jan 2012 at 2:57