Re: [weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-06-04 Thread Horacio
Hello! Point taken. My mistake! Thank you very much for clarifying this matter. On Sun, Jun 4, 2023 at 1:48 PM gjr80 wrote: > > Unfortunately you are mistaken, ordinal_compass is not a WeeWX unit, rather > it is a formatting option. The reason you are seeing the error is that WeeWX > does not h

Re: [weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-06-04 Thread gjr80
Unfortunately you are mistaken, ordinal_compass is not a WeeWX unit, rather it is a formatting option. The reason you are seeing the error is that WeeWX does not have any unit conversion functions defined for degree_compass units. Impossible to say much more without knowing what code you are us

Re: [weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-06-04 Thread Horacio
Hello. I connected the wind vane and the anemometer and I get readings but mqtt uploader cancels if I set: windDir name = windDir_ordinal units= ordinal_compass windGustDir name = windGustDir_ordinal

[weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-05-29 Thread gjr80
My apologies, you said windDir and windGustDir and I read windGust and windGustDir. Vince is exactly right; the MQTT uploader ignores fields whose value is None. If you want to change this behaviour you need to modify the MQTT uploader code. If you convert to ordinal compass points None values

[weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-05-28 Thread HoracioDos
Hello Vince. I think it should work if I want to convert to ordinal_compass. This a section from ZBX-Sender plugin where windir and winGustDir values are converted to ordinal_compass. I get "N/A" = None My knowledge is quite limited to analize this problem in depth. I'm going to connect things

[weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-05-28 Thread vince
Kinda impossible to convert 'None' to a number. That's your issue. On Sunday, May 28, 2023 at 6:02:32 PM UTC-7 HoracioDos wrote: > Hello gjr80. > These are loop and archive packets for a WS3080 (FineoffsetUSB driver). I > replaced batteries for the external unit today and the anemometer and the

[weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-05-28 Thread HoracioDos
Hello gjr80. These are loop and archive packets for a WS3080 (FineoffsetUSB driver). I replaced batteries for the external unit today and the anemometer and the vane are not connected right now. But measurements (winGustDir and winDir are there) Perhaps mqqt uploader dismisses them because of th

[weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-05-28 Thread vince
Use mosquitto_sub in a shell window to subscribe to your weewx/loop topic and see what it emits. It might be a few minutes before you see anything. # mosquitto_sub -h localhost -u usr -P pwd -t weewx/loop -- You received this message because you are subscribed to the Google Groups "weewx-user

[weewx-user] Re: MQTT - windir & windGustDir Missing in payload and ET units error

2023-05-28 Thread gjr80
What station/driver are you using? It may be that your station/driver do not emit windGust and windGustDir. If you don't know whether it does emit them you can get a quick indication by running running WeeWX directly , if your station does