MQTT Server

MQTT Server

This page is to Setup and Config MQTT Server

Hardware and Software

Hardware

NodeMCU

Software

MQTT Server

Sanki Notes

    1. You must have a Broker (e.g. mosquitto on PC/MAC or Server to Listen Publish and Sub)

  1. ON MAC install brew before install mosquitto (<----- Broker on MAC for Test)

  2. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  3. Install http://mosquitto.org/download/ for Test Topic

    1. OR http://kamilfb.github.io/mqtt-spy/ GUI-Monitor TOPIC

  4. install brew install mosquitto on MAC / Windows have EXE

  5. Start Broker on MAC : /usr/local/Cellar/mosquitto/1.4.7/sbin/mosquitto

  6. Publish and Sub Message between esp8266 and terminal

Examples

This example is ..........

    1. Reference

      • (Chinese ) http://makerpro.cc/2016/02/use-esp8266-and-mqtt-to-transfer-iot-data/

      • https://www.iot-experiments.com/door-detector-step-1/

      • http://cheng-min-i-taiwan.blogspot.hk/2015/03/raspberry-pimqtt-android.html

      • https://github.com/mqtt/mqtt.github.io/wiki/servers

      • http://emqtt.io/downloads

      • https://mosquitto.org/download/

      • https://github.com/tokudu/AndroidPushNotificationsDemo/tree/master/src/com/tokudu/demo

      • https://www.cloudmqtt.com/docs-java.html

      • https://www.cloudmqtt.com/docs.html

    • https://www.cloudmqtt.com (Cloud MQTT)

    • Developer Client Library : https://github.com/mqtt/mqtt.github.io/wiki/libraries

    • e.g. ESP8266 : https://github.com/tuanpmt/espduino