This function helps check and set the necessary environment variables to authenticate to a Hue bridge on the local network.

auth_local(
  ip = Sys.getenv("PHILIPS_HUE_BRIDGE_IP"),
  username = Sys.getenv("PHILIPS_HUE_BRIDGE_USERNAME")
)

Arguments

ip

the IP address of your Hue bridge

username

the username with access to your Hue bridge

Value

Returns TRUE (invisibly) if options were successfully set