[weewx-user] Re: Anyone successfully running weewx with weewx-sdr?

2024-03-02 Thread Charlie T
OK...well that's strange.  */var/log/syslog* is NOT updating.  Even with a 
"chmod 777 syslog"...still no updates to syslog.

-Charlie


On Saturday, March 2, 2024 at 9:57:05 AM UTC-6 Tom Keffer wrote:

> You should check /var/log/syslog, not /var/log/messages. The latter 
> usually does not include debug messages.)
>
> This is almost surely a permissions problem. There are many threads on 
> this topic. For example, this one 
> <https://groups.google.com/g/weewx-user/c/5BuR3BSQfeY>. In that case, 
> adding user weewx to group "plugdev" solved the problem:
>
> *sudo usermod -aG plugdev weewx*
>
>
> Also, see  the wiki article *Understanding permissions 
> <https://github.com/weewx/weewx/wiki/Understanding-permissions>*. Pay 
> particular attention to the section *How to fix device permissions 
> <https://github.com/weewx/weewx/wiki/Understanding-permissions#how-to-fix-device-permissions>.*
>
>
> On Saturday, March 2, 2024 at 7:55:04 AM UTC-8 an oldman wrote:
>
>> yes
>> fedora 36
>> *WeeWX version: 5.0.2*
>> *Seasons version: 5.0.2*
>> *Python version: 3.10.11*
>> had to add weewx user to rtlsdr group so weewx could use it
>>
>> On Saturday, March 2, 2024 at 9:42:14 AM UTC-6 Charlie T wrote:
>>
>>> I have a mystery problem.*weewx *runs fine in simulator mode and 
>>> updates the html file regularly.  When I switch to using *weewx-sdr* I 
>>> can see weewx call rtl_433 but the html file stops updating.  No errors 
>>> posted in the *messages *file as shown below.  I'm thinking this is a 
>>> configuration issuesomewhere?
>>>
>>> /var/log/messages:
>>>
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Initializing 
>>> weewxd version 5.0.2
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Command line: 
>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Using Python 
>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Located at 
>>> /usr/bin/python3
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Platform 
>>> Linux-6.1.21-v7+-armv7l-with-glibc2.31
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Locale: 
>>> 'en_US.UTF-8'
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Entry path: 
>>> /usr/share/weewx/weewxd.py
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: WEEWX_ROOT: 
>>> /etc/weewx
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Configuration 
>>> file: /etc/weewx/weewx.conf
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: User module: 
>>> /etc/weewx/bin/user
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Debug: 1
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Loading 
>>> station type SDR (user.sdr)
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: driver version 
>>> is 0.87
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: model is SDR
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: sensor map is 
>>> {}
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: deltas is 
>>> {'rain': 'rain_total', 'strikes': 'strikes_total'}
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: startup 
>>> process 'rtl_433 -M utc -F json -R 40'
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: StdConvert 
>>> target unit is 0x1
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.wxservices: 
>>> StdWXCalculate will use data binding wx_binding
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Archive 
>>> will use data binding wx_binding
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Record 
>>> generation will be attempted in 'hardware'
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Using 
>>> archive interval of 300 seconds (specified in weewx configuration)
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: 
>>> StationRegistry: Registration not requested.
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: 
>>> Wunderground: Posting not enabled.
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: PWSweather: 
>>> Posting not enabled.
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: CWOP: 
>>> Posting not enabled.
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: WOW: 
>>> Posting not enabled.
>>> Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: AWEKAS: 
>>> Posting not enabled.
>>> pi@raspberrypi:/var/log $ 
>>>
>>>
>>>
>>>

-- 
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/13f63ab8-ad86-4ad3-ba09-56557d3e3ddcn%40googlegroups.com.


[weewx-user] Anyone successfully running weewx with weewx-sdr?

2024-03-02 Thread Charlie T
I have a mystery problem.*weewx *runs fine in simulator mode and 
updates the html file regularly.  When I switch to using *weewx-sdr* I can 
see weewx call rtl_433 but the html file stops updating.  No errors posted 
in the *messages *file as shown below.  I'm thinking this is a 
configuration issuesomewhere?

