huex v0.8.0 Huex.Bridge View Source

Structure holding the state of the connection with the bridge device

  • host - IP address or hostname of the bridge device
  • username - Username generated by the bridge (see authorize/2 and Hue Configuration API for details)
  • status - :ok or :error
  • error - error message

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Huex.Bridge{
  error: nil | binary(),
  host: binary(),
  status: Huex.status(),
  username: binary()
}