Add "send files" option to MQTT node

The idea is:

Add the ability to send binary files to MQTT topics.

My use case:

OpenWeatherMap icons for weather conditions are available via a simple link. It would be useful to serve the icon along with weather data over MQTT.

I think it would be beneficial to add this because:

IoT devices / apps can fetch the icons without needing access to the internet and by using the same protocol (ie not switching to URL, FTP, etc). It’s a little thing that adds simplicity and security.

Any resources to support this?

Binary data is part of the specification. The mosquitto_pub man page describes how to do this with the CLI app.

Are you willing to work on this?

I wish I was a better programmer! I will be poking at this, but I fear it’s more than I am (currently) capable of. :slight_smile: