Plugin fuer ws2500 und meteohub !

Moderator: Mattk

Post Reply
greeny
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Fri Sep 11, 2009 3:53 pm

Plugin fuer ws2500 und meteohub !

Post by greeny »

Hallo,
ich habe einen plugin fuer die ws2500 gebastelt,
damit die Station an Meteohub funktioniert :

hierfuer ist das ws2500 paket von

http://www.uni-koblenz.de/~krienke/ftp/unix/ws2500/

downzuloaden .

Dann folgenden angehängten patch auf ws2500.c anwenden und

das shellskript fuer den plugin :

#/bin/sh

while [ 1 == 1 ]
do
/home/ttt/ws2500 -n -p /dev/ttyUSB1 >>/home/ttt/DATA
tail -n8 /home/ttt/DATA
sleep 60
done

anlegen.
der Name des shell skriptes ist dann als plugin name einzutragen .
Pfadnamen entsprechend anpassen . [file name=patchws2500.zip size=1492]http://www.meteohub.de/joomla/images/fb ... ws2500.zip[/file]
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Plugin fuer ws2500 und meteohub !

Post by admin »

Thanks for your contribution, making ws2500 a Meteohub supported station.

Do your changes to the code assume a certain sensor configuration or should it work with all kinds of ws2500 setups without need of a code adaption?
greeny
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: Fri Sep 11, 2009 3:53 pm

Re:Plugin fuer ws2500 und meteohub !

Post by greeny »

At the moment it should work with most configurations the only sensor wich is not included is the pyranometer because I dont have one.
But if someone needs help for this sensor, write a message, it should be easily done .
And remember to change to lines of output of the tail command in the shell skript to match your count of sensors (n8 -> nx) .
regards .
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Plugin fuer ws2500 und meteohub !

Post by admin »

Thank you very much for the explanation and for providing that code.
fachik
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Sat Oct 30, 2010 10:06 am

Re: Plugin fuer ws2500 und meteohub !

Post by fachik »

Hi,

Unfortunately, I come with the instructions for the plug-in for the deal not as WS2500 Linux beginners. Does anyone have detailed instructions for me? (Where what must be saved, etc.)

Thank you
-------------------
Hallo,

leider komme ich mit der Anleitung für das Plug-In für die WS2500 als blutiger Linuxanfänger nicht zurecht. Hat jemand eine ausführlichere Anleitung für mich? (wo muss was gespeichert werden, etc.)

Vielen Dank

Ronny
Post Reply