bwssytems / domuslink

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

Error when uploading heyu scenes to the controller. #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install heyu with default setup
2. INstall domus.Link with default setup
3. Create timer and a macro
4. Go to Events -> Upload

What is the expected output?

Sucess :) 

What do you see instead?

 Exec: heyu upload
exception 'Exception' with message 'LATITUDE and/or LONGITUDE not specified in 
/usr/local/etc/heyu/x10config' in /var/www/lib/func/cmd.func.php:286 Stack 
trace: #0 /var/www/events/upload.php(54): heyu_upload() #1 {main}

What version of Heyu and domus.Link are you using? On what operating
system?
heyu 2.11-rc1
domus.Link 2.1.2 

Config (x10.conf)
tty /dev/ttyUSB0
housecode A
ALIAS Arbre A8 AM12
alias Estrella A9 LM12
alias Persiana_baixa A1 SW10
alias Persiana_dalt A5 LW10U

Config (x10.sched)
timer smtwtfs 02/01-12/12 18:00 23:30 nadon nadoff
macro nadon 0 on a8,9
macro nadoff 0 off a8,9

Original issue reported on code.google.com by ASeq...@gmail.com on 16 Dec 2012 at 9:59

GoogleCodeExporter commented 9 years ago
Heyu is giving you an error message through domus interface. You'll need to add 
LATITUDE and/or LONGITUDE to the x10.conf file. This is a requirement of heyu 
as you are using timers and the heyu requires this to calculate times.

Brad

Original comment by bwsamuels@gmail.com on 20 Dec 2012 at 2:19

GoogleCodeExporter commented 9 years ago
Ah, ok, but prior doing the upload of the config, could a check be done to see 
if the values for  LATITUDE/LONGITUDE are set?

Original comment by ASeq...@gmail.com on 20 Dec 2012 at 10:47

GoogleCodeExporter commented 9 years ago
Since heyu does all that validation, we won't be implementing it into domus. 
That's why there are the error message reporting.

Brad

Original comment by bwsamuels@gmail.com on 21 Dec 2012 at 12:44