cloudy

Author Topic: Next consolewd version  (Read 2073 times)

0 Members and 1 Guest are viewing this topic.

Offline wgcampbell

  • Posts: 51
  • Cripple Creek, CO
Re: Next consolewd version
« Reply #15 on: March 06, 2009, 03:10:15 AM »
No - wasn't trying to be funny - sorry if you took me wrong.

Actually if someone wants one line only log files, can't they use the wxlocal.html -> wx.html option?  It doesn't appear that the wxlocal.html file has to be a properly (formatted) structured html file.
Geoff
Colorado Springs, CO USA
WeatherUnderground: KCOCOLOR100 & KCOCRIPP2

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #16 on: March 06, 2009, 05:59:47 AM »
yes, they could

another thing that would probably need to be optional
did you need the file to be date stamped, so that it restarts with a new month?

Offline wgcampbell

  • Posts: 51
  • Cripple Creek, CO
Re: Next consolewd version
« Reply #17 on: March 06, 2009, 02:36:14 PM »
No, I wouldn't need the date stamp - logrotate takes care of that, is very simple to use, and offers many options.
Geoff
Colorado Springs, CO USA
WeatherUnderground: KCOCOLOR100 & KCOCRIPP2

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #18 on: March 08, 2009, 07:53:01 PM »
i will see if i can get an update out today with the ability to create a appended custom logfile

also I am going to investigate the possibilty of creating jpg image graphs,like the full version, by dyncamicly creating them in memory...

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #19 on: March 08, 2009, 09:30:59 PM »
new update ready
from the download page
or
http://www.weather-display.com/downloadfiles/consolewd.tar.gz
see the options added to the config.txt to create a custom log

Offline wgcampbell

  • Posts: 51
  • Cripple Creek, CO
Re: Next consolewd version
« Reply #20 on: March 09, 2009, 05:51:46 PM »
First, thanks for providing this option.

I downloaded the new file.  I see two options in the config.txt file:

Code: [Select]
custom log out=/home/geoff/wdisplay/customlogout.txt
do custom log=Y

...and now have a new "consolewd" executable.

I have a customlog.txt file (in my wdisplay directory) that reads:

Code: [Select]
%date%,%time%,%bara%,%temp%,%hum%,%indoortemp%,%indoorhum%
Running GoWDconsole.sh does confirm "will update custom log" and confirms the "custom log out" file.  But I'm not getting a custom log out file any where that I can find.  Am I missing another related option in the config.txt file?
Geoff
Colorado Springs, CO USA
WeatherUnderground: KCOCOLOR100 & KCOCRIPP2

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #21 on: March 09, 2009, 05:55:56 PM »
I guess I should actualy test, rather than just assume the code will work.....will test today...

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #22 on: March 10, 2009, 01:28:50 AM »
i found out the problem
a flag that was being reset

new vers 5.8 ready now

also for where you set the custom logfile file name, just have the file name to use after the =
i.e remove the // and the words after that

I also have improved the Davis VP syncing....applying that to the full QT version now too

Offline wgcampbell

  • Posts: 51
  • Cripple Creek, CO
Re: Next consolewd version
« Reply #23 on: March 10, 2009, 02:54:11 AM »
OK, it looks like I'm getting close.  It says "updating custom log now", but I get no log file.  And yes, I did get rid of the comments after "custom log out="  .  The "custom log out" file (if created) would be located in the "wdisplay" directory - nothing unusual.  Other things seem to work -  "clientrawdaily.txt" and "clientrawextra.txt" seem to be getting updated.  Interestingly though, wxlocal.html option doesn't create a wx.html file either, and it seems like I had this working before.

???
Geoff
Colorado Springs, CO USA
WeatherUnderground: KCOCOLOR100 & KCOCRIPP2

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #24 on: March 10, 2009, 02:57:53 AM »
the custom log is working OK for me
in testing here
make sure that the filename you set after the = then also has no spaces after it
I had not tested the wxlocal.html -> wx.html, but I will test that is still working

Offline wgcampbell

  • Posts: 51
  • Cripple Creek, CO
Re: Next consolewd version
« Reply #25 on: March 10, 2009, 03:20:34 AM »
OK - now it's working.  Had the full path before for the (custom log) file name - looks like that was the problem.  wxlocal.html still doesn't seem to be working, although that's not something I am going to use.

Thanks...
Geoff
Colorado Springs, CO USA
WeatherUnderground: KCOCOLOR100 & KCOCRIPP2

Offline Weather Display

  • Posts: 64,430
Re: Next consolewd version
« Reply #26 on: March 10, 2009, 03:41:02 AM »
just realised you will need to set
Use this filename instead of wx.html=

in the config.txt file