Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.52 KB

KELSUS-CAMP-2024.md

File metadata and controls

57 lines (44 loc) · 1.52 KB

Kelsus Camp 2024

0. Prerequisites

0.1 Read README

0.2 Device WiFi Credentials

In SoftAp mobile application in Provisioned seetings, then in Encrypted Communication choose Secured.

1. Publish to LED handler Topic

Publish to /filter/%s to request LED changes. Replace %s for the thing name.

To power on the LED publish to filter/dev-joaquin:

{
  "led":{
    "power": 1
  }
}

To power off the LED publish to filter/dev-joaquin:

{
  "led":{
    "power": 0
  }
}

2. Subscribe to Temperature Topic

Subscribe to /filter/%s to listen to temperature changes. Replace %s for the thing name.

Subscribe to filter/dev-joaquin, and you will receive a message like this:

{
  "temperatureSensor": {
    "thingName": "dev-joaquin",
    "temperatureValue": 0.000000,
    "iteration": 432
  }
}

3. Clean WiFi Credentials

To clean the WiFi credentials, you need to enable the flag Erase NVS partition on power on.

First you need to run the Espressif Menu Config, open a ESP-IDF Terminal and run idf.py menuconfig then enable the flag Erase NVS partition on power on (APP_NVS_FORCE_ERASE) inside Kelsus Camp 2024 menu.