Skip to main content

When using local control with security level 1, rapidly tapping device controls in the app causes lag. Why, and what is the fix?

This is a limitation of the Protocomm communication protocol used for security level 1. Security level 1 encryption uses a strict request-response model — each control command requires one complete exchange. Rapid tapping causes encryption offset mismatches, which disrupts the local control session.

Fix: Set the local control security level to 0:

CONFIG_ESP_RMAKER_LOCAL_CTRL_SECURITY_0=y
CONFIG_ESP_RMAKER_LOCAL_CTRL_SECURITY_1=n