aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-06-14 12:08:25 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-06-14 12:08:25 +0200
commit69dbda437da21c7e0e9bd2aa8f2ba8a2172a46fc (patch)
tree13a4dc5221a7c7343226f47b7ca4791cfa6745c1
parent667e74da028d9fc77ee3c43edfd879cfd7ad00c9 (diff)
downloadiot-workshop-ndc-2018-69dbda437da21c7e0e9bd2aa8f2ba8a2172a46fc.tar.gz
iot-workshop-ndc-2018-69dbda437da21c7e0e9bd2aa8f2ba8a2172a46fc.tar.bz2
iot-workshop-ndc-2018-69dbda437da21c7e0e9bd2aa8f2ba8a2172a46fc.tar.xz
iot-workshop-ndc-2018-69dbda437da21c7e0e9bd2aa8f2ba8a2172a46fc.zip
wip
-rw-r--r--assignments/mqtt-with-button/mqtt-with-button.md6
-rw-r--r--assignments/mqtt-with-button/mqtt-with-button.pdfbin857213 -> 858455 bytes
2 files changed, 5 insertions, 1 deletions
diff --git a/assignments/mqtt-with-button/mqtt-with-button.md b/assignments/mqtt-with-button/mqtt-with-button.md
index 30defc8..7da820d 100644
--- a/assignments/mqtt-with-button/mqtt-with-button.md
+++ b/assignments/mqtt-with-button/mqtt-with-button.md
@@ -11,6 +11,9 @@
* Install the *PubSubClient* library. Use the library manager under
*Sketch -> Include library -> Library Manager* to install it.
+* Open http://www.hivemq.com/demos/websocket-client/ and subscribe to
+ `ndc/#` or `ndc/$deviceId/#`.
+
## Step 1
Wire up this schematic on the bread board:
@@ -30,7 +33,8 @@ practice as it uses lots of energy. Instead use the `attachInterrupt`.
# Step 3
* Connect to the Wi-Fi network
-* Connect to MQTT broker
+* Connect to MQTT broker. Use `broker.hivemq.com:1883` as host and
+ port.
See the slides for example code.
diff --git a/assignments/mqtt-with-button/mqtt-with-button.pdf b/assignments/mqtt-with-button/mqtt-with-button.pdf
index ccb511e..9b4e92e 100644
--- a/assignments/mqtt-with-button/mqtt-with-button.pdf
+++ b/assignments/mqtt-with-button/mqtt-with-button.pdf
Binary files differ