frudawski

huename

The huename functions allows it to rename Philips HUE devices.

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

Usage:

r = huename(deviceid,name,bridgenr,mode)

Where:

ParameterDescription
rIs the response struct.
deviceidSpecifies the device ID number, scalar or string or char. Note: that is the number in the first huelamps table column
nameSpecifies the new device name, string or char.
bridgenr
(optional)
Specifies the HUE bridge, scalar default: 1.
modemode: 'secure' (default) or 'allow-insecure' if a secure connection is not possible.

Example

Rename device number 6:

r = huename(6,'new name')

Result:

r =

  scalar structure containing the fields:

    success =

      scalar structure containing the fields:

        /lights/6/name = new_name

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 that comments are saved and published after review.