All Projects → myDevicesIoT → Cayenne-MQTT-ESP

myDevicesIoT / Cayenne-MQTT-ESP

Licence: other
Cayenne MQTT ESP8266, ESP32 & NodeMCU Library

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Cayenne-MQTT-ESP

Nodemcu Pyflasher
Self-contained NodeMCU flasher with GUI based on esptool.py and wxPython.
Stars: ✭ 948 (+989.66%)
Mutual labels:  nodemcu
Esp8266 wifi captive portal
🔑 WiFi captive portal for ESP8266 for phishing WiFi passwords
Stars: ✭ 165 (+89.66%)
Mutual labels:  nodemcu
McuNode-server
McuNode 私有服务器
Stars: ✭ 32 (-63.22%)
Mutual labels:  nodemcu
Nodemcu Arduino Pixel Driver
Streaming Led pixel control
Stars: ✭ 81 (-6.9%)
Mutual labels:  nodemcu
Swifitch
Swifitch is ESP8266 based relay board that could be used to turn any light or any wall socket into smart one!
Stars: ✭ 117 (+34.48%)
Mutual labels:  nodemcu
Lorawangateway
A LoRaWan Gateway in LUA
Stars: ✭ 197 (+126.44%)
Mutual labels:  nodemcu
Openwifidetectoresp8266
MASLOW: an Open WiFi Detector with ESP8266
Stars: ✭ 15 (-82.76%)
Mutual labels:  nodemcu
wifi-tally
An affordable and reliable Tally Light that works via WiFi based on NodeMCU / ESP8266. Supports multiple video mixers.
Stars: ✭ 66 (-24.14%)
Mutual labels:  nodemcu
Configmanager
ESP8266 Wifi connection and configuration manager.
Stars: ✭ 149 (+71.26%)
Mutual labels:  nodemcu
Nodemcu Tool
🔧 Upload + Manage Lua files on NodeMCU
Stars: ✭ 248 (+185.06%)
Mutual labels:  nodemcu
Esp8266scheduler
ESP8266 Co-operative Multitasking
Stars: ✭ 93 (+6.9%)
Mutual labels:  nodemcu
Esp8266
ESP8266 NodeMCU Workshop
Stars: ✭ 109 (+25.29%)
Mutual labels:  nodemcu
Awesome Esp
📶 A curated list of awesome ESP8266/32 projects and code
Stars: ✭ 212 (+143.68%)
Mutual labels:  nodemcu
Nodemcu Espress
Ultra-Lightweight and modular Node.js express like http server for NodeMCU. web - ESP8266
Stars: ✭ 39 (-55.17%)
Mutual labels:  nodemcu
nodemcu-sensor-mqtt
NodeMCU code to report home alarm sensor status to MQTT
Stars: ✭ 19 (-78.16%)
Mutual labels:  nodemcu
Easyntpclient
Library to read time from Network Time Protocol (NTP) servers.
Stars: ✭ 20 (-77.01%)
Mutual labels:  nodemcu
Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+2673.56%)
Mutual labels:  nodemcu
link-move
A model-driven dynamically-configurable framework to acquire data from external sources and save it to your database.
Stars: ✭ 32 (-63.22%)
Mutual labels:  cayenne
FastFX
LED Pixel/Strip Animation and Effects Framework for Arduino (with FastLED)
Stars: ✭ 36 (-58.62%)
Mutual labels:  nodemcu
Esp Lisp
Beta: A small fast lisp interpeter for a ESP8266 as alternative to lua on the nodemcu.
Stars: ✭ 236 (+171.26%)
Mutual labels:  nodemcu

Cayenne MQTT ESP Library

The Cayenne MQTT ESP Library provides functions to easily connect to the Cayenne IoT project builder. This library is designed to work with ESP8266 and ESP32 WiFi modules. With it you can send data to and receive data from Cayenne.

alt text

Adafruit HUZZAH ESP8266 image by lady ada is licensed under CC BY-SA 3.0

alt text

SparkFun ESP32 Thing image by SparkFun is licensed under CC BY 2.0

Requirements

Hardware

Software

Getting Started

Environment Setup

  1. Download and install the Arduino IDE.
  2. Install the Board Package.
    1. For ESP8266:
      1. Under File -> Preferences add http://arduino.esp8266.com/stable/package_esp8266com_index.json to the Additional Boards Manager URLs field.
      2. Install the esp8266 platform from Tools -> Board -> Boards Manager.
    2. For ESP32, manually install the board package by following the instructions here: https://github.com/espressif/arduino-esp32/blob/master/README.md#installation-instructions.
  3. Download this library as a zip file here.
  4. Install the downloaded zip library from Sketch -> Include Library -> Add .ZIP Library.
  5. Connect your ESP module to your computer using a USB to Serial FTDI or console cable.
  6. Select your ESP module and port from the Tools menu.

Cayenne Setup

  1. Create your Cayenne account at https://www.cayenne-mydevices.com.
  2. Add a new device using the Bring Your Own Thing API selection.

Building Examples

  1. Open the included example sketch from File -> Examples -> Cayenne-MQTT-ESP.
  2. Modify the included sketch with your network info, and the Cayenne authentication info you received when adding your device.
  3. Compile and upload the sketch to your device. Uploading may require setting the device into bootload mode. For the Adafruit HUZZAH ESP8266 module this is done with the folowing steps:
    1. Hold down the GPIO0 button.
    2. Click the Reset button.
    3. Let go of the GPIO0 button.
    4. The red LED should light up, indicating the device is ready for uploading.
    5. Upload your sketch.
  4. Check the Cayenne dashboard to ensure it is receiving sample data from your device.

Compatibility

This library was tested with the Adafruit HUZZAH ESP8266 breakout module and an Espressif ESP32 development board. It should also work with other standard ESP8266 and ESP32 modules that are compatible with the Arduino IDE.

Contributions

Cayenne MQTT Libraries

Additional libraries are available for connecting to Cayenne on other platforms and devices. These can be found at https://github.com/myDevicesIoT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].