I believe the ID for your Acurite will be 0406, you will use an entry like 
this in your sensor map:  

windSpeed =  wind_speed.0406.Acurite5n1PacketV2 

...and your WH31E will be 148, so again the sensor map entry will be:

inHumidity = humidity.148.AmbientWH31EPacket 


- Chris


On Tuesday, April 6, 2021 at 6:48:29 PM UTC-4 [email protected] wrote:

> I'm confused by the ids for my Acurite 5n1 and AmbientWeather WH31E 
> sensors. SDR.PY has found the ID of both devices. For the Acurite, it 
> generated the hex value of ID, but for the Ambient, it didn't.
>
> Question: should I continue with the decimal value of ID for the Ambient 
> device?
>
> I did:
> PYTHONPATH=. python3 user/sdr.py --cmd="rtl_433 -C si -M time:utc -F json 
> -G 4" --debug
>
> Sensor: Acurite 5n1
> out: ID = 1030
> parsed: ID = 0406
>
> Sensor: AmbientWeather WH31E
> out: ID = 148
> parsed: ID = 148
>
> Here are the corresponding rows of output:
> out:['{"time" : "2021-04-06 01:44:37", "model" : "AmbientWeather-WH31E", 
> "id" : 148, "channel" : 1, "battery_ok" : 1, "temperature_C" : 22.600, 
> "humidity" : 69, "data" : "2d00000000", "mic" : "CRC"}\n', '{"time" : 
> "2021-04-06 01:44:37", "model" : "AmbientWeather-WH31E", "id" : 148, 
> "channel" : 1, "battery_ok" : 1, "temperature_C" : 22.600, "humidity" : 69, 
> "data" : "2d00000000", "mic" : "CRC"}\n']
>
> parsed: {'dateTime': 1617673477, 'usUnits': 17, 
> 'temperature.148.AmbientWH31EPacket': 22.6, 
> 'humidity.148.AmbientWH31EPacket': 69.0, 'battery.148.AmbientWH31EPacket': 
> 1, 'channel.148.AmbientWH31EPacket': 1, 'rssi.148.AmbientWH31EPacket': 
> None, 'snr.148.AmbientWH31EPacket': None, 'noise.148.AmbientWH31EPacket': 
> None}
>
> parsed: {'dateTime': 1617673477, 'usUnits': 17, 
> 'temperature.148.AmbientWH31EPacket': 22.6, 
> 'humidity.148.AmbientWH31EPacket': 69.0, 'battery.148.AmbientWH31EPacket': 
> 1, 'channel.148.AmbientWH31EPacket': 1, 'rssi.148.AmbientWH31EPacket': 
> None, 'snr.148.AmbientWH31EPacket': None, 'noise.148.AmbientWH31EPacket': 
> None}
>
> out:['{"time" : "2021-04-06 01:44:44", "model" : "Acurite-5n1", 
> "message_type" : 49, "id" : 1030, "channel" : "A", "sequence_num" : 0, 
> "battery_ok" : 1, "wind_avg_km_h" : 0.000, "wind_dir_deg" : 22.500, 
> "rain_mm" : 690.626, "mic" : "CHECKSUM"}\n', '{"time" : "2021-04-06 
> 01:44:44", "model" : "Acurite-5n1", "message_type" : 49, "id" : 1030, 
> "channel" : "A", "sequence_num" : 1, "battery_ok" : 1, "wind_avg_km_h" : 
> 0.000, "wind_dir_deg" : 22.500, "rain_mm" : 690.626, "mic" : 
> "CHECKSUM"}\n', '{"time" : "2021-04-06 01:44:44", "model" : "Acurite-5n1", 
> "message_type" : 49, "id" : 1030, "channel" : "A", "sequence_num" : 2, 
> "battery_ok" : 1, "wind_avg_km_h" : 0.000, "wind_dir_deg" : 22.500, 
> "rain_mm" : 690.626, "mic" : "CHECKSUM"}\n']
>
> parsed: {'dateTime': 1617673484, 'usUnits': 1, 
> 'protocol.0406.Acurite5n1PacketV2': None, 'model.0406.Acurite5n1PacketV2': 
> 'Acurite-5n1', 'channel.0406.Acurite5n1PacketV2': 'A', 
> 'sequence_num.0406.Acurite5n1PacketV2': 0, 
> 'battery.0406.Acurite5n1PacketV2': 1, 'mod.0406.Acurite5n1PacketV2': None, 
> 'freq.0406.Acurite5n1PacketV2': None, 'rssi.0406.Acurite5n1PacketV2': None, 
> 'snr.0406.Acurite5n1PacketV2': None, 'noise.0406.Acurite5n1PacketV2': None, 
> 'msg_type.0406.Acurite5n1PacketV2': 49, 
> 'wind_speed.0406.Acurite5n1PacketV2': 0.0, 
> 'wind_dir.0406.Acurite5n1PacketV2': 22.5, 
> 'rain_total.0406.Acurite5n1PacketV2': 27.19}
>
> parsed: {'dateTime': 1617673484, 'usUnits': 1, 
> 'protocol.0406.Acurite5n1PacketV2': None, 'model.0406.Acurite5n1PacketV2': 
> 'Acurite-5n1', 'channel.0406.Acurite5n1PacketV2': 'A', 
> 'sequence_num.0406.Acurite5n1PacketV2': 1, 
> 'battery.0406.Acurite5n1PacketV2': 1, 'mod.0406.Acurite5n1PacketV2': None, 
> 'freq.0406.Acurite5n1PacketV2': None, 'rssi.0406.Acurite5n1PacketV2': None, 
> 'snr.0406.Acurite5n1PacketV2': None, 'noise.0406.Acurite5n1PacketV2': None, 
> 'msg_type.0406.Acurite5n1PacketV2': 49, 
> 'wind_speed.0406.Acurite5n1PacketV2': 0.0, 
> 'wind_dir.0406.Acurite5n1PacketV2': 22.5, 
> 'rain_total.0406.Acurite5n1PacketV2': 27.19}
>
> parsed: {'dateTime': 1617673484, 'usUnits': 1, 
> 'protocol.0406.Acurite5n1PacketV2': None, 'model.0406.Acurite5n1PacketV2': 
> 'Acurite-5n1', 'channel.0406.Acurite5n1PacketV2': 'A', 
> 'sequence_num.0406.Acurite5n1PacketV2': 2, 
> 'battery.0406.Acurite5n1PacketV2': 1, 'mod.0406.Acurite5n1PacketV2': None, 
> 'freq.0406.Acurite5n1PacketV2': None, 'rssi.0406.Acurite5n1PacketV2': None, 
> 'snr.0406.Acurite5n1PacketV2': None, 'noise.0406.Acurite5n1PacketV2': None, 
> 'msg_type.0406.Acurite5n1PacketV2': 49, 
> 'wind_speed.0406.Acurite5n1PacketV2': 0.0, 
> 'wind_dir.0406.Acurite5n1PacketV2': 22.5, 
> 'rain_total.0406.Acurite5n1PacketV2': 27.19}
>
>

-- 
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/90836fcc-c8b3-4de2-bf0f-c7c7bdfa06ebn%40googlegroups.com.

Reply via email to