All Projects → noopkat → azure-iothub-pubsub-esp8266

noopkat / azure-iothub-pubsub-esp8266

Licence: MIT license
Using Arduino PubSub library with Azure IoT Hub on an ESP8266

Projects that are alternatives of or similar to azure-iothub-pubsub-esp8266

Arduino Nats
An Arduino / ESP8266 / Particle Photon compatible C++ library for communicating with a NATS (http://nats.io) server
Stars: ✭ 44 (+158.82%)
Mutual labels:  esp8266, pubsub
coro2sens
Build a simple device that warns if CO₂ concentration in a room becomes a risk for COVID-19 aerosol infections.
Stars: ✭ 32 (+88.24%)
Mutual labels:  esp8266, arduino-sketch
simple redis
Simple and resilient redis client for rust.
Stars: ✭ 21 (+23.53%)
Mutual labels:  pubsub
growatt-esp8266
Growatt Inverter monitoring via MQTT using ESP8266 modbus interface
Stars: ✭ 34 (+100%)
Mutual labels:  esp8266
esphome-phsensor
ESP8266 with analog pH sensor
Stars: ✭ 45 (+164.71%)
Mutual labels:  esp8266
souls
SOULs 🔥 Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
Stars: ✭ 327 (+1823.53%)
Mutual labels:  pubsub
ESPNtpClient
High accuracy NTP library for ESP32 and ESP8266
Stars: ✭ 81 (+376.47%)
Mutual labels:  esp8266
MySQL MariaDB Generic
This MySQL_MariaDB_Generic library helps you connect your boards directly to a MySQL / MariaDB server, either local or cloud-based, so that you can store / retrieve data to / from the server. Supported boards are ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, P…
Stars: ✭ 35 (+105.88%)
Mutual labels:  esp8266
proximo
Interoperable GRPC based publish/subscribe
Stars: ✭ 38 (+123.53%)
Mutual labels:  pubsub
esp8266-oled-ssd1306-font-creator
Font creator for the esp8266-oled-ssd1306 library
Stars: ✭ 22 (+29.41%)
Mutual labels:  esp8266
low-power-wifi
Experiments in low-power-wifi on esp8266, esp32, and ...
Stars: ✭ 35 (+105.88%)
Mutual labels:  esp8266
terraform-splunk-log-export
Deploy Google Cloud log export to Splunk using Terraform
Stars: ✭ 26 (+52.94%)
Mutual labels:  pubsub
esp8266-esp32-sdk
Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
Stars: ✭ 147 (+764.71%)
Mutual labels:  esp8266
WebApiWithBackgroundWorker
Small demo showing how to implement Pub/Sub with a BackgroundWorker in .NET Core
Stars: ✭ 55 (+223.53%)
Mutual labels:  pubsub
SmartLEDLamp
A smart, web-enabled floor lamp with nice visual effects based on IKEA Vidja powered by ESP8266 and WS2801.
Stars: ✭ 22 (+29.41%)
Mutual labels:  esp8266
hanbo-db
hanboDB is a high available,low latency memory database system
Stars: ✭ 29 (+70.59%)
Mutual labels:  pubsub
home-assistant-opentherm-thermostat
Home Assistant OpenTherm Thermostat
Stars: ✭ 26 (+52.94%)
Mutual labels:  esp8266
MQTT-MotorizeBlinds
Code for ESP8266 Microcontrollers that control DIY motorized blids made from IKEA TUPPLUR blinds. Code in this repo is intentionaly to use with Homebridge MQTT plugin on raspberry Pi
Stars: ✭ 17 (+0%)
Mutual labels:  esp8266
DotMatrixDisplay
Display any messages to a LED Matrix Display
Stars: ✭ 19 (+11.76%)
Mutual labels:  esp8266
RetroWiFiModem
An ESP8266 based RS232 <-> WiFi modem with Hayes AT style commands and LED indicators
Stars: ✭ 65 (+282.35%)
Mutual labels:  esp8266

azure-iothub-pubsub-esp8266

Using the Arduino PubSub library with Azure IoT Hub on an ESP8266.

This sample demonstrates:

  • how to subscribe to a devicebound topic endpoint in Azure IoT Hub
  • how to publish to a cloudbound topic endpoint in Azure IoT Hub

Instructions

Ensure you have installed the necessary board dependencies for the ESP8266:

  1. Open the Arduino IDE preferences
  2. Add the following ESP8266 board configuration URL to the Additional Board Manager URLs field: http://arduino.esp8266.com/stable/package_esp8266com_index.json
  3. Open the Boards Manager in the Arduino IDE, search for 'ESP8266', and click install on the appropriate result.

Libraries needed (install via the Arduino IDE Library Manager):

  1. ESP8266WiFi
  2. PubSubClient
  3. ArduinoJson

Important: Before starting, follow the steps below to increase the message size allowed within the PubSubClientLibrary. This is necessary as the IoT Hub SAS token length exceeds the default allowable message size.

  1. Open the file PubSubClient.h for editing, located where you installed the PubSubClient library
  2. Change the value of MQTT_MAX_PACKET_SIZE variable from 128 to 256
  3. Save and close the file

You may now add your own Wifi and Azure Iot Hub credentials to this sketch before compiling + uploading.


Find a bug? Report it as an issue, or even better - send me a pull request!

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].