Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: ssensor-set-vdecay , Previous: ssensor-set-receiver-mac , Up: S , Home: Overview

Clamps Dictionary

ssensor-set-receiver-mac-wireless

Function

(ssensor-set-receiver-mac-wireless id mac-vector)

Set the receiver MAC address on sensor id via ESP-NOW. Sends the 6-byte MAC as two 4-byte parameter commands (param 0x10 = bytes 0-3, param 0x11 = bytes 4-5). The sensor acknowledges by sending a MAC announce via the old receiver, then reboots automatically. Retries up to 5 times if not acknowledged within 5 seconds. Returns a ref-cell – call (set-val stop-ref t) to abort retries.

Arguments

id Integer in the range [1..127] denoting the id of the sensor.
mac-vector A 6-element (unsigned-byte 8) vector e.g. #(88 230 197 21 162 32).

Author: Orm Finnendahl

Created: 2026-07-31 Fr 13:00

Validate