Clamps Dictionary
ssensor-set-id
Function
(ssensor-set-id old-id new-id)
Change the sensor ID of sensor old-id to new-id via ESP-NOW. The new ID is stored persistently in the sensor's NVS flash and survives reboots. The receiver addresses the sensor using old-id to route the command wirelessly.
Arguments
old-id |
Current sensor ID (1..254). |
new-id |
New sensor ID (1..254). |