diff --git a/assets/js/sumorobot.js b/assets/js/sumorobot.js index 1e1740a..83fe44b 100755 --- a/assets/js/sumorobot.js +++ b/assets/js/sumorobot.js @@ -64,7 +64,7 @@ Sumorobot.prototype.connect = function() { self.watchdogTimer = setInterval(function() { /* send a ping to the robot */ //console.log("ping the robot") - self.send("ping"); + self.send("{'to': 'sumo-" + robotId + "@00000514', 'cmd': 'ping'}"); }, 500); }; /* when the WebSocket closes */