MQTT basics

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

MQTT basics

Post by MJU »

I've been looking for a way to send data to a database on a server for a while and suddenly all directions point to MQTT.
I'd never noticed this component and suddenly it appears the technique I was looking for.

But from reading the Wiki page for the MQTT component I don't even know what hardware this component uses.
I an article I've read that MQTT can be used on a ESP8266 but I don't see anything about hardware on the FC Wiki.

So question 1: what hardware is needed to use this technique?

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: MQTT basics

Post by LeighM »

Hi,
The MQTT component interfaces to the NetworkComms component.
The NetworkComms component then interfaces to the specific hardware TCPIP component.
It currently supports the Raspberry Pi, ESP8266, EB023 and ENC28J60 TCPIP components (and PC simulation).
I've personally tested the MQTT component with the Raspberry Pi and PC simulation/SCADA,
but I believe that the NetworkComms component has been tested with all the others too.
Hope that helps,
Leigh

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: MQTT basics

Post by MJU »

Thank you Leigh;

Is this some text that can get pasted into the wikipage?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MQTT basics

Post by Benj »

Thanks for the suggestion.

I've added the info to the wiki page now.

Post Reply