Meteohub for Raspberry PI - first version for testing

What's hot...

Moderator: Mattk

Post Reply
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5426
Joined: Mon Oct 01, 2007 10:51 pm

Meteohub for Raspberry PI - first version for testing

Post by admin » Wed May 07, 2014 9:06 pm

As may users and potential Meteohub users have asked me for a port to the Raspberry PI, I finally couldn't resist and did the port.
You find the SD card image and an instruction how to do it at this link http://wiki.meteohub.de/Setup_RPI

Please be aware that this is still alpha. So don't be surprised when you find bugs, but please report in this thread to help me cleaning this new distribution up. During initial boot the Meteohub sets up the data partition in a way to make use of the full SD card capacity. As a result there is only one image available that adapts automatically on your system. Please allow initial boot to take 5 minutes as this adaption takes time and also includes a complete reboot which is not too fast on an RPI.
rpi.jpg
rpi.jpg (192.07 KiB) Viewed 5721 times
Picture above shows a RPI with a Logilink WLAN dongle (RTL chipset) and a Meteostick to read data from several Davis Vantage ISS in parallel.
sensors.png
sensors.png (109.92 KiB) Viewed 5721 times

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 392
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by wvdkuil » Wed May 07, 2014 9:29 pm

Congratulations, very good extension of the possible platforms.
:D
Wim

User avatar
assenzuid
Expert Boarder
Expert Boarder
Posts: 92
Joined: Sat May 03, 2014 10:15 pm
Location: The Netherlands
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by assenzuid » Wed May 07, 2014 9:39 pm

Sounds promising. :)

I will test it certainly. I just purchased a Meteobridge license. Is it possible when I decide to use Meteohub for Raspberry to transfer the license?

Kind regards
M

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

Re: Meteohub for Raspberry PI - first version for testing

Post by admin » Wed May 07, 2014 11:06 pm

Meteohub licenses can be migrated between platforms (only iconnect platform license was a separate thing, priced higher as there was a tremendous porting effort). There is an online tool to do the migration, but in many cases I had to assist as old system IDs or activation codes were lost. That allowed the Meteohub users since 2007 to keep their HW recent and to get tons of updates without any additional SW costs.

Meteobridge licenses can be migrated between Meteobridge platforms for free. There is no tool for that, you have to contact info(at)meteobridge.com.

Changing licenses between products Meteohub and Meteobridge is not provided, even when they are priced the same at the moment.

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 392
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by wvdkuil » Thu May 08, 2014 11:34 am

First test with a meteostick and raspberryPI/Meteohub look good.

Meteohub 4.9z(Build 14)

Missing information on System Information page compared to other Meteohub implementations: Media: TS4GCF300 20110615 (401.16 rounds)
If possible that should be available for the raspberryPI implementation also.
SD cards are normally not built to be used as a storage device but as a "'write-once - leave forever" medium for camara's. They are prone to fail after a few rounds.
And it is becoming very difficult (and costly) to find SD cards built with SLC.

Question: For another weatherprogram we developed a procedure to use an USB storage medium. So booting from a standard raspbian sd card and then switching to an USB disk. Which, in theory, should fail after a far longer period than the average SD card. Do you think we can use that procedure here also?

Wim

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 392
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by wvdkuil » Thu May 08, 2014 12:22 pm

Meteohub 4.9z(Build 14) latest version available

FTP does not work:
Although the message for the FTP test-upload reads:
Test file "meteohub-upload.test" has been uploaded.
there is no data arriving at the website folder.

I tried my own files and the all sensors file.
The " Store local copy in "/public/myweb/uploads/" " works OK for my own file.
The all sensors file does not arrive in myweb/uploads.
EDIT
After reboot:
FTP the "meteohub-upload.test" is not uploaded, the normal file arrives on shcedule.

Wim

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

Re: Meteohub for Raspberry PI - first version for testing

Post by admin » Thu May 08, 2014 11:06 pm

