pywws icon indicating copy to clipboard operation
pywws copied to clipboard

Update mqtt.py

Open Dr-Seltsam opened this issue 2 years ago • 3 comments

Removed the double quotes on the values (except "idx" and "wind_dir_text") to prevent treating as strings

Dr-Seltsam avatar Apr 08 '22 22:04 Dr-Seltsam

Won't this break existing setups? Other mqtt users appear to be happy with it as it is, and any user can customise the data sent by editing their weather.ini.

jim-easterbrook avatar Apr 09 '22 10:04 jim-easterbrook

I took me some time to realize those double quotes prevented my setup to function properly (mosquitto mqtt broker, telegraf, influxdb and grafana). Changed that in weather.ini.

MaxRower avatar Oct 14 '22 01:10 MaxRower