/var/log/messages:

Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Initializing 
weewxd version 5.0.2
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Using Python 
3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Located at 
/usr/bin/python3
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Platform 
Linux-6.1.21-v7+-armv7l-with-glibc2.31
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Locale: 
'en_US.UTF-8'
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: WEEWX_ROOT: 
/etc/weewx
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Configuration 
file: /etc/weewx/weewx.conf
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: User module: 
/etc/weewx/bin/user
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO __main__: Debug: 1
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Loading 
station type SDR (user.sdr)
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: driver version is 
0.87
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: model is SDR
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: sensor map is {}
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: deltas is 
{'rain': 'rain_total', 'strikes': 'strikes_total'}
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO user.sdr: startup process 
'rtl_433 -M utc -F json -R 40'
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: StdConvert 
target unit is 0x1
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.wxservices: 
StdWXCalculate will use data binding wx_binding
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Archive will 
use data binding wx_binding
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Record 
generation will be attempted in 'hardware'
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.engine: Using archive 
interval of 300 seconds (specified in weewx configuration)
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: 
StationRegistry: Registration not requested.
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: Wunderground: 
Posting not enabled.
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: PWSweather: 
Posting not enabled.
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: CWOP: Posting 
not enabled.
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: WOW: Posting 
not enabled.
Mar  2 09:40:25 raspberrypi weewxd[21061]: INFO weewx.restx: AWEKAS: 
Posting not enabled.
pi@raspberrypi:/var/log $ 



-- 
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/0c5c7422-5459-4bc1-a210-12790a844dddn%40googlegroups.com.


Re: [weewx-user] CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is not running

2024-03-01 Thread Charlie T

Ok I will follow up on that. 
-CT

On Sunday, February 25, 2024 at 10:32:05 AM UTC-6 Pierre-Yves wrote:

> Hello Charlie,
>
> Don't you have in weewx.conf ,[sdr] section, a "sudo" at the beginning of 
> your rtl_433 command line ? If yes, try to remove it.
>
> That fixed the problem in my case
>
> Pierre-Yves
>
> Le dimanche 25 février 2024 à 16:20:30 UTC+1, Tom Keffer a écrit :
>
>> I'm not seeing the log. Just the status output from systemctl.
>>
>> There are many threads about this error in weewx-user. Here's one 
>> <https://groups.google.com/g/weewx-user/c/5BuR3BSQfeY/m/liOVdD2xAAAJ>. 
>> Try the suggestions in that thread.
>>
>>
>>
>> On Sun, Feb 25, 2024 at 6:27 AM Charlie T  wrote:
>>
>>> *Here's the log...what am I doing wrong?*
>>>
>>> ● weewx.service - WeeWX
>>>  Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor 
>>> preset: enabled)
>>>  Active: active (running) since Sun 2024-02-25 07:21:25 CST; 54min 
>>> ago
>>>Docs: https://weewx.com/docs
>>>Main PID: 505 (python3)
>>>   Tasks: 1 (limit: 1595)
>>> CPU: 3min 44.239s
>>>  CGroup: /system.slice/weewx.service
>>>  └─505 python3 /usr/share/weewx/weewxd.py 
>>> /etc/weewx/weewx.conf
>>>
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
>>> iter(self._fd.readline, ''):
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
>>> PyMemoryView_FromBuffer(): info->buf must not be NULL
>>> Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
>>> "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: self.run()
>>> Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
>>> "/etc/weewx/bin/user/sdr.py", line 198, in run
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
>>> iter(self._fd.readline, ''):
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
>>> PyMemoryView_FromBuffer(): info->buf must not be NULL
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: INFO user.sdr: shutdown complete
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: CRITICAL __main__: Caught 
>>> WeeWxIOError: rtl_433 process is not running
>>> Feb 25 08:15:07 raspberrypi weewxd[505]: CRITICAL __main__:  
>>>  Waiting 60.0 seconds then retrying...
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/435fd56e-0a1b-4c3d-a333-1eb108ef0432n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/435fd56e-0a1b-4c3d-a333-1eb108ef0432n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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/713abb3e-9ead-4001-a3f8-5dee02f25340n%40googlegroups.com.


