Control one LED by CID
Use Remocon esp32-cid-led. Connect an external LED through 330 Ω to GPIO4. Set WIFI_SSID, WIFI_PASS, and IO_HOST (io.remocon.kr, TCP 55488). Upload and wait for the board's ready CID.
- Connect the workbench to
wss://io.remocon.kr/wsand choose the CID LED preset. - Send EMPTY to
#search. A device replies on#notifywith its CID. - Apply that CID. Subscribe to
deviceCID@$name,deviceCID@$ui, anddeviceCID@$state. - Send TEXT
on,off, ortoggletodeviceCID@. - Confirm the device's published state and its physical LED.
The device receives @, validates TEXT and command termination, applies the output, and publishes @$state. Its name ESP32-LED:Tutorial is a label/classification, not a group channel. Anonymous reconnects can assign a new CID; discover again instead of retaining a stale address.
Direct reception uses on('@', handler) or a topic-specific listener in JS 7.2.0. It does not use subscribe('@'). CID publication subscriptions such as deviceCID@$state are valid. See client API.