Made rough skeleton of new improved version of home automation app.
This time I will be using AngularJS as well.
Worked on routing and partials.
Worked on the layout and css of the widgets. Added basic socket.io
communication (works but nothing really implemented yet).
Finnaly manager to get a properly shared db connection
(sqlite3). Really tried a lot of different combination, but in the end
went with this: http://stadolf.wordpress.com/2013/12/02/wiring-up-dependencies-in-node-js-wrap-up-of-my-best-practices-2/ this solution. Other than that, made a script to initialise the database (db-tool.js).
Merge github.com:bremme/home-automation