Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS V2: mqtt topics status and commands
#1
Suggested Topic & Payload
SUBSCRIBE MQTT Topic:
KC686-A6/SELFMACADRESS/status

Payload (published every 60 seconds by esp):
{
  "sku": "KC686-A6",
  "version": "XX.XXX.XX",
  "mac": "SELFMACADRESS",
  "ip": "IP",
  "ssid": "dw360-4g",
  "macrouter": "WIFIMAC",
  "rssi": -64,
  "ut": 125,
  "ts": 1744429741
}

Publishing Behavior
  • Interval: Every 60 seconds
  • Field  ut : Incremented uptime in minutes since last boot
  • Field ts : Current Unix timestamp (in seconds)
  • Purpose: Provides a periodic heartbeat/status update from the device



Suggested Topic & Payload
MQTT Topic:
KC686-A6/SELFMACADRESS/restart
Payload: 1


restart the board


Suggested Topic & Payload
MQTT Topic:
KC686-A6/SELFMACADRESS/wifi
Payload: ssid:password


Switch WIFI credentials
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)