Ubidots is fantastic! Definitely try it out. I built some slick dashboards with alerts and replaced Xively and Zapier in one swoop.
Thanks for sharing your code it is almost identical to what I tried I will tinker with it and see if I can find out why my code was going bananas. Seriously appreciate you sharing.
I would be interested in seeing your Azure code simply because I have not tried Azure