This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:iot:examples:setup:arcconf [2019/01/31 09:07] – created rim.puks | en:iot:examples:setup:arcconf [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| In this page, we will explain how you can configure the IoT Homelab modules for your router and selected MQTT broker. | In this page, we will explain how you can configure the IoT Homelab modules for your router and selected MQTT broker. | ||
| + | To configure the modules you will need: | ||
| + | - Wifi name and password. | ||
| + | - MQTT broker IP adress, port and username and password (if using password protected broker). | ||
| + | - A laptop/PC with WiFi connection and a program capable of HTTP POST request. | ||
| + | ====Required software==== | ||
| + | To configure the IoT Homelab modules you will need some kind of a program that allows to make a HTTP POST request. In this tutorial we will be using Advanced REST Client (ARC) that can be downloaded [[https:// | ||
| + | ====Connecting to the module==== | ||
| - | NB! If you want to reconfigure | + | If you run [[en: |
| + | |||
| + | After that, you should see it in the Wifi list of your device. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ====Handling | ||
| + | |||
| + | After opening | ||
| + | < | ||
| + | If you are using the Raspberry image we provided then only change the dname field. If you are using some other broker then you have to change all fields according to your setup. The fields are as following: | ||
| + | |||
| + | ^Field^Description^ | ||
| + | |dname|Name of the controller module. It is recommended to write the name physically on the module to avoid getting them mixed up.| | ||
| + | |wname|The SSID of the Wifi router | ||
| + | |wpass|The password for that Wifi connection| | ||
| + | |msrv|The IP address of the MQTT broker| | ||
| + | |mport|The port for the MQTT broker (Usually 1883 is used for connections without SSL and 8883 for connections with SSL.| | ||
| + | |muser|The username for the MQTT broker. Only relevant when using a broker with SSL.| | ||
| + | |mpass|The password for MQTT broker. Only relevant when using a broker with SSL.| | ||
| + | |mssl| A boolean that shows if SSL is used or not.| | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Once you have configured the fields as necessary press SEND to upload the configuration to the module. After a few seconds the following success indicator should appear after the body field. If it fails check if the connection with the module is still active and if you do not have any formatting mistakes. | ||
| + | |||
| + | {{: | ||