Closed gregsvo closed 7 years ago
Happy to hear your positive feedback and great to see it as part of your presentation. What will be the topic of your presentation? I'm from Germany so I sadly won't make it to PyOhio.
I will have a look at the last will implementation. As paho mqtt already provides this function it should be no problem to implement it. The way you implemented it seems OK to me. I'll see if I can find out why it's not working.
I've included last will functionality into Flask-MQTT according to your proposal. I've also added the configuration variables MQTT_LAST_WILL_QOS and MQTT_LAST_WILL_RETAIN for further configuration. Just give me feedback if it's working for you.
Fantastic! I'll give it a test this evening.
The talk is on writing IoT applications in a Python stack (MicroPython/Flask/Mqtt). The video is posted on YouTube a day or so after the event, I'll make sure to send you a link. Thanks again for the great work!
Great, just come back to me if you get any issues.
I would really appreciate you sending me this link to the video. I look forward to it and which you all the best for the presentation at Pyohio.
GREAT work here. I'm actually presenting it as part of my presentation at the PyOhio conference next weekend.
I'd like to see MQTT's "last will" implemented if possible. I attempted to do it myself in the init file, as the will_set() function must be called before client.connect(). It doesn't seem to be working, but wasn't having any luck getting it to work. init.py file changes below: