New features
Here are some ideas for new features that you can add to the project:
- ESP32-C3 DevkitM-1 doesn’t have a display, but it would be nice to have a feedback mechanism for the plug connection status. Use the devkit’s LED as an indicator to show the disconnected and connected events.
- We enabled the Local Control Service on the devices (https://rainmaker.espressif.com/docs/local-control-service.html). It runs a web server and mDNS on the device. Update the plug application to define an endpoint (https://docs.espressif.com/projects/esp-idf/en/v4.4.4/esp32c3/api-reference/protocols/esp_http_server.html) on the web server and handle the state change requests. You can use the following
curl
commands to test:$ curl -X PUT http://<ip>/state?value=ON $ curl -X PUT http://<ip>/state?value=OFF $ curl -X PUT http://<ip>/state?value=TOGGLE
- Update the multisensor application to discover the plug in the network by scanning...