I attempted the wildcard with several variatons on the packet name, with no
joy. However, with debug set to 1, and log_unknown and _unmapped_sensors
true, I am getting two lines in the log:
eb 10 19:57:39 weewxserver weewx[31499] DEBUG user.sdr: parse_json: unknown
model Acurite-6045M
Feb 10 19:57:39 weewxserver weewx[31499] DEBUG user.sdr: punt unrecognized
line '{"time" : "2021-02-11 00:57:36", "model" : "Acurite-6045M", "id" : 9,
"channel" : "C", "battery_ok" : 1, "temperature_F" : 55.200, "humidity" :
62, "strike_count" : 88, "storm_dist" : 20, "active" : 1, "rfi" : 0,
"exception" : 0, "raw_msg" : "00096fbecff0ac14b5"}#012'
what I'm confused by is that it is indicating the Acurite-6045M is an
unknown model. I see from one of the answers above that, at least in that
person's system, it is recognized. Could this be a bug in the latest
release of the sdr driver software?
Nick Kavanagh
On Wednesday, February 10, 2021 at 3:58:34 PM UTC-5 [email protected]
wrote:
> Try using a wildcard:
>
> temperature.0009.Acurite6045M
> temperature.*.Acurite6045M
>
> On 10 Feb, 2021, at 12:03, Nick Kavanagh <[email protected]> wrote:
>
> That is not working. It seems like the problem is the id number of the
> sensor. The Id is "9". Converting to hexadecimal, the number is....9. Or
> with twos complement 0009. I have tried using both of these in the stanza as
> temperature.9.AcuriteLightningPacket
> &
> temperature.0009.AcuriteLightningPacket
>
> Neither have worked. Any suggestions on what that center portion of the
> stanza should actually be?
>
> Nick Kavanagh
>
> On Tuesday, February 9, 2021 at 9:31:35 AM UTC-5 Andy wrote:
>
>> out: '{"time" : "2021-02-09 14:22:41", "model" : "Acurite-6045M", "id" :
>> 15431, "channel" : "A", "battery_ok" : 1, "temperature_F" : 53.200,
>> "humidity" : 78, "strike_count" : 174, "storm_dist" : 24, "active" : 0,
>> "rfi" : 1, "exception" : 0, "raw_msg" : "fc476f4e0f5cd7b8fa"}\n'
>>
>> parsed: {'dateTime': 1612880561, 'usUnits': 1,
>> 'channel.3C47.AcuriteLightningPacket': 'A',
>> 'temperature.3C47.AcuriteLightningPacket': 53.2,
>> 'battery.3C47.AcuriteLightningPacket': 0,
>> 'humidity.3C47.AcuriteLightningPacket': 78,
>> 'active.3C47.AcuriteLightningPacket': 0, 'rfi.3C47.AcuriteLightningPacket':
>> 1, 'exception.3C47.AcuriteLightningPacket': 0,
>> 'strikes_total.3C47.AcuriteLightningPacket': 174,
>> 'distance.3C47.AcuriteLightningPacket': 24}
>>
>> Try this one.
>>
>> Andy
>>
>>
>>
>>
>> On Monday, February 8, 2021 at 5:41:14 AM UTC-8 [email protected]
>> wrote:
>>
>>>
>>> I am running the most current versions of weewx, rtl-sdr, rtl_433, and
>>> Belchertown. I am attempting to add the temperature parameter from the
>>> 6045M to the sensor map as extraTemp2. When I run
>>> <c>sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py
>>> --cmd="rtl_433 -M utc -F json"</c>
>>>
>>> I get this as output for the 6045M:
>>> out:[u'{"time" : "2021-02-08 13:34:08", "model" : "Acurite-6045M", "id"
>>> : 9, "channel" : "A", "battery_ok" : 1, "temperature_F" : 28.900,
>>> "humidity" : 70, "strike_count" : 58, "storm_dist" : 12, "active" : 0,
>>> "rfi" : 0, "exception" : 0, "raw_msg" : "c0096fc68d691d0c1d"}\n', u'{"time"
>>> : "2021-02-08 13:34:08", "model" : "Acurite-6045M", "id" : 9, "channel" :
>>> "A", "battery_ok" : 1, "temperature_F" : 28.900, "humidity" : 70,
>>> "strike_count" : 58, "storm_dist" : 12, "active" : 0, "rfi" : 0,
>>> "exception" : 0, "raw_msg" : "c0096fc68d691d0c1d"}\n', u'{"time" :
>>> "2021-02-08 13:34:08", "model" : "Acurite-6045M", "id" : 9, "channel" :
>>> "A", "battery_ok" : 1, "temperature_F" : 28.900, "humidity" : 70,
>>> "strike_count" : 58, "storm_dist" : 12, "active" : 0, "rfi" : 0,
>>> "exception" : 0, "raw_msg" : "c0096fc68d691d0c1d"}\n'
>>>
>>> There is no parsed output.
>>>
>>> My question is: What do I add in my sensor map as the stanza for
>>> temperature_F to be mapped to extraTemp2?
>>> So far I have attempted multiple versions including:
>>> temperature.0009.Acurite6045M
>>> temperature_F.0009.Acurite6045M
>>> both again as Acurite6045MV2
>>>
>>> both again as AcuriteLightningPacket
>>>
>>> both again as AcuriteLightningPacketV2
>>>
>>> as well as several other variations.
>>>
>>> Does anyone know how to identify the packet from the 6045M?
>>>
>>> Thank you,
>>> Nick Kavanagh
>>> stonecressweather(dot)ddns(dot)net
>>>
>>> (Apologies if this question was not well asked. Any tips on improving
>>> the question are greatly appreciated.)
>>>
>>>
>>>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/f058e40b-ace0-4ddf-8ef2-1eea1d69b911n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/weewx-user/f058e40b-ace0-4ddf-8ef2-1eea1d69b911n%40googlegroups.com?utm_medium=email&utm_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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/4f1c1b06-e301-4f93-9745-cb315102a81en%40googlegroups.com.