Knut services (knut.services
)¶
A Knut service provide data and implement functionalities which can be used by the APIs. For example, to switch a light, a service provide commands which are used by the API to switch the light on or off and to get e.g. status information of the light.
|
Provide local data like sunrise and sunset times. |
|
Create and manipulate a task. |
Note
Each light service must subclass the base class Light
.
|
Base class for light services. |
|
A dummy light for mock purpose. |
|
A TRÅDFRI light service. |
|
A RF 433 mHz light service. |
|
Light with the Tasmota firmware as light service. |
|
WLAN power socket as light service. |
Note
Each temperature service must subclass the base class
temperature.Temperature
.
|
Base class for temperature services. |
A dummy temperature for mock purpose. |
|
OpenWeatherMap temperature service. |