Skip to content

Commit

Permalink
Revert IP Address.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolpantunes committed May 9, 2019
1 parent b27853c commit 40eed2a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion webpages/bme280.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta charset="UTF-8">
<title>BME 280</title>
</head>
<body onload="setup('ws://192.168.4.1:8080/pubsub/');">
<body onload="setup('ws://192.168.0.1:8080/pubsub/');">
<header>
<h1>BME 280</h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion webpages/dht22.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta charset="UTF-8">
<title>DHT 22</title>
</head>
<body onload="setup('ws://192.168.4.1:8080/pubsub/');">
<body onload="setup('ws://192.168.0.1:8080/pubsub/');">
<header>
<h1>DHT 22</h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion webpages/js/sensor.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function setupWS(charts, ws) {
ws.onmessage = function (evt)
{
var received_msg = evt.data;
//console.log(received_msg);
console.log(received_msg);
var json = JSON.parse(received_msg);
var ts = json.ts*1000;
switch(json.topic) {
Expand Down
2 changes: 1 addition & 1 deletion webpages/sensor.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta charset="UTF-8">
<title>Sensor Monitor (BME 280 & BH 1750)</title>
</head>
<body onload="setup('ws://192.168.4.1:8080/pubsub/');">
<body onload="setup('ws://192.168.0.1:8080/pubsub/');">
<header>
<h1>Sensor Monitor (BME 280 & BH 1750)</h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion webpages/wsgw.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta charset="UTF-8">
<title>WSGW Status</title>
</head>
<body onload="setup('ws://192.168.4.1:8080/pubsub/');">
<body onload="setup('ws://192.168.0.1:8080/pubsub/');">
<header>
<h1>Web-Socket GateWay Status</h1>
</header>
Expand Down

0 comments on commit 40eed2a

Please sign in to comment.