All this stuff is based on duino Framework (https://github.com/ecto/duino)
-
For asynchronous problems use of node-fibers library (https://github.com/laverdet/node-fibers)
-
For weather information use of wrapper for the yr.no API (https://github.com/evanshortiss/yr.no-interface)