/msgflo-arduino

Arduino library for easy Msgflo support on MQTT

Primary LanguageC++

msgflo-arduino

Arduino library for easily exposing devices on MQTT, with MsgFlo device discovery support. MsgFlo allows you to visually connect devices using Flowhub, to easily build "IoT" systems like home or factory automation, interactive art installations or similar.

Status

In production

  • Should work on all devices with WifiClient or EthernetClient support
  • Used for electronic door opener and sensors at Bitraf hackerspace
  • Tested on ESP32 boards, like Wemos w/OLED
  • Tested on several ESP8266 boards, like NodeMCU, Wemos D1, Olimex MOD-WIFI-ESP8266.
  • Tested on Texas Instruments Connected Tiva (Cortex M4)
  • Supports Arduino IDE 1.5+

Prerequisites

PubSubClient.

Note: For discovery message you have to increase MQTT_MAX_PACKET_SIZE to 512 or 1024. This can only be done inside PubSubClient.h, until new API is added for changing.

Installing

  1. Download
  2. Unzip the archive
  3. Move the msgflo-arduino-master directory to your Arduino/libraries folder
  4. Rename the msgflo-arduino-master to Msgflo

Usage

  1. Open your Arduino IDE
  2. Open one of the included example sketches. File -> Examples -> Msgflo -> button

License

MIT

Changelog

CHANGES.md