Crate lci_gateway

Crate lci_gateway 

Source

Structs§

Configuration
How the device is configured to work in LCI.
Dimmer
A connected light that can go between 0 and 100 percent brightness.
Generator
A connected generator.
HVAC
A connected A/C
Percentage
A 0-100 percentage.
Switch
For things that go on and off. Ex: lights, water pump, water heater, etc.
Tank
A connected tank.
Thing
The “thing” in the LCI system.

Enums§

DeviceType
The type of device this “thing” represents.
DimmerBrightnessError
Returned when getting the brightness fails.
DimmerError
Returned when a Dimmer can not be made from the given “thing”.
GeneratorError
Returned when a Generator can not be made from the given “thing”.
GeneratorState
The generator’s detected discrete state.
GeneratorStateConversionError
The generator state could not be fetched.
HvacError
Returned when a HVAC can not be made from the given “thing”.
HvacFanMode
Possible HVAC fan settings.
HvacFanModeConversionError
The HVAC fan state could not be fetched.
HvacHighTemperatureFailure
The HVAC high temperature could not be fetched.
HvacInsideTemperatureFailure
The HVAC inside temperature could not be fetched.
HvacLowTemperatureFailure
The HVAC low temperature could not be fetched.
HvacMode
Posible states for the A/C system.
HvacModeConversionError
The HVAC mode could not be fetched.
HvacOutsideTemperatureFailure
The HVAC outside temperature could not be fetched.
HvacStatus
The current state of the A/C HVAC. If it is actively cooling, failing, etc.
HvacStatusConversionError
The HVAC status could not be fetched.
HvacStatusFailure
The HVAC status could not be fetched.
OnlineState
A device’s online state in the router. Offline meaning it can not be communicated with.
OnlineStateConversionError
Failed to get the online state of the device.
SetBrightnessError
The brightness of the dimmer could not be set.
SetError
Failed to set the value in the LCI gateway.
SwitchError
Returned when a Switch can not be made from the given “thing”.
SwitchRelayCurrentError
The switch relay usage could not be fetched.
SwitchState
The only two states of a switch.
SwitchStateConversionError
The switch state could not be fetched.
TankError
Returned when a Tank can not be made from the given “thing”.
TankLevelError
The tank level could not be fetched.
ThingError
Used when the list of things can not be fetched.

Functions§

get_things
Returns the “things” availabe in the LCI Gateway.