ClassicDIY / ClassicMQTT

Modbus to MQTT publisher for the Midnite Solar Classic Charge Controller
Apache License 2.0
24 stars 13 forks source link

Proposed #7

Closed graham22 closed 4 years ago

graham22 commented 4 years ago

Added set_will and publish online in on_connect

mcsarge commented 4 years ago

Graham,

I think the will subscription can go where you had it in the main flow, it is just the publish to the subject that I moved. Also, I changed the Async stuff over to use timeloop because it is much cleaner. Should I just check in all those changes?