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_homelab_kit:hardware:itt_iot [2017/12/08 10:50] Somepuben:iot_homelab_kit:hardware:itt_iot [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 109: Line 109:
 </code> </code>
 if the JSON validated and the device had enough free space to store data. if the JSON validated and the device had enough free space to store data.
- 
  
 ==== Restart your device ==== ==== Restart your device ====
  
-http: // <ipaddr> / restart p 
 restarts the device in normal mode. Rebooting is necessary for new ones restarts the device in normal mode. Rebooting is necessary for new ones
 to activate the settings. to activate the settings.
Line 122: Line 120:
 } }
 </code> </code>
 +
 +
 +===== Normal mode =====
 +
 +Normal mode is the mode in which a device executes a user program. A prerequisite for normal operation is the running of WiFi and
 +MQTT server connection. If the connection can not be made, the device will be started in setup mode.
 +In this case, you should check the device settings (usernames, passwords, ...) and make sure that
 +network connection and server are working.
 +
 +==== Data exchange with the server====
 +
 +The data exchange with the server takes place through the MQTT protocol. The MQTT protocol uses publish-
 +subscribe pattern (https://en.wikipedia.org/wiki/Publish-subscribe_pattern) where the messages to be transmitted
 +(data) is organized by theme. The IoT framework has been tested on Mosquitto (http://mosquitto.org/)
 +server, but you can use another server or service that follows the MQTT protocol (for example:
 +Amazon AWS IoT, Azure IoT).
 +
 +==== MQTT items ====
 +
 +The IoT Framework defines some of the default themes used to track and track the device
 +remote management. If necessary, the user can create a thread as needed. Subject name
 +The name of the device is used for compilation. The device name is a unique name assigned by the user, which is
 +prefix device themes. For example, if the device name is "dev1", then the device's themes would be
 +"Dev1 / log", "dev1 / cfg", ... To achieve a better logical organization, devices should be distributed.
 +sub themes, to add a device to a sub theme, the name of the device must be named as the device containing the name
 +sub-topic For example, if you want to add "dev1" to the "itt / devices" subteme, the device should be
 +to name it "itt / devices / dev1"
 +
 +
en/iot_homelab_kit/hardware/itt_iot.1512730212.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