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.