Skip to content

WeatherSensorConstraint

WeatherSensorConstraint Schema

Properties

Name Type Description
id Integer The unique identifier for the constraint.
weather_sensor_id Integer No description
weather_parameter Enum(ambient_temperature_c, light_level, cloud_temperature_delta_c, humidity_pct, pressure_hpa, wetness, wind_speed_instantaneous_m_per_sec, wind_speed_avg_1_min_m_per_sec, wind_speed_avg_2_min_m_per_sec, wind_speed_avg_10_min_m_per_sec, wind_speed_peak_1_min_m_per_sec, wind_speed_peak_2_min_m_per_sec, wind_speed_peak_10_min_m_per_sec) No description
uid UUID No description
constraint_type Enum(weather_sensor, storage, battery, camera_temperature, sun_altitude, mount_sun_separation) No description
owner_id Integer The organization or user which owns the constraint.
is_active Boolean No description
min_value Float (Optional) No description
max_value Float (Optional) No description
stability_threshold_sec Integer Amount of time in seconds the constraint must be stable before it is considered valid
peer_adoption_enabled Boolean Opt-in: on startup with no local history, adopt a peer installation's already-safe status for the same shared sensor to skip the stabilizing dead-band
max_data_age_sec Integer How long in seconds the constraint can go without an update before it is considered invalid
last_modified DateTime Timestamp of the most recent update to the constraint
is_deleted Boolean Flag indicating whether the constraint has been deleted
observatory_id Integer The observatory/site safety boundary for this constraint.
telescope_id Integer (Optional) Optional telescope context for telescope-specific constraints.

Relationships

Relationship Name Type
weather_sensor WeatherSensor
owner Entity
observatory Observatory
telescope Telescope
actions OperationalConstraintAction
states OperationalConstraintStatusSnapshot