[weewx-user] Trying to get rtl_433 to feed data to weewx

2024-02-29 Thread Charlie T
OK Noob progresswhen I start weewx with the command: *sudo systemctl 
start weewx *and then monitor with a *top* command I can see that weewx is 
running rtl_433.  But the .html file is not updating.  (When I run in 
simulator mode the .html file IS updating).

So it seems that *both *programs are running but something in one of the 
two programs (weewx and/or rtl_433) is not configured properly.

Any suggestions/tips/hints greatly appreciated.

Here's the output of the log file "messages" including my program 
termination:


Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Initializing 
weewxd version 5.0.2
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Using Python 
3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Located at 
/usr/bin/python3
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Platform 
Linux-6.1.21-v7+-armv7l-with-glibc2.31
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Locale: 
'en_US.UTF-8'
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: WEEWX_ROOT: 
/etc/weewx
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Configuration 
file: /etc/weewx/weewx.conf
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: User module: 
/etc/weewx/bin/user
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO __main__: Debug: 1
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO weewx.engine: Loading 
station type SDR (user.sdr)
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO user.sdr: driver version is 
0.87
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO user.sdr: model is SDR
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO user.sdr: sensor map is {}
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO user.sdr: deltas is 
{'rain': 'rain_total', 'strikes': 'strikes_total'}
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO user.sdr: startup process 
'rtl_433 -M utc -F json'
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO weewx.engine: StdConvert 
target unit is 0x1
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO weewx.wxservices: 
StdWXCalculate will use data binding wx_binding
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO weewx.engine: Archive will 
use data binding wx_binding
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO weewx.engine: Record 
generation will be attempted in 'hardware'
Feb 29 21:14:40 raspberrypi weewxd[16494]: INFO weewx.engine: Using archive 
interval of 300 seconds (specified in weewx configuration)
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.restx: 
StationRegistry: Registration not requested.
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.restx: Wunderground: 
Posting not enabled.
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.restx: PWSweather: 
Posting not enabled.
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.restx: CWOP: Posting 
not enabled.
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.restx: WOW: Posting 
not enabled.
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.restx: AWEKAS: 
Posting not enabled.
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.engine: 'pyephem' 
detected, extended almanac data is available
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO __main__: Starting up weewx 
version 5.0.2
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.manager: Starting 
backfill of daily summaries
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.manager: Daily 
summaries up to date
Feb 29 21:14:41 raspberrypi weewxd[16494]: INFO weewx.engine: Starting main 
packet loop.
Feb 29 21:16:37 raspberrypi weewxd[16494]: INFO __main__: Received signal 
TERM (15).
Feb 29 21:16:37 raspberrypi weewxd[16494]: INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Feb 29 21:16:37 raspberrypi weewxd[16494]: INFO user.sdr: shutdown process 
rtl_433 -M utc -F json
Feb 29 21:16:37 raspberrypi weewxd[16494]: INFO user.sdr: shutdown complete
Feb 29 21:16:37 raspberrypi weewxd[16494]: INFO __main__: Terminating weewx 
version 5.0.2


-- 
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/1adc8d1e-6001-45bc-8563-b8b1cf34df14n%40googlegroups.com.


Re: [weewx-user] CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is not running

2024-02-25 Thread Charlie T
*Here is the log file:*

