Heya, David,
Thank you for this script! It is currently running as a one-way bridge between Snap! and my mqtt broker (I have a slightly customized version of this script and a mosquitto broker running on an AWS free-tier Debian instance... : )
But, I need to be able to publish and subscribe within Snap (I need Snap to be able to receive mqtt messages), and struggled to find a way to achieve that within this script. Started going in several directions (a client->topic subscription dictionary seemed the most promising), but nothing was really doable and scalable.
So, it came to pass that I was able to cobble together enough Javascript to make mqtt blocks for Snap. I've posted about them here on the Snap! forum. I'm not sure it's quite appropriate to file this as an "issue" on your project, but-- your work was the foundation and inspiration, and I'm not seeing any other way to contact you... : )
Thank you,
Mike
Heya, David,
Thank you for this script! It is currently running as a one-way bridge between Snap! and my mqtt broker (I have a slightly customized version of this script and a mosquitto broker running on an AWS free-tier Debian instance... : )
But, I need to be able to publish and subscribe within Snap (I need Snap to be able to receive mqtt messages), and struggled to find a way to achieve that within this script. Started going in several directions (a client->topic subscription dictionary seemed the most promising), but nothing was really doable and scalable.
So, it came to pass that I was able to cobble together enough Javascript to make mqtt blocks for Snap. I've posted about them here on the Snap! forum. I'm not sure it's quite appropriate to file this as an "issue" on your project, but-- your work was the foundation and inspiration, and I'm not seeing any other way to contact you... : )
Thank you,
Mike