ASCOM ObservingConditions: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
== Overview == | == Overview == | ||
The '''Deep Sky Chile Observing Conditions''' driver is an ASCOM-compliant driver that exposes weather and seeing data from the Deep Sky Chile site. It retrieves real-time meteorological data from the Deep Sky Chile API and maps it to standard ASCOM ObservingConditions properties. This driver is intended for remote observatory automation systems (like N.I.N.A., Voyager, SGP) to monitor environmental conditions. {| class="wikitable" | |||
{| class="wikitable" | |||
! Property | ! Property | ||
! Value | ! Value | ||
|- | |- | ||
| '''Version''' | | '''Version''' | ||
| | | 1.0.0 |- | ||
|- | |||
| '''Author''' | | '''Author''' | ||
| | | Cédric Thomas |} | ||
|} | |||
== Supported Sensors == | == Supported Sensors == | ||
The driver supports the following sensors: * Temperature, Humidity, Dew Point | |||
* Temperature, Humidity, Dew Point | |||
* Wind Speed & Wind Gust | * Wind Speed & Wind Gust | ||
* Seeing (StarFWHM) | * Seeing (StarFWHM) | ||
| Line 24: | Line 19: | ||
* Cloud Cover & Rain Rate | * Cloud Cover & Rain Rate | ||
== | == Operation Logic == | ||
The driver periodically queries the API (default: <code>http://api.deepskychile.com/weather</code>). It then performs the following operations: # Retrieves the JSON data via HTTP (TLS 1.2 secured) | |||
# Extracts sensor values (Temp, Hum, Seeing, etc.) | |||
# Converts cloud/rain status into percentage/rate | |||
# Supports stale data protection (configurable multiplier) | |||
# Provides detailed trace logging | |||
| Line 31: | Line 30: | ||
[Image of API data flow diagram] | [Image of API data flow diagram] | ||
== Configuration == | == Configuration == | ||
Open the driver’s Setup dialog from any ASCOM application to configure the following: * API URL Endpoint | |||
* API URL Endpoint | |||
* Polling interval (seconds) | * Polling interval (seconds) | ||
* Stale data multiplier | * Stale data multiplier | ||
| Line 50: | Line 38: | ||
=== Logging === | === Logging === | ||
Trace logs are stored in: : <code>Documents\ASCOM\Logs</code> | |||
: <code>Documents\ASCOM\Logs</code> | |||
== Installation | == Installation == | ||
Run the installer to: * Copy driver files | |||
* Register the COM driver | |||
* Add ASCOM profile entries | |||
== Uninstallation == | |||
Use Windows Add/Remove Programs. | Use Windows Add/Remove Programs. The uninstaller removes all files and registry entries. == Support == | ||
For help, contact: : Cédric Thomas (cedric@deepskychile.com) | |||
== Disclaimer == | == Disclaimer == | ||
This driver relies entirely on the Deep Sky Chile API. | This driver relies entirely on the Deep Sky Chile API. Always use redundant safety systems in remote observatory operations. ``` | ||
*** | |||
### Page 2: Deep Sky Chile Safety Monitor Driver | |||
```mediawiki | |||
= Deep Sky Chile Safety Monitor = | |||
== Overview == | |||
The '''Deep Sky Chile Safety Monitor''' is an ASCOM-compliant driver that exposes the safety status of Deep Sky Chile observatories. It retrieves the ''roofState'' ("open" or "closed") from the Deep Sky Chile API and converts it into an ASCOM SafetyMonitor ''IsSafe'' value. This driver is intended for remote observatory automation systems that rely on ASCOM SafetyMonitor devices. {| class="wikitable" | |||
! Property | |||
! Value | |||
|- | |||
| '''Version''' | |||
| 1.2.0 |- | |||
| '''Author''' | |||
| Cédric Thomas |} | |||
== Safety Logic == | |||
The driver maps the roof state to the ASCOM safety status: * '''Roof open''' → Safe = True | |||
* '''Roof closed''' → Safe = False | |||
== Operation Logic == | |||
The driver periodically queries the API at: : <code>http://api.deepskychile.com/observatories</code> | |||
It then performs the following steps: # Identifies the selected observatory | |||
# Reads its roofState | |||
# Converts this into ASCOM IsSafe | |||
# Supports stale data protection | |||
# Provides optional trace logging | |||
== Configuration == | |||
Open the driver’s Setup dialog from any ASCOM application to configure: * API URL | |||
* Observatory selection (dropdown list) | |||
* Polling interval | |||
* Stale data multiplier | |||
* Fail-safe mode | |||
* Trace logging | |||
=== Logging === | |||
Trace logs are stored in: : <code>Documents\ASCOM\Logs</code> | |||
== Installation == | |||
Run the installer to: * Copy driver files | |||
* Register the COM driver | |||
* Add ASCOM profile entries | |||
== Support == | == Uninstallation == | ||
Use Windows Add/Remove Programs. The uninstaller removes all files and registry entries. == Support == | |||
For help, contact: : Cédric Thomas ([email protected]) | |||
== Disclaimer == | |||
This driver relies entirely on the Deep Sky Chile API. Always use redundant safety systems in remote observatory operations. ``` | |||
### Next Step | |||
Would you like me to generate a summary email to Cédric Thomas notifying him that the documentation has been drafted? | |||
Revision as of 13:24, 4 December 2025
Deep Sky Chile Observing Conditions Driver
Overview
The Deep Sky Chile Observing Conditions driver is an ASCOM-compliant driver that exposes weather and seeing data from the Deep Sky Chile site. It retrieves real-time meteorological data from the Deep Sky Chile API and maps it to standard ASCOM ObservingConditions properties. This driver is intended for remote observatory automation systems (like N.I.N.A., Voyager, SGP) to monitor environmental conditions. {| class="wikitable" ! Property ! Value |- | Version | 1.0.0 |- | Author | Cédric Thomas |}
Supported Sensors
The driver supports the following sensors: * Temperature, Humidity, Dew Point
- Wind Speed & Wind Gust
- Seeing (StarFWHM)
- Sky Quality (NSB)
- Sky Temperature
- Cloud Cover & Rain Rate
Operation Logic
The driver periodically queries the API (default: http://api.deepskychile.com/weather). It then performs the following operations: # Retrieves the JSON data via HTTP (TLS 1.2 secured)
- Extracts sensor values (Temp, Hum, Seeing, etc.)
- Converts cloud/rain status into percentage/rate
- Supports stale data protection (configurable multiplier)
- Provides detailed trace logging
[Image of API data flow diagram]
Configuration
Open the driver’s Setup dialog from any ASCOM application to configure the following: * API URL Endpoint
- Polling interval (seconds)
- Stale data multiplier
- Trace logging (Enable/Disable)
Logging
Trace logs are stored in: : Documents\ASCOM\Logs
Installation
Run the installer to: * Copy driver files
- Register the COM driver
- Add ASCOM profile entries
Uninstallation
Use Windows Add/Remove Programs. The uninstaller removes all files and registry entries. == Support == For help, contact: : Cédric Thomas ([email protected])
Disclaimer
This driver relies entirely on the Deep Sky Chile API. Always use redundant safety systems in remote observatory operations. ```
- Page 2: Deep Sky Chile Safety Monitor Driver
```mediawiki
Deep Sky Chile Safety Monitor
Overview
The Deep Sky Chile Safety Monitor is an ASCOM-compliant driver that exposes the safety status of Deep Sky Chile observatories. It retrieves the roofState ("open" or "closed") from the Deep Sky Chile API and converts it into an ASCOM SafetyMonitor IsSafe value. This driver is intended for remote observatory automation systems that rely on ASCOM SafetyMonitor devices. {| class="wikitable" ! Property ! Value |- | Version | 1.2.0 |- | Author | Cédric Thomas |}
Safety Logic
The driver maps the roof state to the ASCOM safety status: * Roof open → Safe = True
- Roof closed → Safe = False
Operation Logic
The driver periodically queries the API at: : http://api.deepskychile.com/observatories
It then performs the following steps: # Identifies the selected observatory
- Reads its roofState
- Converts this into ASCOM IsSafe
- Supports stale data protection
- Provides optional trace logging
Configuration
Open the driver’s Setup dialog from any ASCOM application to configure: * API URL
- Observatory selection (dropdown list)
- Polling interval
- Stale data multiplier
- Fail-safe mode
- Trace logging
Logging
Trace logs are stored in: : Documents\ASCOM\Logs
Installation
Run the installer to: * Copy driver files
- Register the COM driver
- Add ASCOM profile entries
Uninstallation
Use Windows Add/Remove Programs. The uninstaller removes all files and registry entries. == Support == For help, contact: : Cédric Thomas ([email protected])
Disclaimer
This driver relies entirely on the Deep Sky Chile API. Always use redundant safety systems in remote observatory operations. ```
- Next Step
Would you like me to generate a summary email to Cédric Thomas notifying him that the documentation has been drafted?