huesearch

The huesearch function looks for new Philips HUE devices and adds them to a specified HUE bridge. If you have problems adding new devices, try the hueadd function.

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, hueadd, huename

Usage:

s = huesearch(bridgenr,mode)

Where:

ParameterDescription
sIs the returned search result struct.
bridgenrDefines which bridge should perform the search.
mode
(optional)
mode: 'secure' (default) or 'allow-insecure' if a secure connection is not possible.

Examples

Perform search on bridge number 1:

s = huesearch(1)

Perform search on bridge number 2 allowing for insecure http connection:

s = huesearch(2,'allow-insecure')

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.