Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot:examples:setup:arcconf [2019/02/20 14:00] rim.puksen:iot:examples:setup:arcconf [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 13: Line 13:
 ====Connecting to the module==== ====Connecting to the module====
  
-If you power on the module for the first time, it will go to Boot mode. That means it will create a Wifi access point that you can connect to with your laptop. That happens every time the module cannot connect to the router or the broker.+If you run [[en:iot:examples:setup:confmode|Configuration mode example]] and push a button, then the module will go to configuration mode. That means it will create a Wifi access point that you can connect to with your laptop.
  
-{{:en:iot:examples:setup:iotmodulealgorithm.png?300|}}+After that, you should see it in the Wifi list of your device.
  
- +{{:en:iot:examples:setup:wifi.png?300|}}
-NB! If you want to reconfigure the module you have to first disable (or move out of range) the current router the module is configured to. That is because if the module can connect to the router and broker defined, it does not create an access point.+
  
 ====Handling the ARC program==== ====Handling the ARC program====
 +
 +After opening the ARC program. First select the POST method. After that type <code>http://192.168.4.1/set/config</code> in the Request URL field. Then select the Body parameter and copy the following line there:
 +<code>{"dname":"ESP44","wname":"raspberryIoT","wpass":"piIoT123","msrv":"192.168.4.1","mport":"1883","muser":"test","mpass":"test","mssl":"false"}</code>
 +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 you wish to connect to|
 +|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.|
 +
 +{{:en:iot:examples:setup:arc_settings.png?600|}}
 +
 +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.
 +
 +{{:en:iot:examples:setup:success.png?300|}}
en/iot/examples/setup/arcconf.1550671242.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0