I have a pretty common problem with disconnecting the TFA NEXUS weather station that I have connected via USB. In the past, nothing like that was done.
It's been since I switched to RPI 3 and used the second data import via plug-in using stdout.
METEOHUB log:
ogger (30.10.2018 09:39:50): connect station 1 (Plug-in via Plug-in).
logger (30.10.2018 09:39:55): station 1 (Plug-in), unexpected 0 bytes.
logger (30.10.2018 09:39:56): disconnect station 1 (Plug-in): response without data
logger (30.10.2018 09:40:26): connect station 1 (Plug-in via Plug-in).
logger (30.10.2018 09:40:31): station 1 (Plug-in), unexpected 0 bytes.
logger (30.10.2018 09:40:32): disconnect station 1 (Plug-in): response without data
logger (30.10.2018 09:41:02): connect station 1 (Plug-in via Plug-in).
logger (30.10.2018 09:41:02): child process received termination signal (11) in functions: termination_handler < gen_PLUGINLISTFILE < add_plugin < first_str < init_serial < test_inetupl...
logger (30.10.2018 09:41:02): disconnect station 0 (TE-923): exit
logger (30.10.2018 09:41:02): disconnect station 1 (Plug-in): exit
logger (30.10.2018 09:41:03): data logger stopped.
logger (30.10.2018 09:41:03): data logger (version 5.1, build 240) started.
logger (30.10.2018 09:41:04): connect station 0 (TE-923 via USB HID).
logger (30.10.2018 09:41:04): connect station 1 (Plug-in via Plug-in).
logger (30.10.2018 09:41:05): station 0 (TE-923), hardware version 4.
logger (30.10.2018 09:41:10): station 1 (Plug-in), unexpected 0 bytes.
logger (30.10.2018 09:41:10): disconnect station 1 (Plug-in): response without data
logger (30.10.2018 09:41:40): connect station 1 (Plug-in via Plug-in).
logger (30.10.2018 09:41:46): station 1 (Plug-in), unexpected 0 bytes.
logger (30.10.2018 09:41:46): disconnect station 1 (Plug-in): response without data
My script is /data/plugin/raspberry.sh
#!/bin/bash
wget -q -O - 'http://www.example.com/meteohub_import.php' > /dev/stdout
sync
sleep 5
Disconnect station
Moderator: Mattk
- Napajedlaci.cz
- Senior Boarder
- Posts: 47
- Joined: Fri Jul 30, 2010 1:10 pm
- Location: Czech republic, Zlin
- Contact:
Disconnect station
Napajedlaci.cz is very good weather station in Czech republic neer town Zlin.