Learn R Programming

notifyme (version 0.3.0)

get_light_info: Get info on lights connected to your Hue hub

Description

This will return a dataframe containing information about the lights connected to your hue hub. It includes info on current, colour, is it on, and is it powered/reeachable.

Usage

get_light_info(bridge_ip = NULL, username = NULL, file = "~/r_keychain.rds")

Arguments

bridge_ip
Internal IP address of your hue bridge
username
Username for connecting to hue bridge
file
If the file listed here exists, it will try and use the private keys created by the function save_private_keys(). Just ignore if you want to manually give your bridge ip and username.

Examples

Run this code
## Not run: get_light_info(bridge_ip,username)

Run the code above in your browser using DataLab