Sample ESP8266 arduino code to use with DIoTY.co cloud MQTT service.
Note that you need PubSubClient library from @Knolleary. You can find it here: https://github.com/knolleary/pubsubclient
Make sure you update the values specified below with your id's and passwords:
"yourSSID" the SSID of your WiFi network "yourNetworkPassword" you wifi password "yourDIoTYuserId" email address used to register with DIoTY "yourDIoTYpassword" your DIoTY password