Difference: MQTTAndCayenne (2 vs. 3)

Revision 32020-09-08 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

MQTT and Cayenne

Introduction

Line: 32 to 32
 which can be used to control the builtin LED on the ESP32 CPU board.

mqttSubClient.png

Added:
>
>

Cayenne

myDevices Cayenne supplies an MQTT broker and an application to visualize data sent to it in nice graphical widgets. It can also save a history of measurement in a plot and allows you you download the historic data to your PC as a csv file for further analysis. It supplies a dash board on which you can create the Graphical User Interface objects most suited for your measurement. Control widgets are also available. You can also run a Cayenne app on your smart phone and visualize your sensor data or control your actuators from there.

You may want to have a look at the slides from the IoT workshop ( session 3 and session 4) at the African Internet Summit 2019 in Kampala, Uganda where access to Cayenne from an ESP8266 was explained.

Interfacing to Cayenne

Cayenne supplies libraries for many programming languages giving access to its broker. The Cayenne language binding for Python unfortunately depends on the Eclipse Paho MQTT library, which is not available in MicroPython. Since this library is OpenSource however, it was not too difficult to adapt it to MicroPython's umqtt library and thus making it work on MicroPython as well. The adapted library uses the same API as the original code which means that the example programs remain unchanged. The library is available in our MicroPython binary.

  -- Uli Raich - 2020-08-31
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback