Greenhouse
Greenhouse unit module.
The Greenhouse is a Unit representing the shared greenhouse environment. It has light and temperature/humidity sensors but no actuation.
Greenhouse
¶
Bases: Unit
The greenhouse environment unit.
Automatically registers the AS7341 spectral light sensor and the SHT45 temperature/humidity sensor. There is one Greenhouse instance per controller.
Source code in pt/controller_3/src/plant_controller/greenhouse.py
__init__(db_client, busses)
¶
Initialize the greenhouse with its fixed sensor set.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
db_client
|
DatabaseClient
|
Database client for persisting measurements. |
required |
busses
|
dict[str, Any]
|
Dict of available bus instances. |
required |