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:ittiot [2021/03/04 14:03] – [List of ITTIoT framework configuration parameters] heiko.pikneren:iot:examples:setup:ittiot [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 =====ITTIoT framework===== =====ITTIoT framework=====
 +  * Source code: [[http://gitlab.robolabor.ee/heikopikner/ittiot|Git]]
 +  * PlatformIO web page: [[https://platformio.org/lib/show/1681/ITTIoT|PlatformIO]]
  
 +ITTIoT is a full-featured IoT framework for the ESP8266 platform. The IoT framework aims to significantly simplify the creation of IoT applications on the ESP8266 platform. The MQTT protocol ([[https://en.wikipedia.org/wiki/MQTT|Wiki]]), which is widely used in the IoT field, is used to exchange data with the server. The IoT framework includes:
 +  * WiFi network / MQTT server connection management
 +  * sending / receiving messages from the server
 +  * save/change settings on the device
 +  * Remote device management
 ====Code structure==== ====Code structure====
  
Line 39: Line 46:
 | wpass                    | Wifi password     | | wpass                    | Wifi password     |
  
 +====MQTT default topics====
  
 +IoT Framework defines some default themes used for device monitoring and remote management. If necessary, topics can be created for the user as needed. The device name is used to create the topic name. The device name is a unique name specified by the user that is a prefix to device themes. For example, if the device name is "ESP30", then the device themes would be "ESP30/log", "ESP30/cfg" and so on.
 +
 +^ Topic  ^ Direction  ^ Description                                                                                  ^
 +| /log   | outgoing   | General messages from the IoT framework, messages from the user via the iot.log () function  |
 +| /link  | outgoing   | Device status: „Online”/”Offline”                                                            |
 +| /stat  | outgoing   | Automatically sent statistics 1x per minute                                                  |
 +| /cfg   | incoming   | Topic for device setup / firmware update via the MQTT server.                                |
 +
 +Statistics on the device and connection are sent periodically (by default once a minute) to the topic /stat. The last sent message is stored on the server (retained message) Saving the last status message allows you to evaluate the status of the device (amount of free memory, signal strength).
 +The status message contains the following data, in the form of a string and separated by tabs:
 +  * uptime in seconds
 +  * WiFi signal strength (dBm)
 +  * a number of messages desired to send 
 +  * a number of messages successfully sent
 +  * free RAM in the device (in bytes)
 +
 +Example: „2237734 -62 1409765 1409431 19272”
en/iot/examples/setup/ittiot.1614866639.txt.gz · Last modified: 2021/03/04 10: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