Thanks for the replies,

When i stop weewx using 'sudo service weewx stop' and then i run 'sudo 
rtl_433 -M utc -F json' this is what i get:

rtl_433 version 20.02-55-gc1d1f9f branch master at 202005162227 inputs file 
rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 124 out of 152 device decoding protocols [ 1-4 8 11-12 15-17 
19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 
130-149 151-152 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49, 
"id" : 2570, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic" 
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49, 
"id" : 2570, "channel" : "A", "sequence_num" : 1, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic" 
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:35", "model" : "Acurite-5n1", "subtype" : 49, 
"id" : 2570, "channel" : "A", "sequence_num" : 2, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "wind_dir_deg" : 112.500, "rain_in" : 2.700, "mic" 
: "CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56, 
"id" : 2570, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" : 
"CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56, 
"id" : 2570, "channel" : "A", "sequence_num" : 1, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" : 
"CHECKSUM"}
{"time" : "2020-05-18 03:47:53", "model" : "Acurite-5n1", "subtype" : 56, 
"id" : 2570, "channel" : "A", "sequence_num" : 2, "battery_ok" : 1, 
"wind_avg_km_h" : 3.483, "temperature_F" : 91.400, "humidity" : 40, "mic" : 
"CHECKSUM"}
(this just continues)
***

Then i ctrl-C that process and run 'sudo service weewx start' and i get:

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Mon 2020-05-18 07:56:45 +04; 7s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5891 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)
    Tasks: 9 (limit: 1599)
   Memory: 13.5M
   CGroup: /system.slice/weewx.service
           ├─5908 python2 /usr/share/weewx/weewxd --daemon 
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
           ├─5912 sudo rtl_433 -M utc -F json
           └─5919 rtl_433 -M utc -F json

May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: 
Platform Linux-4.19.97-v7l+-armv7l-with-debian-10.4
May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: 
Locale is 'en_US.UTF-8'
May 18 07:56:45 raspberrypi python2[5904]: weewx[5904] INFO __main__: PID 
file is /var/run/weewx.pid
May 18 07:56:45 raspberrypi python2[5908]: weewx[5908] INFO __main__: Using 
configuration file /etc/weewx/weewx.conf
May 18 07:56:45 raspberrypi weewx[5891]: Starting weewx weather system: 
weewx.
May 18 07:56:45 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 18 07:56:45 raspberrypi sudo[5912]:     root : TTY=unknown ; PWD=/ ; 
USER=root ; COMMAND=/usr/local/bin/rtl_433 -M utc -F
May 18 07:56:45 raspberrypi sudo[5912]: pam_unix(sudo:session): session 
opened for user root by (uid=0)
May 18 07:56:45 raspberrypi weewxd[5908]: restx: WindGuru: service version 
is 0.1
May 18 07:56:45 raspberrypi weewxd[5908]: restx: WindGuru: Data will be 
uploaded for 10002
(this is where it ends, even 10min later, nothing new here)
***

again i stopped weewx and i ran it directly from the command line using 
'/usr/share/weewx/weewxd /etc/weewx/weewx.conf'
i don't know what should happen, but when i do it, this is how the terminal 
window looks: 
https://www.dropbox.com/s/8bmfm45snnbsxut/screenshot_01.png?dl=0

You can see a much shorter log below (sorry about before). You will notice 
at the beginning of the log when it is publishing, that was when it was in 
'Simulator' mode. Then i changed it back to 'SDR' mode.
https://www.dropbox.com/s/kjcprl1vounl7og/weewx_04.log?dl=0

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/40b43fa4-71d8-4f82-a5a1-fa764e7db7d8%40googlegroups.com.

Reply via email to