[weewx-user] Acurite Lightning Detector oddness
The total strikes I'm showing in my database don't match what's coming from the sensor. This is the relevant entry in [sdr] [[sensor_map]] lightningStrikesTotal = strikes_total.6FAF.AcuriteLightningPacket Here's what I've got in the database, and I have no idea why the total isn't always a whole number: dateTime, lightningStrikes, lightningStrikesTotal, lightningDistance 1493442900, 2, 110.028571428571, 7 1493442600, 7, 102.776699029126, 6.0873786407767 1493442300, 1, 98.25, 5 1493442000, 9, 86.6132075471698, 5 1493441700, 6, 80.6796116504854, 5 1493441400, 7, 72.33, 5 1493441100, 8, 64.9393939393939, 5 1493440800, 9, 57, 5.72897196261682 1493440500, 3, 50.3142857142857, 7 1493440200, 6, 45.0943396226415, 7 1493439900, 5, 40.0106382978723, 7 1493439600, 6, 35.3, 5.9 1493439300, 9, 27.2380952380952, 4.51428571428571 1493439000, 7, 21.2169811320755, 4 1493438700, 11, 10.9126213592233, 4 1493438400, 10, 70.52083, 4.8125 1493438100, 17, 114.601941747573, 5.11650485436893 1493437800, 22, 94.4757281553398, 5 1493437500, 23, 71.3870967741936, 6.50537634408602 1493437200, 14, 52.24, 5.94 1493436900, 13, 40.0531914893617, 5 Between the last two of the entries I stopped weewx and ran the sdr driver alone piped to "grep lightning". This is what I got. out: ['2017-04-29 05:12:38 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 108 Distance 7 L_status 0x03 - c0 6f af 55 50 7d 6c e7 53 \n'] out: ['2017-04-29 05:12:38 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 108 Distance 7 L_status 0x03 - c0 6f af 55 50 7d 6c e7 53 \n'] out: ['2017-04-29 05:12:38 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 108 Distance 7 L_status 0x03 - c0 6f af 55 50 7d 6c e7 53 \n', '{"time" : "2017-04-29 05:12:39", "model" : "Acurite tower sensor", "id" : 7059, "channel" : "B", "temperature_C" : 22.300, "humidity" : 63, "battery" : 1, "status" : 132}\n', '{"time" : "2017-04-29 05:12:39", "model" : "Acurite tower sensor", "id" : 7059, "channel" : "B", "temperature_C" : 22.300, "humidity" : 63, "battery" : 1, "status" : 132}\n' , '{"time" : "2017-04-29 05:12:39", "model" : "Acurite tower sensor", "id" : 7059, "channel" : "B", "temperature_C" : 22.300, "humidity" : 63, "battery" : 1, "status" : 132}\n', '{"time" : "2017-04-29 05:12:39", "temperature" : 104.000, "humidity" : 63, "id" : 155, "model" : "LaCrosse TX141TH-Bv2 sensor", "battery" : "LOW", "test" : "No"}\n', '{"time" : "2017-04-29 05:12:39", "temperature" : 104.000, "humidity" : 63, "id" : 155, "model" : "LaCrosse TX141TH-Bv2 sensor", "battery" : "LOW", "test" : "No"}\n', '{"time" : "2017-04-29 05:12:39", "temperature" : 104.000, "humidity" : 63, "id" : 155, "model" : "LaCrosse TX141TH-Bv2 sensor", "battery" : "LOW", "test" : "No"}\n'] out: ['2017-04-29 05:12:46 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 109 Distance 7 L_status 0x00 - c0 6f af 55 50 7d ed 87 74 \n'] out: ['2017-04-29 05:12:46 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 109 Distance 7 L_status 0x00 - c0 6f af 55 50 7d ed 87 74 \n'] out: ['2017-04-29 05:12:46 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 109 Distance 7 L_status 0x00 - c0 6f af 55 50 7d ed 87 74 \n', '{"time" : "2017-04-29 05:12:48", "model" : "Acurite tower sensor", "id" : 15335, "channel" : "A", "temperature_C" : 22.800, "humidity" : 61, "battery" : 1, "status" : 132}\n', '{"time" : "2017-04-29 05:12:48", "model" : "Acurite tower sensor", "id" : 15335, "channel" : "A", "temperature_C" : 22.800, "humidity" : 61, "battery" : 1, "status" : 132}\n' , '{"time" : "2017-04-29 05:12:48", "model" : "Acurite tower sensor", "id" : 15335, "channel" : "A", "temperature_C" : 22.800, "humidity" : 61, "battery" : 1, "status" : 132}\n'] out: ['2017-04-29 05:12:54 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 109 Distance 7 L_status 0x01 - c0 6f af 55 50 7d ed 27 14 \n'] out: ['2017-04-29 05:12:54 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 109 Distance 7 L_status 0x01 - c0 6f af 55 50 7d ed 27 14 \n'] out: ['2017-04-29 05:12:54 Acurite lightning 0x6FAF Ch A Msg Type 0x02: 67.3 F 85 % RH Strikes 109 Distance 7 L_status 0x01 - c0 6f af 55 50 7d ed 27 14 \n', '{"time" : "2017-04-29 05:12:56", "model" : "Acurite tower sensor", "id" : 7059, "channel" : "B", "temperature_C" : 22.300, "humidity" : 63, "battery" : 1, "status" : 132}\n', '{"time" : "2017-04-29 05:12:56", "model" : "Acurite tower sensor", "id" : 7059, "channel" : "B", "temperature_C" : 22.300, "humidity" : 63, "battery" : 1, "status" : 132}\n' , '{"time" : "2017-04-29 05:12:56", "model" : "Acurite tower sensor", "id" : 7059, "channel" : "B", "temperature_C" : 22.300, "humidity" : 63, "battery" : 1, "status" : 132}\n', '{"time" : "2017-04-29 05:12:56", "temperature" : 104.000, "humidity" : 63, "id"
RE: [weewx-user] acurite lightning detector
And I just talked to Acurite – read them the “QC” number off the battery cover and they said “we’re sending you a new one”. :) From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On Behalf Of Clay Jackson Sent: Friday, February 17, 2017 11:28 AM To: weewx-user@googlegroups.com Subject: RE: [weewx-user] acurite lightning detector Just did the “hard reset” routine – left batteries out for several hours. The sensor is in a room where the tempo ranges from about 64-75. Last night, for about 2 hours, it APPEARED to be reading OK – fluctuating right around 65, in line with a mercury thermometer I use for testing. Came in this morning, it started a few degrees low (61 – mercury was 66) but has since climbed WAY above, mercury reading 75, sensor reading 87.8 Other than a bad sensor, anyone have any ideas? Thanks in advance! Clay Jackson From: weewx-user@googlegroups.com <mailto:weewx-user@googlegroups.com> [mailto:weewx-user@googlegroups.com] On Behalf Of Clay Jackson Sent: Thursday, February 16, 2017 3:20 PM To: weewx-user@googlegroups.com <mailto:weewx-user@googlegroups.com> Subject: Re: [weewx-user] acurite lightning detector Downloaded and it's now capturing - temp is way off (30+ degrees high); but I suspect that's either an RTL or Acurite issue Sent from my iPhone Clay Jackson On Feb 16, 2017, at 12:21 PM, Clay Jackson mailto:cl...@nwlink.com> > wrote: Hi, Matt – so, here’s what I see in weewx.log Feb 16 12:18:41 Weather weewx[14361]: sdr: MainThread: AcuriteLightningPacket: unrecognized data: '2017-02-16 20:18:41 Acurite lightning 0x2B6F Ch A Msg Type 0x4f: 67 C 66 % RH Strikes 3 Distance 31 - c0 2b 6f 42 cf c3 03 9f d0*#012' And here’s the SDR part of my config [SDR] # This section is for the software-defined radio driver. # The driver to use driver = user.sdr path = /usr/local/bin [[sensor_map]] windDir = wind_dir.04C9.Acurite5n1Packet windSpeed = wind_speed.04C9.Acurite5n1Packet outTemp = temperature.04C9.Acurite5n1Packet outHumidity = humidity.04C9.Acurite5n1Packet rain_total = rain_total.04C9.Acurite5n1Packet extraTemp1 = temperature.2B6F.AcuriteLightningPacket extraHumid1 = humidity.2B6F.AcuriteLightningPacket strikes = strikes_total.2B6F.AcuriteLightningPacket [[deltas]] strikes = strikes_total Haven’t done a debug yet; but will report that next. From: weewx-user@googlegroups.com <mailto:weewx-user@googlegroups.com> [mailto:weewx-user@googlegroups.com] On Behalf Of mwall Sent: Tuesday, February 14, 2017 6:52 AM To: weewx-user mailto:weewx-user@googlegroups.com> > Subject: [weewx-user] acurite lightning detector >From: Clay Jackson >Subject: Acurite Lighning Sensor >Date: 13 February 2017 23:21:23 EST > > Hi, Matthew – new topic/question. I have one of the Acurite Lighting > sensors and would like to > integrate it into the weewx SDR. It looks right now as if it’s not really > supported. I tried just > mapping the senors and got some screwy results (see an earlier post). Then I > went back > and read the code; and it looks like the RTL driver is just dumping data, > rather than doing > a “real” decode. I’d be happy to work with you on seeing if we can get it > working – let me > know if you’d like to try that. > > Thanks! > > Clay Jackson clay, this is typical output from the lightning detector, as returned by rtl_433: 2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 50 Distance 69 - c0 53 6f 3a d1 0f b2 c5 13* 2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 55 Distance 5 - c0 53 6f 3a d1 0f b7 05 58* with a SDR configuration and sensor_map like this: [SDR] driver = user.sdr cmd = rtl_433 -q -U -G -F json [[sensor_map]] windDir = wind_dir.0BFA.Acurite5n1Packet windSpeed = wind_speed.0BFA.Acurite5n1Packet outTemp = temperature.0BFA.Acurite5n1Packet outHumidity = humidity.0BFA.Acurite5n1Packet outTempBatteryStatus = battery.0BFA.Acurite5n1Packet inTemp = temperature.24A4.AcuriteTowerPacket inHumidity = humidity.24A4.AcuriteTowerPacket txBatteryStatus = battery.24A4.AcuriteTowerPacket extraTemp2 = temperature.526F.AcuriteLightningPacket extraHumid2 = humidity.526F.AcuriteLightningPacket distance = distance.526F.AcuriteLightningPacket strikes_total = strikes_total.526F.AcuriteLightningPacket [[deltas]] strikes = strikes_total the weewx-sdr driver parses lightning sensor output into packets something like this: LOOP: 2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: None, barometer: None, cloudbase: None,
RE: [weewx-user] acurite lightning detector
Just did the “hard reset” routine – left batteries out for several hours. The sensor is in a room where the tempo ranges from about 64-75. Last night, for about 2 hours, it APPEARED to be reading OK – fluctuating right around 65, in line with a mercury thermometer I use for testing. Came in this morning, it started a few degrees low (61 – mercury was 66) but has since climbed WAY above, mercury reading 75, sensor reading 87.8 Other than a bad sensor, anyone have any ideas? Thanks in advance! Clay Jackson From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On Behalf Of Clay Jackson Sent: Thursday, February 16, 2017 3:20 PM To: weewx-user@googlegroups.com Subject: Re: [weewx-user] acurite lightning detector Downloaded and it's now capturing - temp is way off (30+ degrees high); but I suspect that's either an RTL or Acurite issue Sent from my iPhone Clay Jackson On Feb 16, 2017, at 12:21 PM, Clay Jackson mailto:cl...@nwlink.com> > wrote: Hi, Matt – so, here’s what I see in weewx.log Feb 16 12:18:41 Weather weewx[14361]: sdr: MainThread: AcuriteLightningPacket: unrecognized data: '2017-02-16 20:18:41 Acurite lightning 0x2B6F Ch A Msg Type 0x4f: 67 C 66 % RH Strikes 3 Distance 31 - c0 2b 6f 42 cf c3 03 9f d0*#012' And here’s the SDR part of my config [SDR] # This section is for the software-defined radio driver. # The driver to use driver = user.sdr path = /usr/local/bin [[sensor_map]] windDir = wind_dir.04C9.Acurite5n1Packet windSpeed = wind_speed.04C9.Acurite5n1Packet outTemp = temperature.04C9.Acurite5n1Packet outHumidity = humidity.04C9.Acurite5n1Packet rain_total = rain_total.04C9.Acurite5n1Packet extraTemp1 = temperature.2B6F.AcuriteLightningPacket extraHumid1 = humidity.2B6F.AcuriteLightningPacket strikes = strikes_total.2B6F.AcuriteLightningPacket [[deltas]] strikes = strikes_total Haven’t done a debug yet; but will report that next. From: weewx-user@googlegroups.com <mailto:weewx-user@googlegroups.com> [mailto:weewx-user@googlegroups.com] On Behalf Of mwall Sent: Tuesday, February 14, 2017 6:52 AM To: weewx-user mailto:weewx-user@googlegroups.com> > Subject: [weewx-user] acurite lightning detector >From: Clay Jackson >Subject: Acurite Lighning Sensor >Date: 13 February 2017 23:21:23 EST > > Hi, Matthew – new topic/question. I have one of the Acurite Lighting > sensors and would like to > integrate it into the weewx SDR. It looks right now as if it’s not really > supported. I tried just > mapping the senors and got some screwy results (see an earlier post). Then I > went back > and read the code; and it looks like the RTL driver is just dumping data, > rather than doing > a “real” decode. I’d be happy to work with you on seeing if we can get it > working – let me > know if you’d like to try that. > > Thanks! > > Clay Jackson clay, this is typical output from the lightning detector, as returned by rtl_433: 2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 50 Distance 69 - c0 53 6f 3a d1 0f b2 c5 13* 2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 55 Distance 5 - c0 53 6f 3a d1 0f b7 05 58* with a SDR configuration and sensor_map like this: [SDR] driver = user.sdr cmd = rtl_433 -q -U -G -F json [[sensor_map]] windDir = wind_dir.0BFA.Acurite5n1Packet windSpeed = wind_speed.0BFA.Acurite5n1Packet outTemp = temperature.0BFA.Acurite5n1Packet outHumidity = humidity.0BFA.Acurite5n1Packet outTempBatteryStatus = battery.0BFA.Acurite5n1Packet inTemp = temperature.24A4.AcuriteTowerPacket inHumidity = humidity.24A4.AcuriteTowerPacket txBatteryStatus = battery.24A4.AcuriteTowerPacket extraTemp2 = temperature.526F.AcuriteLightningPacket extraHumid2 = humidity.526F.AcuriteLightningPacket distance = distance.526F.AcuriteLightningPacket strikes_total = strikes_total.526F.AcuriteLightningPacket [[deltas]] strikes = strikes_total the weewx-sdr driver parses lightning sensor output into packets something like this: LOOP: 2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: None, barometer: None, cloudbase: None, dateTime: 1487083831, dewpoint: None, distance: 15.0, extraHumid2: 35.0, extraTemp2: 55.4, heatindex: None, humidex: None, inDewpoint: None, maxSolarRad: None, rainRate: 0, strikes: 0.0, strikes_total: 61.0, usUnits: 1, windchill: None is that what you see? m -- 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
Re: [weewx-user] acurite lightning detector
Downloaded and it's now capturing - temp is way off (30+ degrees high); but I suspect that's either an RTL or Acurite issue Sent from my iPhone Clay Jackson > On Feb 16, 2017, at 12:21 PM, Clay Jackson wrote: > > Hi, Matt – so, here’s what I see in weewx.log > > Feb 16 12:18:41 Weather weewx[14361]: sdr: MainThread: > AcuriteLightningPacket: unrecognized data: '2017-02-16 20:18:41 Acurite > lightning 0x2B6F Ch A Msg Type 0x4f: 67 C 66 % RH Strikes 3 Distance 31 - c0 > 2b 6f 42 cf c3 03 9f d0*#012' > > And here’s the SDR part of my config > [SDR] > # This section is for the software-defined radio driver. > > # The driver to use > driver = user.sdr > path = /usr/local/bin > [[sensor_map]] > windDir = wind_dir.04C9.Acurite5n1Packet > windSpeed = wind_speed.04C9.Acurite5n1Packet > outTemp = temperature.04C9.Acurite5n1Packet > outHumidity = humidity.04C9.Acurite5n1Packet > rain_total = rain_total.04C9.Acurite5n1Packet > extraTemp1 = temperature.2B6F.AcuriteLightningPacket > extraHumid1 = humidity.2B6F.AcuriteLightningPacket > strikes = strikes_total.2B6F.AcuriteLightningPacket > [[deltas]] > strikes = strikes_total > Haven’t done a debug yet; but will report that next. > > From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On > Behalf Of mwall > Sent: Tuesday, February 14, 2017 6:52 AM > To: weewx-user > Subject: [weewx-user] acurite lightning detector > > >From: Clay Jackson > >Subject: Acurite Lighning Sensor > >Date: 13 February 2017 23:21:23 EST > > > > Hi, Matthew – new topic/question. I have one of the Acurite Lighting > > sensors and would like to > > integrate it into the weewx SDR. It looks right now as if it’s not really > > supported. I tried just > > mapping the senors and got some screwy results (see an earlier post). Then > > I went back > > and read the code; and it looks like the RTL driver is just dumping data, > > rather than doing > > a “real” decode. I’d be happy to work with you on seeing if we can get it > > working – let me > > know if you’d like to try that. > > > > Thanks! > > > > Clay Jackson > > clay, > > this is typical output from the lightning detector, as returned by rtl_433: > > 2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH > Strikes 50 Distance 69 - c0 53 6f 3a d1 0f b2 c5 13* > 2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH > Strikes 55 Distance 5 - c0 53 6f 3a d1 0f b7 05 58* > > with a SDR configuration and sensor_map like this: > > [SDR] > driver = user.sdr > cmd = rtl_433 -q -U -G -F json > [[sensor_map]] > windDir = wind_dir.0BFA.Acurite5n1Packet > windSpeed = wind_speed.0BFA.Acurite5n1Packet > outTemp = temperature.0BFA.Acurite5n1Packet > outHumidity = humidity.0BFA.Acurite5n1Packet > outTempBatteryStatus = battery.0BFA.Acurite5n1Packet > inTemp = temperature.24A4.AcuriteTowerPacket > inHumidity = humidity.24A4.AcuriteTowerPacket > txBatteryStatus = battery.24A4.AcuriteTowerPacket > extraTemp2 = temperature.526F.AcuriteLightningPacket > extraHumid2 = humidity.526F.AcuriteLightningPacket > distance = distance.526F.AcuriteLightningPacket > strikes_total = strikes_total.526F.AcuriteLightningPacket > [[deltas]] > strikes = strikes_total > > the weewx-sdr driver parses lightning sensor output into packets something > like this: > > LOOP: 2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: None, > barometer: None, cloudbase: None, dateTime: 1487083831, dewpoint: None, > distance: 15.0, extraHumid2: 35.0, extraTemp2: 55.4, heatindex: None, > humidex: None, inDewpoint: None, maxSolarRad: None, rainRate: 0, strikes: > 0.0, strikes_total: 61.0, usUnits: 1, windchill: None > > is that what you see? > > m > -- > 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 weewx-user+unsubscr...@googlegroups.com. > 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 weewx-user+unsubscr...@googlegroups.com. > 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] acurite lightning detector
On Thursday, February 16, 2017 at 3:21:34 PM UTC-5, Clay Jackson wrote: > > Hi, Matt – so, here’s what I see in weewx.log > > > > Feb 16 12:18:41 Weather weewx[14361]: sdr: MainThread: > AcuriteLightningPacket: unrecognized data: '2017-02-16 20:18:41 Acurite > lightning 0x2B6F Ch A Msg Type 0x4f: 67 C 66 % RH Strikes 3 Distance 31 - > c0 2b 6f 42 cf c3 03 9f d0*#012' > clay, this is fixed in version 0.22 of weewx-sdr. your sensor emits a hex message type of 0x47, but the previous parser was looking for only digits, not hex. m -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [weewx-user] acurite lightning detector
Hi, Matt – so, here’s what I see in weewx.log Feb 16 12:18:41 Weather weewx[14361]: sdr: MainThread: AcuriteLightningPacket: unrecognized data: '2017-02-16 20:18:41 Acurite lightning 0x2B6F Ch A Msg Type 0x4f: 67 C 66 % RH Strikes 3 Distance 31 - c0 2b 6f 42 cf c3 03 9f d0*#012' And here’s the SDR part of my config [SDR] # This section is for the software-defined radio driver. # The driver to use driver = user.sdr path = /usr/local/bin [[sensor_map]] windDir = wind_dir.04C9.Acurite5n1Packet windSpeed = wind_speed.04C9.Acurite5n1Packet outTemp = temperature.04C9.Acurite5n1Packet outHumidity = humidity.04C9.Acurite5n1Packet rain_total = rain_total.04C9.Acurite5n1Packet extraTemp1 = temperature.2B6F.AcuriteLightningPacket extraHumid1 = humidity.2B6F.AcuriteLightningPacket strikes = strikes_total.2B6F.AcuriteLightningPacket [[deltas]] strikes = strikes_total Haven’t done a debug yet; but will report that next. From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On Behalf Of mwall Sent: Tuesday, February 14, 2017 6:52 AM To: weewx-user Subject: [weewx-user] acurite lightning detector >From: Clay Jackson >Subject: Acurite Lighning Sensor >Date: 13 February 2017 23:21:23 EST > > Hi, Matthew – new topic/question. I have one of the Acurite Lighting > sensors and would like to > integrate it into the weewx SDR. It looks right now as if it’s not really > supported. I tried just > mapping the senors and got some screwy results (see an earlier post). Then I > went back > and read the code; and it looks like the RTL driver is just dumping data, > rather than doing > a “real” decode. I’d be happy to work with you on seeing if we can get it > working – let me > know if you’d like to try that. > > Thanks! > > Clay Jackson clay, this is typical output from the lightning detector, as returned by rtl_433: 2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 50 Distance 69 - c0 53 6f 3a d1 0f b2 c5 13* 2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 55 Distance 5 - c0 53 6f 3a d1 0f b7 05 58* with a SDR configuration and sensor_map like this: [SDR] driver = user.sdr cmd = rtl_433 -q -U -G -F json [[sensor_map]] windDir = wind_dir.0BFA.Acurite5n1Packet windSpeed = wind_speed.0BFA.Acurite5n1Packet outTemp = temperature.0BFA.Acurite5n1Packet outHumidity = humidity.0BFA.Acurite5n1Packet outTempBatteryStatus = battery.0BFA.Acurite5n1Packet inTemp = temperature.24A4.AcuriteTowerPacket inHumidity = humidity.24A4.AcuriteTowerPacket txBatteryStatus = battery.24A4.AcuriteTowerPacket extraTemp2 = temperature.526F.AcuriteLightningPacket extraHumid2 = humidity.526F.AcuriteLightningPacket distance = distance.526F.AcuriteLightningPacket strikes_total = strikes_total.526F.AcuriteLightningPacket [[deltas]] strikes = strikes_total the weewx-sdr driver parses lightning sensor output into packets something like this: LOOP: 2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: None, barometer: None, cloudbase: None, dateTime: 1487083831, dewpoint: None, distance: 15.0, extraHumid2: 35.0, extraTemp2: 55.4, heatindex: None, humidex: None, inDewpoint: None, maxSolarRad: None, rainRate: 0, strikes: 0.0, strikes_total: 61.0, usUnits: 1, windchill: None is that what you see? m -- 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 weewx-user+unsubscr...@googlegroups.com <mailto:weewx-user+unsubscr...@googlegroups.com> . 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] acurite lightning detector
Actually, no - what I'm seeing is just the string I sent in the message. Will try some more debugging tomorrow nite or Thursday. Sent from my iPhone Clay Jackson > On Feb 14, 2017, at 6:52 AM, mwall wrote: > > >From: Clay Jackson > >Subject: Acurite Lighning Sensor > >Date: 13 February 2017 23:21:23 EST > > > > Hi, Matthew – new topic/question. I have one of the Acurite Lighting > > sensors and would like to > > integrate it into the weewx SDR. It looks right now as if it’s not really > > supported. I tried just > > mapping the senors and got some screwy results (see an earlier post). Then > > I went back > > and read the code; and it looks like the RTL driver is just dumping data, > > rather than doing > > a “real” decode. I’d be happy to work with you on seeing if we can get it > > working – let me > > know if you’d like to try that. > > > > Thanks! > > > > Clay Jackson > > clay, > > this is typical output from the lightning detector, as returned by rtl_433: > > 2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH > Strikes 50 Distance 69 - c0 53 6f 3a d1 0f b2 c5 13* > 2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH > Strikes 55 Distance 5 - c0 53 6f 3a d1 0f b7 05 58* > > with a SDR configuration and sensor_map like this: > > [SDR] > driver = user.sdr > cmd = rtl_433 -q -U -G -F json > [[sensor_map]] > windDir = wind_dir.0BFA.Acurite5n1Packet > windSpeed = wind_speed.0BFA.Acurite5n1Packet > outTemp = temperature.0BFA.Acurite5n1Packet > outHumidity = humidity.0BFA.Acurite5n1Packet > outTempBatteryStatus = battery.0BFA.Acurite5n1Packet > inTemp = temperature.24A4.AcuriteTowerPacket > inHumidity = humidity.24A4.AcuriteTowerPacket > txBatteryStatus = battery.24A4.AcuriteTowerPacket > extraTemp2 = temperature.526F.AcuriteLightningPacket > extraHumid2 = humidity.526F.AcuriteLightningPacket > distance = distance.526F.AcuriteLightningPacket > strikes_total = strikes_total.526F.AcuriteLightningPacket > [[deltas]] > strikes = strikes_total > > the weewx-sdr driver parses lightning sensor output into packets something > like this: > > LOOP: 2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: None, > barometer: None, cloudbase: None, dateTime: 1487083831, dewpoint: None, > distance: 15.0, extraHumid2: 35.0, extraTemp2: 55.4, heatindex: None, > humidex: None, inDewpoint: None, maxSolarRad: None, rainRate: 0, strikes: > 0.0, strikes_total: 61.0, usUnits: 1, windchill: None > > is that what you see? > > m > -- > 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 weewx-user+unsubscr...@googlegroups.com. > 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] acurite lightning detector
>From: Clay Jackson >Subject: Acurite Lighning Sensor >Date: 13 February 2017 23:21:23 EST > > Hi, Matthew – new topic/question. I have one of the Acurite Lighting sensors and would like to > integrate it into the weewx SDR. It looks right now as if it’s not really supported. I tried just > mapping the senors and got some screwy results (see an earlier post). Then I went back > and read the code; and it looks like the RTL driver is just dumping data, rather than doing > a “real” decode. I’d be happy to work with you on seeing if we can get it working – let me > know if you’d like to try that. > > Thanks! > > Clay Jackson clay, this is typical output from the lightning detector, as returned by rtl_433: 2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 50 Distance 69 - c0 53 6f 3a d1 0f b2 c5 13* 2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % RH Strikes 55 Distance 5 - c0 53 6f 3a d1 0f b7 05 58* with a SDR configuration and sensor_map like this: [SDR] driver = user.sdr cmd = rtl_433 -q -U -G -F json [[sensor_map]] windDir = wind_dir.0BFA.Acurite5n1Packet windSpeed = wind_speed.0BFA.Acurite5n1Packet outTemp = temperature.0BFA.Acurite5n1Packet outHumidity = humidity.0BFA.Acurite5n1Packet outTempBatteryStatus = battery.0BFA.Acurite5n1Packet inTemp = temperature.24A4.AcuriteTowerPacket inHumidity = humidity.24A4.AcuriteTowerPacket txBatteryStatus = battery.24A4.AcuriteTowerPacket extraTemp2 = temperature.526F.AcuriteLightningPacket extraHumid2 = humidity.526F.AcuriteLightningPacket distance = distance.526F.AcuriteLightningPacket strikes_total = strikes_total.526F.AcuriteLightningPacket [[deltas]] strikes = strikes_total the weewx-sdr driver parses lightning sensor output into packets something like this: LOOP: 2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: None, barometer: None, cloudbase: None, dateTime: 1487083831, dewpoint: None, distance: 15.0, extraHumid2: 35.0, extraTemp2: 55.4, heatindex: None, humidex: None, inDewpoint: None, maxSolarRad: None, rainRate: 0, strikes: 0.0, strikes_total: 61.0, usUnits: 1, windchill: None is that what you see? m -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.