This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot:examples:setup:ittiot [2021/03/04 15:08] – [MQTT default topics] heiko.pikner | en: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:// | ||
+ | * PlatformIO web page: [[https:// | ||
+ | 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:// | ||
+ | * 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 48: | Line 55: | ||
| /stat | outgoing | | /stat | outgoing | ||
| /cfg | incoming | | /cfg | incoming | ||
+ | |||
+ | 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” |