Mqtt

From Wiki2

MQTT

proxy

https://github.com/HublessGenericIoT/mqtt-proxy

https://ajarpitjainblog.wordpress.com/2016/05/29/how-to-create-a-proxy-layer-between-mqtt-broker-aws-iot-broker/

https://www.codeproject.com/articles/1077869/proxylayer-between-mqtt-broker-any-mqtt-broker-and

node TLS

http://www.hivemq.com/blog/mqtt-client-library-mqtt-js

var mqtt = require('mqtt');
var fs = require('fs');
var KEY = __dirname + '/tls-key.pem';
var CERT = __dirname + '/tls-cert.pem';
var TRUSTED_CA_LIST = [__dirname + '/crt.ca.cg.pem'];
 
var PORT = 1883;
var HOST = 'stark';
 
var options = {
  port: PORT,
  host: HOST,
  keyPath: KEY,
  certPath: CERT,
  rejectUnauthorized : true, 
  //The CA list will be used to determine if server is authorized
  ca: TRUSTED_CA_LIST
};
 
var client = mqtt.connect(options);
 
client.subscribe('messages');
client.publish('messages', 'Current time is: ' + new Date());
client.on('message', function(topic, message) {
  console.log(message);
});
 
client.on('connect', function(){
    console.log('Connected');
});

In case mqtts (mqtt over tls) is required, the options object is passed through to tls.connect(). If you are using a self-signed certificate, pass the rejectUnauthorized: false option. Beware that you are exposing yourself to man in the middle attacks, so it is a configuration that is not recommended for production environments.

from: https://www.npmjs.com/package/mqtt#connect

refs

https://github.com/esp8266/Arduino/blob/master/doc/esp8266wifi/client-secure-examples.md

https://github.com/mcollina/mosca/wiki/Mosca-advanced-usage

https://github.com/mcollina/mosca/blob/master/examples/secure/secureClient.js

https://auth0.com/docs/tutorials/authenticating-devices-using-mqtt

https://github.com/256dpi/arduino-mqtt

https://io.adafruit.com/blog/security/2016/07/05/adafruit-io-security-esp8266/

reactive

https://github.com/Reactive-Extensions/RxJS/issues/112

clustering

pubsubclient library api

current projects

mqttMck

in c://wamp/www/node/sb/mqtt/hqtthrs

mqttMck

in c://wamp/www/node/sb/mqtt/hqttMck

refs


URL list from Monday, Jan. 18 2016 15:48 PM

To copy this list, type [Ctrl] A, then type [Ctrl] C.

10.0.1.102:3072 http://10.0.1.102:3072/

IoT - Switch ESP8266 + LUA + MQTT + NodeJS + Socket.IO + AngularJS - YouTube https://www.youtube.com/watch?v=xmKd2lYqEPA

tuanpmt/esp_mqtt: MQTT client library for ESP8266 Soc https://github.com/tuanpmt/esp_mqtt

Report the temperature with ESP8266 to MQTT - Home Assistant https://home-assistant.io/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/

mcollina/mosca https://github.com/mcollina/mosca

What is Redis and what do I use it for? - Stack Overflow http://stackoverflow.com/questions/7888880/what-is-redis-and-what-do-i-use-it-for

Getting started with MQTT | The Jackal of Javascript http://thejackalofjavascript.com/getting-started-mqtt/

mqttApp/server.js at master · arvindr21/mqttApp https://github.com/arvindr21/mqttApp/blob/master/server/server.js

MQTT and Node.js http://mcollina.github.io/mqtt_and_nodejs/#9

NodeMCU -- An open-source firmware based on ESP8266 wifi-soc. http://nodemcu.com/index_en.html

eclipse/ponte: Ponte Project https://github.com/eclipse/ponte

CoAP — Constrained Application Protocol | Overview http://coap.technology/

MQTT.js/secure-client.js at master · mqttjs/MQTT.js https://github.com/mqttjs/MQTT.js/blob/master/examples/client/secure-client.js

Sublime - wiki http://wiki.sitebuilt.net/wiki/index.php?title=Sublime

test.mosquitto.org http://test.mosquitto.org/

MQTT over WebSockets http://test.mosquitto.org/ws.html

view-source:test.mosquitto.org/ws.html view-source:http://test.mosquitto.org/ws.html

Free MQTT brokers for use with ThingStudio - ThingStudio BlogThingStudio Blog http://blog.thingstud.io/getting-started/free-mqtt-brokers-for-thingstudio/

Make your Raspberry Pi into the Ultimate IoT Hub - ThingStudio BlogThingStudio Blog http://blog.thingstud.io/recipes/how-to-make-your-raspberry-pi-the-ultimate-iot-hub/

Add a web client for MQTT-over-Websocket · Issue #87 · mcollina/mosca https://github.com/mcollina/mosca/issues/87

hivemq/hivemq-mqtt-web-client: A websockets based MQTT Client for your browser. https://github.com/hivemq/hivemq-mqtt-web-client

A full-featured Javascript MQTT client for your browser http://www.hivemq.com/blog/full-featured-mqtt-client-browser

Paho - Open Source messaging for M2M http://www.eclipse.org/paho/

Paho - Open Source messaging for M2M https://www.eclipse.org/paho/clients/js/

Tab-Snap - Chrome Web Store https://chrome.google.com/webstore/detail/tab-snap/ajjloplcjllkammemhenacfjcccockde?utm_source=chrome-app-launcher-info-dialog