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:
Parameter | Description |
s | Is the returned search result struct. |
bridgenr | Defines which bridge should perform the search. |
mode (optional) | mode: 'secure' (default) or 'allow-insecure' if a secure connection is not possible. |
Example
Perform search on bridge number 1:
s = huesearch(1)
Reference
Philips HUE API version 1. High Tech Campus 48, Eindhoven; Netherlands, 2014.