<html> <head> </head> <body> <span id="value" style="font-size:100px;">000</span> <script src="//linda-server.herokuapp.com/socket.io/socket.io.js"></script> <script src="//linda-server.herokuapp.com/linda/linda.js"></script> <script src="./jquery.js"></script> <script> var socket = io.connect('http://linda-server.herokuapp.com:80'); var linda = new Linda().connect(socket); var ts = linda.tuplespace('masuilab'); linda.io.on('connect', function(){ ts.watch({device:"edison"}, function(err, tuple){ if(err) return; $('#value').text(tuple.data.value); }); }); </script> </body> </html>