Payload Quick Reference
Payload fields
Section titled “Payload fields”Fields from the payload contract
JSON schema for telemetry (`type=connectivity`) and event (`type=button`, `event=press`) MQTT messages. for MQTT
Message Queuing Telemetry Transport — lightweight publish/subscribe protocol used between ESP32 and AWS IoT Core. telemetry and events:
| Field Name | Data Type | Example Value |
|---|---|---|
device_id | string | esp32-c |
ts | integer (epoch seconds) | 1782117400 |
| string | connectivity |
rssi | integer (dBm) | -54 |
uptime_s | integer (seconds) | 73987 |
heap_free | integer (bytes) | 244916 |
chip_temp_c | number (Celsius) | 29.5 |
chip_model | string | ESP32-S3 |
cpu_mhz | integer | 240 |
flash_bytes | integer (bytes) | 16777216 |
wifi_ssid | string | your-wifi-ssid |
wifi_status | integer |
|
wifi_channel | integer | 10 |
wifi_ip | string (IPv4) | 192.168.12.2 |
wifi_gateway | string (IPv4) | 192.168.12.1 |
wifi_dns | string (IPv4) | 192.168.99.1 |
clock_offset_ms | integer (milliseconds) | -62 |
| string | button |
event | string | press |