Brian,
I have WD MQTT sending data to my Home Assistant. I keep having to re-connect to keep it running. Is there a way to have WD MQTT reconnect automatically? Maybe a retry X times? Thank you.
Error:
This action requires a connected state (C:\Users\Brian\Documents\tmssoftware\TMS MQTT\TMS.MQTT.Client.pas, line 518)
This action requires a connected state (C:\Users\Brian\Documents\tmssoftware\TMS MQTT\TMS.MQTT.Client.pas, line 518)
WD Version: 10.37S124
OS: Windows 10 Pro
Home Assistant 2021.3.3
Mosquitto broker version: 5.1
I did have it set to auto reconnect
but I have made a change that might help, vers 2.1
https://www.weather-display.com/downloadfiles/cronwdmqtt.zip
Thank you Brian. I let it run over night and let you know. Thanks again.
Working so far as of Tuesday 4-20-2021 @9:30CST
I pat myself on the back then
Brian,
Hold on. 8O
What is the stuff in BOLD ? I rebooted HA and now I’m not getting any data to show in HA. I’m thinking that it shouldn’t be there??
y9B2Wzrb4Ks5zp4yatNfw7w{“ClientID”:“WeatherDisplay”,“date”:“9:02 PM”,“dateFormat”:“d/m/y”,“temp”:37.7,“intemp”:71.3,“hum”:48)
I went back to the older version of cronwdmqtt.exe and it is now working. I thought it was working. My apologies.
Working file with older version (cronwdmqtt.exe): {“ClientID”:“WeatherDisplay”,“date”:“9:16 PM”,“dateFormat”:“d/m/y”,“temp”:37.7,“intemp”:71.2,“hum”:48)
Any updates Brian? Thank you.
when this occurs
what is showing in the subscription topic?
Brian,
I think I figured out the problem. I should of subscribed to WeatherDisplay/json. I had copied Renato’s setup that was also using this subject WeatherDisplay/temphum along with the WeatherDisplay/json(Which I was using as the subject in WD).
My bad #-o :oops:…You deserve the pat on the back. Nice work!! Someday I’ll figure this out.
Added MQTT support