eb 25 11:39:09 raspberrypi weewxd[3688]: INFO weewx.engine: Starting main 
packet loop.
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: rtl_433 version 
unknown inputs file rtl_tcp RTL-SDR SoapySDR
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Use -h for usage 
help and see https://triq.org/ for documentation.
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Trying conf file 
at "rtl_433.conf"...
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Trying conf file 
at "/var/lib/weewx/.config/rtl_433/rtl_433.conf"...
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Trying conf file 
at "/usr/local/etc/rtl_433/rtl_433.conf"...
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Trying conf file 
at "/etc/rtl_433/rtl_433.conf"...
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Registered 145 
out of 175 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-161 
163-168 170-175 ]
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: usb_open error -3
Feb 25 11:39:12 raspberrypi weewxd[3688]: ERROR user.sdr: Please fix the 
device permissions, e.g. by installing the udev rules file rtl-sdr.rules
Feb 25 11:39:12 raspberrypi weewxd[3688]: INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Feb 25 11:39:12 raspberrypi weewxd[3688]: INFO user.sdr: shutdown process 
rtl_433 -M utc -F json
Feb 25 11:39:12 raspberrypi weewxd[3688]: Exception in thread stdout-thread:
Feb 25 11:39:12 raspberrypi weewxd[3688]: Exception in thread stderr-thread:
Feb 25 11:39:12 raspberrypi weewxd[3688]: Traceback (most recent call last):
Feb 25 11:39:12 raspberrypi weewxd[3688]: Traceback (most recent call last):
Feb 25 11:39:12 raspberrypi weewxd[3688]:   File 
"/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Feb 25 11:39:12 raspberrypi weewxd[3688]:   File 
"/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Feb 25 11:39:12 raspberrypi weewxd[3688]: self.run()
Feb 25 11:39:12 raspberrypi weewxd[3688]:   File 
"/etc/weewx/bin/user/sdr.py", line 198, in run
Feb 25 11:39:12 raspberrypi weewxd[3688]: self.run()
Feb 25 11:39:12 raspberrypi weewxd[3688]:   File 
"/etc/weewx/bin/user/sdr.py", line 198, in run
Feb 25 11:39:12 raspberrypi weewxd[3688]: for line in 
iter(self._fd.readline, ''):
Feb 25 11:39:12 raspberrypi weewxd[3688]: for line in 
iter(self._fd.readline, ''):
Feb 25 11:39:12 raspberrypi weewxd[3688]: ValueError: 
PyMemoryView_FromBuffer(): info->buf must not be NULL
Feb 25 11:39:12 raspberrypi weewxd[3688]: ValueError: 
PyMemoryView_FromBuffer(): info->buf must not be NULL
Feb 25 11:39:12 raspberrypi weewxd[3688]: INFO user.sdr: shutdown complete
Feb 25 11:39:12 raspberrypi weewxd[3688]: CRITICAL __main__: Caught 
WeeWxIOError: rtl_433 process is not running
Feb 25 11:39:12 raspberrypi weewxd[3688]: CRITICAL __main__:  
 Waiting 60.0 seconds then retrying...


On Sunday, February 25, 2024 at 9:20:30 AM UTC-6 Tom Keffer wrote:

> I'm not seeing the log. Just the status output from systemctl.
>
> There are many threads about this error in weewx-user. Here's one 
> <https://groups.google.com/g/weewx-user/c/5BuR3BSQfeY/m/liOVdD2xAAAJ>. 
> Try the suggestions in that thread.
>
>
>
> On Sun, Feb 25, 2024 at 6:27 AM Charlie T  wrote:
>
>> *Here's the log...what am I doing wrong?*
>>
>> ● weewx.service - WeeWX
>>  Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor 
>> preset: enabled)
>>  Active: active (running) since Sun 2024-02-25 07:21:25 CST; 54min ago
>>Docs: https://weewx.com/docs
>>Main PID: 505 (python3)
>>   Tasks: 1 (limit: 1595)
>> CPU: 3min 44.239s
>>  CGroup: /system.slice/weewx.service
>>  └─505 python3 /usr/share/weewx/weewxd.py 
>> /etc/weewx/weewx.conf
>>
>> Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
>> iter(self._fd.readline, ''):
>> Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
>> PyMemoryView_FromBuffer(): info->buf must not be NULL
>> Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
>> "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
>> Feb 25 08:15:07 raspberrypi weewxd[505]: self.run()
>> Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
>> "/etc/weewx/bin/user/sdr.py", line 198, in run
>> Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
>> iter(self._fd.readline, ''):
>> Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
>> PyMemoryView_FromBuffer(): info->buf must not be NULL
>> Feb 25 08:15:07 raspberrypi weewxd[505]: INFO user.sdr: shutdown complete
>

