|flabbergast b5888e6887 Update README.||5 years ago|
|modules||6 years ago|
|public||6 years ago|
|views||6 years ago|
|.gitignore||6 years ago|
|README.md||5 years ago|
|TODO.md||6 years ago|
|app.js||6 years ago|
|package.json||6 years ago|
Hopefully it should not be too hard for you to poke around the sources, figuring out what code does what and how to modify it to one’s needs.
While doing this project was fun, I have moved on to a different solution for the same “problem”. The approach taken in this project is “one app to rule them all”: the node app monitors the incoming transmissions, processes them, logs the data, takes care of displaying the data over http. I was having hard time making the logging work the way I wanted, and figuring out how to display graphs was a bit daunting. So, all in all, I probably won’t work on this anymore.
The basic hardware setup is:
The software setup / server side:
git clone https://github.com/flabbergast/node-llap
npm installfrom the app’s source directory
Note that currently the app expects one Ciseco’s sensor with a thermistor, in the cyclic sleep/transmit mode. The device name should be
TM. All the other LLAP will be only displayed in the log.
Since it’s veery unlikely that you’ll have the same setup as me, some editing of the sources might be necessary. For this reason, I’m including some explanations for the sources; and list some current limitations:
modules/socket_server.js); and code to deal with the serial port (
socket.emit(...); for ‘listening’ for a message and act upon its receipt one uses
public/js/index.js. Clicking on buttons (code in
socket.emit’s, received messages are
socket.on-listened to in
socket_client.js, which then updates the page using jquery.
Working code (on my machines). Running elsewhere will likely need some source modifications.
Originally inspired by Node-LEDS.