Skip to content

DeviceSnapshot

DeviceSnapshot Schema (Abstract Base)

Properties

Name Type Description
id Integer The unique identifier for the device state.
device_id Integer The unique identifier for the device state.
device_type Enum(enclosure, ota, camera, focuser, instrument_rotator, filter_wheel, mount, weather_sensor, antenna, receiver, radio_backend) The type of the device.
recorded_at DateTime The timestamp when the device state was created.

Relationships

Relationship Name Type
device Device

Subclasses

Name device_type
CameraSnapshot camera
EnclosureSnapshot enclosure
FilterWheelSnapshot filter_wheel
FocuserSnapshot focuser
InstrumentRotatorSnapshot instrument_rotator
MountSnapshot mount
OtaSnapshot ota
WeatherSensorSnapshot weather_sensor