[weewx-user] MQTTSubscribe and Array of String data

2021-08-12 Thread storm...@gmail.com
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

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-12 Thread bell...@gmail.com
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

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-12 Thread gjr80
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

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-12 Thread Gene LeSage
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

[weewx-user] Re: Add parameter to NOAA

2021-08-12 Thread vince
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

[weewx-user] Re: Add parameter to NOAA

2021-08-12 Thread PeterGill
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