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]
Plugin fuer ws2500 und meteohub !
Moderator: Mattk
Re:Plugin fuer ws2500 und meteohub !
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?
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 !
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 .
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 !
Thank you very much for the explanation and for providing that code.
Re: Plugin fuer ws2500 und meteohub !
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
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