frudawski

huedel

The huedel function removes Philips HUE devices from a HUE bridge using their device serial number. This is necessary if you want to connect the device to another bridge.

Note: All hue function use curl commands to communicate with the HUE bridge. Please make sure it is installed. Curl is available for all major operating systems.

See also: huenew, huecon, huelamps, hueset, huesearch, huename, hueadd

Usage:

r = huedel(serial,bridgenr,mode)

Where:

ParameterDescription
rIs the response struct.
serialSpecifies the device’s serial number(s) to be added:
– string or char for single devices
– cell array with string or char for multiple devices
bridgenr
(optional)
Defines to which bridge the device will be added, default: 1.
mode'secure' (default) or 'allow-insecure' if a secure connection is not possible.

Examples

Remove device with ID number 4:

r = huedel(4)

Remove devices with numbers 4 and 7 from bridge number 2:

r = huedel([4 7],2)

Reference

Signify Netherlands B.V.: Philips HUE API version 1. High Tech Campus 48, Eindhoven; Netherlands, 2014.

Leave a comment

* I accept the use of cookies as well as the terms in the privacy policy. I accept that data provided by me is processed and saved. I know and accept that comments may be saved and published after review.