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] <javascript:>> 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] <javascript:>.
>> 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.