===== USB-WDE1-2 =====
==== Info ====
[[https://de.elv.com/elv-usb-wetterdaten-empfaenger-usb-wde1-2-104656?fs=1640358625|ELV-Shop -> USB-WDE]]
==== Installation ====
On the Pi you simply need to activate the drivers. Check if it is already activated with lsmod | grep cp210x
You should now see nothing or else it might already be activated.
Insert "//cp210x//" into "///etc/modules//" and execute "//modprobe cp210x//".\\
After a reboot you should be able to see the WDE listed with "//dmesg//"
lunetikk@weather:~# dmesg | grep WDE
[ 45.750999] usb 1-1.3: Product: ELV USB-WDE1 Wetterdatenempf\xffffffc3\xffffffa4nger
With the Software "Socat" you can do a testrun to check if your WDE finds your device and receives data.
sudo apt-get install socat
sudo socat /dev/ttyUSB0,b9600 STDOUT
Output:
$1;1;;25,8;53,2;;;28,1;;;;53;;;;53;;;;;;;;;0
$1;1;;25,8;53,2;;;28,0;;;;53;;;;51;;;;;;;;;0
==== Automatically write files ====
Check my scriptsite [[linux:raspberry:wde:scripts:reader|Socatreader]]
==== Create graphs ====
Good explained right here: [[http://www.kompf.de/weather/technik.html|Kompf(german)]]
==== Troubleshooting ====
**Raspberry doesnt boot**\\ \\
Remove the USB-WDE and plug it in after the boot is done.
\\
\\
~~DISCUSSION:closed~~