Is it possible for MQTTSubscribe to process array of string data as shown
below.
Aug 12 21:27:40 raspberrypi weewx[18618] DEBUG user.MQTTSubscribe:
(Service) MessageCallbackProvider data-> incoming topic: Alerts/NWS/, QOS:
0, retain: 0, payload: b'{"alert_NWS0":"Current Watches, Warnings and
I am guessing that you are getting loop packets with just distance because
of the order the data is arriving over MQTT.
For example:
message with distance arrives
- data is saved
another message with distance arrives
- packet with saved data is created
- current message is saved
message
You appear to have a logic error in your calibration expression, the
hanging None has no affect at all in your expression. If you wish to check
lightning_strike_count is None you need to use something like:
lightning_distance = None if lightning_strike_count == 0 or
lightning_strike_count
is
Not quite bingo, I am still getting some fixed lightning_distance integers
in the absence of strikes, about 6 per hour. Loops are produced with
lightning_distance = 7.999 and no information on lightning_strike_count
and other loops have with both lightning_distance = 7.999 and
Easiest way to learn how easy it is would be to experiment. Make sure to
save your original copy just in case :-)
On Thursday, August 12, 2021 at 5:31:26 AM UTC-7 PeterGill wrote:
> Thanks Vince, I realize my question is somewhat fuzzy and unlcear.
> However, I´ll start to look into the NOAA
Thanks Vince, I realize my question is somewhat fuzzy and unlcear. However,
I´ll start to look into the NOAA .tmpl files as you suggest and hope for
further help down the road if needed.
On Tuesday, August 10, 2021 at 10:53:29 PM UTC+2 vince wrote:
> On Tuesday, August 10, 2021 at 11:38:01