MQTT bridge

Hi, all!

I wrote simple translator between blynk and MQTT

Tested with narodmon.ru project and ESP8266 device.

3 Likes

great job :smiley:
love it how so many nice projects appear around blynk

Sounds very cool! Need to check it out.

Digging up an old thread, I’ve been using an ESP to perform the bridge function between Blynk and MQTT however I have been getting many disconnects due to flooding as the MQTT requirements have increased over time.

I implemented this last night and it seems to work very well, my question relates to the handling of buttons from the application, is there a way to create a similar translation “table” for incoming commands rather than the standard “vw” topic?

Would commenting out the logging messages impact the functionality of the script? while running it manually I see it logging all the messages published to the MQTT broker and repeating the messages, I would be happy to only see the “Sending Heartbeat” message, and perhaps something like “Command received on V7: 1”.

I have not done much python lately thus my skills are a little rusty.

Perhaps one day Blynk will support MQTT natively as a board type in the app, :confused: