main idea:
http://jpmens.net/2014/07/03/the-mosquitto-mqtt-broker-gets-websockets-support/
how to install:
http://www.xappsoftware.com/wordpress/2015/05/18/six-steps-to-install-mosquitto-1-4-2-with-websockets-on-debian-wheezy/comment-page-1/
https://www.element14.com/community/community/design-challenges/sci-fi-your-pi/blog/2015/06/22/pizzapi-mosquitto-websockets-success-tutorial
libwebsocket:
https://github.com/warmcat/libwebsockets/releases?after=v1.5.1
it does not work for some reason.. :(
node.js:
http://nodered.org/docs/hardware/raspberrypi.html
https://www.npmjs.com/package/mqtt
http://stackoverflow.com/questions/35347724/why-is-mqtt-not-connecting-with-nodejs
additional sites:
http://blog.thingstud.io/getting-started/free-mqtt-brokers-for-thingstudio/
http://blog.thingstud.io/recipes/how-to-make-your-raspberry-pi-the-ultimate-iot-hub/
https://github.com/warmcat/libwebsockets
http://hackaday.com/2016/05/27/minimal-mqtt-control-and-clients/
https://github.com/hexagon5un/mqtt-javascript-demo
http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/
webserver:
https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md
MQTT.js:
https://www.npmjs.com/package/mqtt#connect
add passwd to mosquitto:
http://stackoverflow.com/questions/31156817/how-to-set-username-password-mosquitto
http://www.steves-internet-guide.com/mqtt-username-password-example/
http://jpmens.net/2014/07/03/the-mosquitto-mqtt-broker-gets-websockets-support/
how to install:
http://www.xappsoftware.com/wordpress/2015/05/18/six-steps-to-install-mosquitto-1-4-2-with-websockets-on-debian-wheezy/comment-page-1/
https://www.element14.com/community/community/design-challenges/sci-fi-your-pi/blog/2015/06/22/pizzapi-mosquitto-websockets-success-tutorial
libwebsocket:
https://github.com/warmcat/libwebsockets/releases?after=v1.5.1
it does not work for some reason.. :(
node.js:
http://nodered.org/docs/hardware/raspberrypi.html
https://www.npmjs.com/package/mqtt
http://stackoverflow.com/questions/35347724/why-is-mqtt-not-connecting-with-nodejs
additional sites:
http://blog.thingstud.io/getting-started/free-mqtt-brokers-for-thingstudio/
http://blog.thingstud.io/recipes/how-to-make-your-raspberry-pi-the-ultimate-iot-hub/
https://github.com/warmcat/libwebsockets
http://hackaday.com/2016/05/27/minimal-mqtt-control-and-clients/
https://github.com/hexagon5un/mqtt-javascript-demo
http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/
webserver:
https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md
MQTT.js:
https://www.npmjs.com/package/mqtt#connect
add passwd to mosquitto:
http://stackoverflow.com/questions/31156817/how-to-set-username-password-mosquitto
http://www.steves-internet-guide.com/mqtt-username-password-example/