Device
Device Schema (Abstract Base)
Properties
| Name | Type | Description |
|---|---|---|
| id | Integer |
The unique identifier for the device. |
| uid | UUID |
No description |
| device_type | Enum(enclosure, ota, camera, focuser, instrument_rotator, filter_wheel, mount, weather_sensor, antenna, receiver, radio_backend) |
The type of the device. |
| model_id | Integer (Optional) |
No description |
| telescope_id | Integer (Optional) |
No description |
| observatory_id | Integer (Optional) |
No description |
| owner_id | Integer |
The organization or user which owns the device. |
| name | String(Unbounded) (Optional) |
The name of the device. |
| serial_number | String(100) (Optional) |
No description |
| image_id | UUID (Optional) |
No description |
| is_deleted | Boolean |
No description |
Relationships
| Relationship Name | Type |
|---|---|
| model | DeviceModel |
| owner | Entity |
| telescope | Telescope |
| observatory | Observatory |
| image | File |
| log | DeviceLogEntry |
| operational_constraint_actions | OperationalConstraintAction |
Subclasses
| Name | device_type |
|---|---|
Antenna |
antenna |
Focuser |
focuser |
Camera |
camera |
Enclosure |
enclosure |
FilterWheel |
filter_wheel |
InstrumentRotator |
instrument_rotator |
Mount |
mount |
Ota |
ota |
RadioBackend |
radio_backend |
Receiver |
receiver |
WeatherSensor |
weather_sensor |