Hi Matthew,
Thanks for the updated version 0.37, but I'm seeing a further problem
root@raspberrypi:/usr/share/weewx/user# /etc/init.d/weewx status
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
Active: active (exited) since Wed 2017-11-01 12:42:58 GMT; 18min ago
Docs: man:systemd-sysv-generator(8)
Process: 2810 ExecStop=/etc/init.d/weewx stop (code=exited,
status=0/SUCCESS)
Process: 2924 ExecStart=/etc/init.d/weewx start (code=exited,
status=0/SUCCESS)
Nov 01 12:42:58 raspberrypi weewx[2939]: **** File
"/usr/share/weewx/weewx/engine.py", line 865, in main
Nov 01 12:42:58 raspberrypi weewx[2939]: **** engine =
engine_class(config_dict)
Nov 01 12:42:58 raspberrypi weewx[2939]: **** File
"/usr/share/weewx/weewx/engine.py", line 71, in __init__
Nov 01 12:42:58 raspberrypi weewx[2939]: ****
self.setupStation(config_dict)
Nov 01 12:42:58 raspberrypi weewx[2939]: **** File
"/usr/share/weewx/weewx/engine.py", line 95, in setupStation
Nov 01 12:42:58 raspberrypi weewx[2939]: **** __import__(driver)
Nov 01 12:42:58 raspberrypi weewx[2939]: **** File
"/usr/share/weewx/user/sdr.py", line 1
Nov 01 12:42:58 raspberrypi weewx[2939]: **** opyright 2016-2017
Matthew Wall
Nov 01 12:42:58 raspberrypi weewx[2939]: **** ^
Nov 01 12:42:58 raspberrypi weewx[2939]: **** SyntaxError: invalid
syntax
root@raspberrypi:/usr/share/weewx/user#
Thanks
Andy
On Wednesday, 1 November 2017 11:47:59 UTC, Ian A wrote:
>
> Andy
> All I can suggest is that you try replacing obj.get('station_id') with
> obj.get('id') in line 726 then save and rerun the script.
> Maybe this is yet another variation in the rtl_433 device
>
> Ian
>
> On Wednesday, November 1, 2017 at 8:21:00 PM UTC+11, Andrew Dibbins wrote:
>>
>> Hi Ian,
>>
>> Thanks for your help, here.
>>
>> I've changed the Identifier in lines 775/776 as you suggested, I'm still
>> seeing the none records.
>>
>> I've attached the out from the rtl_433 command, that seems OK in my
>> limited opinion, so I assume the problem exists within the sdr.py script ?
>>
>> Thanks
>>
>> Andy
>>
>> On 1 November 2017 at 07:58, Ian A <[email protected]> wrote:
>>
>>> Looks like the station ID isn't being passed "should be "0119" where
>>> its currently displaying "NONE"
>>>
>>> As i understand it the "input" taged lines are the json nput to sdr.py
>>> from rtl_433 and the "passed" lines are the data as passed to WEEWX
>>>
>>> You could try uncommenting line 775 of /usr/share/weewx/user/sdr.py and
>>> commenting out line 776 then try executing sdr.py again,
>>>
>>> If that fails maybe show a dump of just "sudo rtl_433 -q -U -F json -G
>>> -R 32"
>>>
>>> Ian
>>>
>>>
>>>
>>> On Wednesday, November 1, 2017 at 9:39:32 AM UTC+11, Andrew Dibbins
>>> wrote:
>>>>
>>>> Hi Ian,
>>>>
>>>> Here's the output from sdr.py command.
>>>>
>>>> How should we interpret it ?
>>>>
>>>> Thanks
>>>>
>>>> Andy
>>>>
>>>> On 31/10/2017 22:21, Ian A wrote:
>>>>
>>>> The mappings looks ok, mine look like this: windGust =
>>>> wind_gust.37.FOWH1050Packet
>>>>
>>>> What do you get when you with < sudo PYTHONPATH=/usr/share/weewx
>>>> python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -q -U -F json -G -R 32"
>>>>
>>>> >
>>>>
>>>> You may have to check those paths are correct for your install.
>>>>
>>>> Ian
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "weewx-user" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/weewx-user/w0a6M2RXTkI/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/weewx-user/w0a6M2RXTkI/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.