Skip to content

Commit

Permalink
Revert "MQTT support" (esprfid#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
omersiar committed Dec 4, 2017
1 parent 4f1b59b commit 3b3052d
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 258 deletions.
7 changes: 0 additions & 7 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.3beta] - 2017-12-03 (thunderace)
#### Added
- MQTT support

## [0.3beta] - 2017-10-28
#### Added
- Basic Authentication on WebSocket
Expand Down
10 changes: 0 additions & 10 deletions data/auth/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ function listCONF(obj) {
document.getElementById("intervals").value = obj.ntpinterval;
document.getElementById("DropDownTimezone").value = obj.timezone;
document.getElementById("hostname").value = obj.hostnm;
document.getElementById("mqtthost").value = obj.mqtthost;
document.getElementById("mqttport").value = obj.mqttport;
document.getElementById("mqtttopic").value = obj.mqtttopic;
document.getElementById("mqttuser").value = obj.mqttuser;
document.getElementById("mqttpwd").value = obj.mqttpwd;
if (obj.wmode === "1") {
document.getElementById("wmodeap").checked = true;
} else {
Expand Down Expand Up @@ -137,11 +132,6 @@ function saveConf() {
datatosend.timezone = document.getElementById("DropDownTimezone").value;
datatosend.hostnm = document.getElementById("hostname").value;
datatosend.adminpwd = a;
datatosend.mqtthost = document.getElementById("mqtthost").value;
datatosend.mqttport = document.getElementById("mqttport").value;
datatosend.mqtttopic = document.getElementById("mqtttopic").value;
datatosend.mqttuser = document.getElementById("mqttuser").value;
datatosend.mqttpwd = document.getElementById("mqttpwd").value;
websock.send(JSON.stringify(datatosend));
location.reload();
}
Expand Down
Loading

0 comments on commit 3b3052d

Please sign in to comment.