0

send image from nodeMCU to adafruit.io
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

send image from nodeMCU to adafruit.io

by arossbach on Wed Nov 29, 2017 4:33 pm

I have a small image on m nodeMCU and I like to send it to adafruit.io with MQTT.
So I created a dashboard with an image block.
How is it possible to send an image with MQTT publish to this image block?
What data format is needed?

arossbach
 
Posts: 2
Joined: Wed Nov 29, 2017 1:59 pm

Re: send image from nodeMCU to adafruit.io

by jwcooper on Thu Nov 30, 2017 4:30 pm

I think you'd want to send it as base64 format, also here is a similar idea on how to do that:
https://learn.adafruit.com/cloud-cam-co ... o?view=all

You'll also want to turn off 'feed history' on your feed page (right sidebar) so you can send larger image sizes.

jwcooper
 
Posts: 664
Joined: Tue May 01, 2012 9:08 pm

Re: send image from nodeMCU to adafruit.io

by arossbach on Thu Nov 30, 2017 7:45 pm

Thank you.
You're right. base64 is the right one.

I found another link:
https://developer.ibm.com/recipes/tutor ... -via-mqtt/

arossbach
 
Posts: 2
Joined: Wed Nov 29, 2017 1:59 pm

Please be positive and constructive with your questions and comments.