Wim, thanks for testing.
1. Media information (rounds) will be added with next update. Good finding!
2. is FTP working or not? Your post sounds like it doesn't work on first try but did after reboot.

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 392
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by wvdkuil » Fri May 09, 2014 7:59 am

admin wrote:Wim, thanks for testing.
1. Media information (rounds) will be added with next update. Good finding!
2. is FTP working or not? Your post sounds like it doesn't work on first try but did after reboot.
The test file is not uploaded although the message on top tells differently.
Normal files are uploaded OK.

The whole reason for the test file is to test if the ftp settings are correct. So one would search for a reason why the file does not arrives when in reality the ftp settings are correct. Only because I also set other uploads I found out thet the FTP did work, but not for the testfile.

Wim

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

Re: Meteohub for Raspberry PI - first version for testing

Post by admin » Fri May 09, 2014 11:07 am

On my RPI the file "meteohub-upload.test" is uploaded correctly when I press the "save & test" button. It has a time stamp from 2009 as the file was originally created in 2009 and does not get touched when uploading. May be you interpreted that old date as "no upload"?

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 392
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by wvdkuil » Fri May 09, 2014 12:40 pm

admin wrote:On my RPI the file "meteohub-upload.test" is uploaded correctly when I press the "save & test" button. It has a time stamp from 2009 as the file was originally created in 2009 and does not get touched when uploading. May be you interpreted that old date as "no upload"?
Sorry for this, you are extremly right, as always.
I thought it was an old file.

Well not many persons will have multiple Meteohub devices uploading to the same website folder.
But you know that all those older NSLU2 devices and so on have to be replaced in the near future.
Probably by rapsberryPI's.

So to be sure, is it possible to introduce a kind of "touch" before sending that file?
Than every time you send it, it has a different timestamp, so one sees the changes.
Normally I put my FTP listings in newest-to-oldest sequence.
Would never have expected to have to set them in alphabetical order to see the file arrive.

Wim

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

Re: Meteohub for Raspberry PI - first version for testing

Post by admin » Fri May 09, 2014 4:13 pm

good point, will be part of the next update.

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 392
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Meteohub for Raspberry PI - first version for testing

Post by wvdkuil » Sat May 10, 2014 9:19 am

Testing with the Meteohub / raspberryPI works fine. One minor problem is that after a night rest the rapsberryPi (fixed IP 192.168.0.39) does NOT appear in the networks scan.
It is accesible by the browser. After doing that, it appears in the scans again ("Replied to ping in: 145ms").

I found in the logs some "strange for me" entries so I attached a zip-copy of parts of the two logs involded.
I just wonder were all those entries come from

Code: Select all

logger (10.05.2014 01:35:21): child process received timeout signal (14).
logger (10.05.2014 01:35:22): data logger stopped.
logger (10.05.2014 01:35:22): data logger (version 4.9z, build 14) started.

Again thanks for bringing Meteohub to the raspberryPI platform.

Wim
Attachments
Archief.zip
(5.66 KiB) Downloaded 169 times

Bahni
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Feb 07, 2014 5:46 pm

Re: Meteohub for Raspberry PI - first version for testing

Post by Bahni » Wed May 14, 2014 4:02 pm

Hallo Boris,
vielen dank für das neue RPI Image.
Habe es seit gestern auf einen RPI laufen.
Als Wetterstation hängt die WS 300 PCII von ELV dran.
8GB SD-Karte.
Bis jetzt läuft alles einwandfrei.
Auch der FTP Upload funktioniert.
Was mir aufgefallen ist, beim Image auf SD-Karte schreiben, akzeptiert das Tool "ImageWriter" nur *.raw Files.
Man muss also das Image von *.img nach *raw umbenennen.
Gruß Bahni

Meteohub
Raspberry Pi 2
ELV WS 300 PC mit KS300
ELV (Velleman) WS 3080
NAS-QNAP TS-209 PRO II

Post Reply