MQTT Server
MQTT Server
This page is to Setup and Config MQTT Server
Hardware and Software
Hardware
NodeMCU
Software
MQTT Server
Sanki Notes
You must have a Broker (e.g. mosquitto on PC/MAC or Server to Listen Publish and Sub)
ON MAC install brew before install mosquitto (<----- Broker on MAC for Test)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install http://mosquitto.org/download/ for Test Topic
OR http://kamilfb.github.io/mqtt-spy/ GUI-Monitor TOPIC
install brew install mosquitto on MAC / Windows have EXE
Start Broker on MAC : /usr/local/Cellar/mosquitto/1.4.7/sbin/mosquitto
Publish and Sub Message between esp8266 and terminal
Examples
This example is ..........
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