Page 1 of 1

Plugin fuer ws2500 und meteohub !

Posted: Fri Oct 02, 2009 6:22 pm
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]

Re:Plugin fuer ws2500 und meteohub !

Posted: Sat Oct 03, 2009 9:43 am
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?

Re:Plugin fuer ws2500 und meteohub !

Posted: Sun Oct 04, 2009 11:06 am
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 .

Re:Plugin fuer ws2500 und meteohub !

Posted: Sun Oct 04, 2009 11:29 am
by admin
Thank you very much for the explanation and for providing that code.

Re: Plugin fuer ws2500 und meteohub !

Posted: Sat Oct 30, 2010 5:23 pm
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