diff --git a/index.html b/index.html index 97b63f2..781b6e3 100644 --- a/index.html +++ b/index.html @@ -138,7 +138,7 @@ this.Status="Error"; }, gotWsMessage: function(e) { - var d=e.data; + var d=parseJSON(e.data); this.currentSpeed=d.speed; this.speed.set(this.currentSpeed); this.currentRPM=d.rpm;