Difference between revisions of "Fullstack"

From Wiki2
Line 16: Line 16:
The IOT esp8266 Wemos device is a data creator sending out temperatures whenever they change. There should be more than one channel to send info on. The device also responds to messages from users telling it to turn on or off the light. The pub-sub client listening on the mgtt port 1883 sets a callback function whenever a message arrives. The data changes over time since the temperature sensor is leaning on the light bulb which gets hot when on.
The IOT esp8266 Wemos device is a data creator sending out temperatures whenever they change. There should be more than one channel to send info on. The device also responds to messages from users telling it to turn on or off the light. The pub-sub client listening on the mgtt port 1883 sets a callback function whenever a message arrives. The data changes over time since the temperature sensor is leaning on the light bulb which gets hot when on.


The server is running a an mqtt broker on port 1883.
The server is actually a regular express server, an mqtt broker and a websocket that lets mqtt run on it to the client. At minimum, it doesn't need the express server.  
 
===[[websockets]]===
===[[websockets]]===

Revision as of 15:06, 23 February 2016

test stacks

mqtt

now in

wamp/www/node/sb/mqtt/mqttMck/

iot

esp8266/mqttMck/mqtt/Mck.ino

server

server/node server3
Express server listening on port 3332
MQTT broker operating on port 1883
WebClient server MQTT through WS on port 3333

webclient

webclient/index2.html
  • uses IOT device, mqtt broker and web client
  • front end implemented in vanilla js, rxjs, angular-jxjs, react-redux, angular-redux

The IOT esp8266 Wemos device is a data creator sending out temperatures whenever they change. There should be more than one channel to send info on. The device also responds to messages from users telling it to turn on or off the light. The pub-sub client listening on the mgtt port 1883 sets a callback function whenever a message arrives. The data changes over time since the temperature sensor is leaning on the light bulb which gets hot when on.

The server is actually a regular express server, an mqtt broker and a websocket that lets mqtt run on it to the client. At minimum, it doesn't need the express server.

websockets