[weewx-user] CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is not running

2024-02-25 Thread Charlie T
*Here's the log...what am I doing wrong?*

● weewx.service - WeeWX
 Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor 
preset: enabled)
 Active: active (running) since Sun 2024-02-25 07:21:25 CST; 54min ago
   Docs: https://weewx.com/docs
   Main PID: 505 (python3)
  Tasks: 1 (limit: 1595)
CPU: 3min 44.239s
 CGroup: /system.slice/weewx.service
 └─505 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf

Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
iter(self._fd.readline, ''):
Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
PyMemoryView_FromBuffer(): info->buf must not be NULL
Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
"/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Feb 25 08:15:07 raspberrypi weewxd[505]: self.run()
Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
"/etc/weewx/bin/user/sdr.py", line 198, in run
Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
iter(self._fd.readline, ''):
Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
PyMemoryView_FromBuffer(): info->buf must not be NULL
Feb 25 08:15:07 raspberrypi weewxd[505]: INFO user.sdr: shutdown complete
Feb 25 08:15:07 raspberrypi weewxd[505]: CRITICAL __main__: Caught 
WeeWxIOError: rtl_433 process is not running
Feb 25 08:15:07 raspberrypi weewxd[505]: CRITICAL __main__:  
 Waiting 60.0 seconds then retrying...

-- 
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/435fd56e-0a1b-4c3d-a333-1eb108ef0432n%40googlegroups.com.


[weewx-user] CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is not running

2024-02-25 Thread Charlie T
I'm having issues with weewx-sdr...any help appreciated

I can run rtl_433 manually and see my sensors out therebut when running 
weewx I get this error message:

root@raspberrypi:/etc/udev# systemctl status weewx
● weewx.service - WeeWX
 Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor 
preset: enabled)
 Active: active (running) since Sun 2024-02-25 07:21:25 CST; 54min ago
   Docs: https://weewx.com/docs
   Main PID: 505 (python3)
  Tasks: 1 (limit: 1595)
CPU: 3min 44.239s
 CGroup: /system.slice/weewx.service
 └─505 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf

Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
iter(self._fd.readline, ''):
Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
PyMemoryView_FromBuffer(): info->buf must not be NULL
Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
"/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Feb 25 08:15:07 raspberrypi weewxd[505]: self.run()
Feb 25 08:15:07 raspberrypi weewxd[505]:   File 
"/etc/weewx/bin/user/sdr.py", line 198, in run
Feb 25 08:15:07 raspberrypi weewxd[505]: for line in 
iter(self._fd.readline, ''):
Feb 25 08:15:07 raspberrypi weewxd[505]: ValueError: 
PyMemoryView_FromBuffer(): info->buf must not be NULL
Feb 25 08:15:07 raspberrypi weewxd[505]: INFO user.sdr: shutdown complete
Feb 25 08:15:07 raspberrypi weewxd[505]: CRITICAL __main__: Caught 
WeeWxIOError: rtl_433 process is not running
Feb 25 08:15:07 raspberrypi weewxd[505]: CRITICAL __main__:  
 Waiting 60.0 seconds then retrying...

-- 
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/8ec0ecfa-567a-4b7d-b899-c30d36645e28n%40googlegroups.com.


[weewx-user] Re: rtl_433 and Weewxd config problems!!

2018-12-30 Thread Charlie T
Got it workingsensor ID must be in hexadecimal...duh!  Don’t know how I 
missed that.

https://tinyurl.com/ya49un6f

-- 
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.
For more options, visit https://groups.google.com/d/optout.