I'm using ESP8266 modules for IoT and while I already had a custom, outdated web application running with MEAN.js, I spotted your project on esp8266.com and decided to use it instead.
Turns out I'm using CloudMQTT as the MQTT broker and in order to get it to work, I had to perform the following changes to your code:
increase the port range (CloudMQTT uses at least 5 digit port values)
add support for secure websockets, as it is a requirement for CloudMQTT
I'm quite new to jade, polymer and the likes, in any case I tried following the code style as much as possible. It is currently working for me, so I thought it might be of use to others as well.
I'm using ESP8266 modules for IoT and while I already had a custom, outdated web application running with MEAN.js, I spotted your project on esp8266.com and decided to use it instead.
Turns out I'm using CloudMQTT as the MQTT broker and in order to get it to work, I had to perform the following changes to your code:
I'm quite new to jade, polymer and the likes, in any case I tried following the code style as much as possible. It is currently working for me, so I thought it might be of use to others as well.