Struct philipshue::bridge::Bridge [] [src]

pub struct Bridge { /* fields omitted */ }

The bridge connection

Methods

impl Bridge
[src]

Creates a Bridge on the given IP with the given username

Gets the IP of bridge

Gets the username this Bridge uses

Gets all lights that are connected to the bridge

Gets the light with the specific id

Gets all the light that were found last time a search for new lights was done

Makes the bridge search for new lights (and switches).

The found lights can be retrieved with get_new_lights()

Sets the state of a light by sending a LightCommand to the bridge for this light

Renames the light

Deletes a light from the bridge

Trait Implementations

impl Debug for Bridge
[src]

Formats the value using the given formatter.