New installation

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
Gilbert
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Tue Jan 15, 2008 5:00 pm
Location: Villeurbanne (FRANCE)

New installation

Post by Gilbert »

Hi !
i'm french and yesterday i installed the Meteohub solution in order to log datas of my new WMR928 B)
It's a very useful and cheap solution to have a datalogger which cruelly miss the WMR !
So, i installed everything and all gone well.
Datas are logged properly and i made some graphs.
I have a permanent internet connection at home, and the NSL is connected to my LAN.
I set the mail notification and it works well.
I also set the FTP upload and i received the test file :)
I wanted to schedule a FTP upload of my graph but i have a problem :(
When i click on the \"save\" button, i have the hourglass indefinitely...
CRON used : */* 1 * * *
File name : graph.png
I don't understand.
I'm using the last software (1.7), in demo mode at the moment (i will certainly purchase)

Last question : which are the differences between the demo version and full version ? (exhaustive list, please...)

Thanks a lot.
A french customer.

Gilbert
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re:New installation

Post by admin »

Hi,
welcome to the board.

your cron schedule is not correct. To update every miniute you must say \"*/1 * * * *\". I strongly recommend noz to update graphs more often than every 5 minutes (*/5 * * * *), because

1) FTP-Upload is scheduled every 5 minutes, so you don't get an advantgae by generating these every minute.

2) NSLU2 has heavy to work on graph generation via gnuplot. if scheduled too often this might stall the unit when having too much graphs... it is not a full pc, just a small tiny appliance. B)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re:New installation

Post by admin »

... according to the license:

at the moment there is no free license for unlimited use in time. the evaluation license is limited in functionality (# of graphs, 3 hour upload interval to weather networks) and will not work beyond 15.2.2008 (actual policy).

after having tested the stuff, you should decide to drop it or to get a license.
Gilbert
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Tue Jan 15, 2008 5:00 pm
Location: Villeurbanne (FRANCE)

Re:New installation

Post by Gilbert »

admin wrote:Hi,
your cron schedule is not correct. To update every miniute you must say "*/1 * * * *". I strongly recommend noz to update graphs more often than every 5 minutes (*/5 * * * *)
i want to update every hour, that's why i write this cron :
*/* 1 * * *

the second position is for the hour, right ?

I will certainly buy a licence though, since it is a great software ;)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re:New installation

Post by admin »

Hi,
nearly....

1) (*/n * * * *) means every \"n-th minute\".

2) any */* is undefined, has no meaning, dont use this

3) (0 * * * *) means \"every timestamp that has zero-minute\" like 3:00, 4:00, etc. So this mean \"every full hour\". it is identical to (0 */1 * * *).

4) (29 */2 * * *) means \"every second hour\" (0, 2, 4, ...) when minute is 29. As result schedule will be 0:29, 2:29, ...

I hope this explains the magic of cron a bit.
Gilbert
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Tue Jan 15, 2008 5:00 pm
Location: Villeurbanne (FRANCE)

Re:New installation

Post by Gilbert »

Thanks a lot for the lesson ;)
Post Reply