Learn R Programming

PhilipsHue (version 1.0.0)

create_user: Create local user

Description

The create_user() function allows you to create a user on a local Hue network, but it requires pressing the button on the Hue bridge then executing this command within 30 seconds. delete_user() is not implemented because, apparently, it can only be executed through remote authentication.

Usage

create_user(devicetype)

Arguments

devicetype

a string naming your app and the device it's running on; suggested format: <application_name>#<devicename> (e.g. Hue#iPhone13).

Value

Returns a list with the newly created username and clientkey

See Also

https://developers.meethue.com/develop/hue-api/7-configuration-api/#create-user