Weewx Conf:
[SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
path = /usr/local/bin
log_unknown_sensors = True
log_unmapped_sensors = True
[[sensor_map]]
extraTemp1 = temperature.1720.AcuriteTowerPacketV2 # basement
extraHumid1 = humidity.1720.AcuriteTowerPacketV2
outTemp = temperature.041D.Acurite5n1PacketV2
outHumidity = humidity.041D.Acurite5n1PacketV2
rain_total = rain_total.041D.Acurite5n1PacketV2
windDir = wind_dir.041D.Acurite5n1PacketV2
windSpeed = wind_speed.041D.Acurite5n1PacketV2
inHumidity = humidity.009B.AcuriteLightningPacket #upstairs
Humidity
inTemp = temperature.009B.AcuriteLightningPacket #upstairs
Temperature
strikes_total = strikes_total.009B.AcuriteLightningPacket #Total
Lightning Strike Count
lightning_distance = distance.009B.AcuriteLightningPacket #Storm
Distance KM
[[sensor_type]]
strikes_total = counter
[[data_type]]
strikes_total = delta
[[Deltas]]
lightning_strike_count = strikes_total
Belchertown Display Settings:
station_observations = outTemp, outHumidity, heatindex, dewpoint, rainRate,
windSpeed, windDir, windGust, lightning_strike_count, lightning_distance,
inTemp, inHumidity, extraTemp1
Which results in display of "N/A" for lightning strikes.
I can trigger an artificial strike to get a count, and I do see
"strikes_total" climbing during this time, so it's recording the event
itself in the DB/MQTT and sending it, but I cannot seem to get it to
display in the skin as a "daily" count = or a count based on the
established reporting period. The 06045M is a counter, it wraps at 255 now,
so I do understand how it works more or less, just not how to get it to
display properly in the skin and for charting in the near future.
I've read dozens of threads, and I can't seem to find a conclusive solution
- help!!
Most recently added to [StdCalibrate]: lightning_distance =
lightning_distance if lightning_strike_count > 0 else None
[image: Capture.PNG]
--
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/71fd2944-7b1a-4356-9ce2-0bb1da55a8bfn%40googlegroups.com.