I just added a plug-in weather station. the script I wrote prints the following:
thb5 0 0 1017.66 followed by a LF character
That should be according to the standards for a thb sensor. 0°C 0% and 1017.66mbar
When the script is run, exactly one such line is printed.
I copied the script to /usr/sbin/baros.sh and added +x in order to make it executeable.
The 2nd weather station itself is named "barostation"
Plug-n
300sec
0m
When I now look at the sensor data, no sensor appears at "barostation".
What's wrong? Thanks

The log file says:
Code: Select all
logger (20.10.2015 20:49:22): connect station 1 (Plug-in via Plug-in).
logger (20.10.2015 20:49:22): station 1 (Plug-in), unexpected 0 bytes.
logger (20.10.2015 20:49:22): disconnect station 1 (Plug-in): response without data