This app shows how to run a node.js server on an Intel Galileo board. It uses the Grove temperature sensor to periodically read the current room temperature. The temperature is shown on a LCD display. Additionally the server accepts WebSocket connections via socket.io. Connected clients will be periodically informed about the current temperature. This is a fork of the „Local Temperature Node.js sample application“ which is distributed with the Intel® XDK IoT Edition. The code is completely refactored now.
The “Spartakiade App” is an hybrid app which runs on all smartphones. It utilizes Apache Cordova, AngularJS and the Ionic Framework. It connects to the node.js server and displays the last captured temperatures via chart.js. This is a full replacement for the original Local Temperature Companion App.