and more......config.h renamed ax .txt to be able to attach,
cheers
Terry
[2023-10-15T19:05:38.098 CEST INFO ][ org.kde.kstars] - Welcome to KStars 3.6.7 Beta
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - Build: 2023-08-21T09:44:51Z
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - OS: "ubuntu"
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - API: "x86_64-little_endian-lp64"
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - Arch: "x86_64"
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - Kernel Type: "linux"
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - Kernel Version: "6.2.0-26-generic"
[2023-10-15T19:05:38.099 CEST INFO ][ org.kde.kstars] - Qt Version: 5.15.3
[2023-10-15T19:05:38.271 CEST DEBG ][ org.kde.kstars] - Opened the User DB. Ready.
[2023-10-15T19:05:38.397 CEST INFO ][ org.kde.kstars] - Processing "unnamedstars.dat" , HTMesh Level 3
[2023-10-15T19:05:38.397 CEST INFO ][ org.kde.kstars] - Sky Mesh Size: 512
[2023-10-15T19:05:38.466 CEST INFO ][ org.kde.kstars] - Loaded DSO catalog file: "unnamedstars.dat"
[2023-10-15T19:05:38.839 CEST WARN ][ org.kde.kstars] - "Star HD20 794 not found."
[2023-10-15T19:05:38.856 CEST WARN ][ org.kde.kstars] - "Star HD98 230 not found."
[2023-10-15T19:05:38.876 CEST INFO ][ org.kde.kstars] - Loaded DSO catalogs.
[2023-10-15T19:05:38.994 CEST INFO ][ org.kde.kstars] - Loading comets
[2023-10-15T19:05:39.103 CEST DEBG ][ org.kde.kstars] - Paths to color scheme : ("/usr/share/kstars/themes")
[2023-10-15T19:05:39.155 CEST DEBG ][ org.kde.kstars] - Reporting new timestep value: 60
[2023-10-15T19:05:39.182 CEST WARN ][ default] - libpng warning: iCCP: known incorrect sRGB profile
[2023-10-15T19:05:39.280 CEST WARN ][ default] - QObject::connect(QAction, Ekos::Scheduler): invalid nullptr parameter
[2023-10-15T19:05:39.393 CEST WARN ][ default] - libpng warning: iCCP: known incorrect sRGB profile
[2023-10-15T19:05:39.760 CEST DEBG ][ org.kde.kstars] - Starting the timer
[2023-10-15T19:05:39.900 CEST WARN ][ default] - QImage::scaled: Image is a null image
[2023-10-15T19:05:39.916 CEST WARN ][ org.kde.kstars.ekos] - Failed to automatically connect due to missing EkosLive credentials: "Entry not found"
[2023-10-15T19:05:43.704 CEST DEBG ][ org.kde.kstars] - Date/Time is: "dim. oct. 15 17:05:43 2023 GMT"
[2023-10-15T19:05:43.704 CEST DEBG ][ org.kde.kstars] - Location: "Greenwich, United Kingdom"
[2023-10-15T19:05:43.704 CEST DEBG ][ org.kde.kstars] - TZ0: 0 TZ: 0
[2023-10-15T19:05:43.705 CEST WARN ][ org.kde.kstars] - Current icon theme is "Pocillo"
[2023-10-15T19:05:46.534 CEST INFO ][ org.kde.kstars] - Loading comets
[2023-10-15T19:05:50.975 CEST INFO ][ org.kde.kstars] - Loading asteroids
[2023-10-15T19:06:05.970 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2023-10-15T19:06:09.166 CEST INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."
[2023-10-15T19:06:09.186 CEST INFO ][ org.kde.kstars.ekos] - "INDI services started on port 7 624."
[2023-10-15T19:06:09.208 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "OCS"
[2023-10-15T19:06:09.238 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "CCD Simulator"
[2023-10-15T19:06:09.255 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "Telescope Simulator"
[2023-10-15T19:06:09.477 CEST INFO ][ org.kde.kstars.ekos] - Connecting to "OCS"
[2023-10-15T19:06:09.520 CEST INFO ][ org.kde.kstars.ekos] - Connecting to "CCD Simulator"
[2023-10-15T19:06:09.522 CEST INFO ][ org.kde.kstars.ekos] - Connecting to "Telescope Simulator"
[2023-10-15T19:06:09.523 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator" Version: "1.0" Interface: 22 is connected.
[2023-10-15T19:06:09.618 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Connecting to 192.168.0.37@80 ... "
[2023-10-15T19:06:09.659 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Network based connection, detection timeouts set to 0.5 seconds "
[2023-10-15T19:06:09.663 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Telescope simulator is online. "
[2023-10-15T19:06:09.663 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator" Version: "1.0" Interface: 5 is connected.
[2023-10-15T19:06:09.735 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] InitPark: No Park data in file /home/terryb/.indi/ParkData.xml: No such file or directory "
[2023-10-15T19:06:09.735 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Mount is unparked. "
[2023-10-15T19:06:09.735 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Loading device configuration... "
[2023-10-15T19:06:09.736 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Upload settings set to client only. "
[2023-10-15T19:06:09.736 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Temperature ramp is disabled. "
[2023-10-15T19:06:09.736 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Setting current filter to slot 1 "
[2023-10-15T19:06:09.737 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Device configuration applied. "
[2023-10-15T19:06:09.738 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] OCS is online. "
[2023-10-15T19:06:09.738 CEST INFO ][ org.kde.kstars.ekos] - "OCS" Version: "0.1" Interface: 32 is connected.
[2023-10-15T19:06:09.802 CEST DEBG ][ org.kde.kstars.ekos] - Connecting "OCS"
[2023-10-15T19:06:09.802 CEST DEBG ][ org.kde.kstars.ekos] - Connecting "CCD Simulator"
[2023-10-15T19:06:09.802 CEST DEBG ][ org.kde.kstars.ekos] - Connecting "Telescope Simulator"
[2023-10-15T19:06:09.802 CEST INFO ][ org.kde.kstars.ekos] - "Connecting INDI devices..."
[2023-10-15T19:06:09.808 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Loading device configuration... "
[2023-10-15T19:06:09.809 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state. "
[2023-10-15T19:06:09.809 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Observer location updated: Latitude 51:28:04.8 (51.47) Longitude 0:00:00.0 (0.00) "
[2023-10-15T19:06:09.811 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Device configuration applied. "
[2023-10-15T19:06:09.814 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Loading device configuration... "
[2023-10-15T19:06:09.815 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Mount Policy set to: Mount ignored. Dome can park regardless of mount parking state. "
[2023-10-15T19:06:09.815 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Observer location updated: Latitude 51:28:04.8 (51.47) Longitude 0:00:00.0 (0.00) "
[2023-10-15T19:06:09.827 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Device configuration applied. "
[2023-10-15T19:06:09.899 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator" is connected and ready.
[2023-10-15T19:06:10.007 CEST INFO ][org.kde.kstars.ekos.observatory] - "Shutter is closed."
[2023-10-15T19:06:10.026 CEST INFO ][ org.kde.kstars.ekos.focus] - "Idle."
[2023-10-15T19:06:10.171 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator is online."
[2023-10-15T19:06:10.172 CEST INFO ][ org.kde.kstars.ekos] - "Guider port from CCD Simulator is ready."
[2023-10-15T19:06:10.172 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator filter is online."
[2023-10-15T19:06:10.218 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator" is connected and ready.
[2023-10-15T19:06:10.225 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator is online."
[2023-10-15T19:06:10.228 CEST INFO ][ org.kde.kstars.ekos] - "Guider port from Telescope Simulator is ready."
[2023-10-15T19:06:10.235 CEST INFO ][ org.kde.kstars.ekos] - "OCS is online."
[2023-10-15T19:06:10.721 CEST CRIT ][ org.kde.kstars.indi] - INDI driver "indi_ocs" crashed!
[2023-10-15T19:06:10.756 CEST INFO ][ org.kde.kstars.ekos] - "OCS is offline."
[2023-10-15T19:07:48.383 CEST DEBG ][ org.kde.kstars] - Daylight Saving Time active
[2023-10-15T19:07:48.383 CEST DEBG ][ org.kde.kstars] - Next Daylight Savings Time change (Local Time): "dim. oct. 29 01:00:00 2023 GMT"
[2023-10-15T19:07:48.383 CEST DEBG ][ org.kde.kstars] - Next Daylight Savings Time change (UTC): "sam. oct. 28 23:00:00 2023 GMT"
[2023-10-15T19:08:00.019 CEST DEBG ][ org.kde.kstars.ekos] - Disconnecting "CCD Simulator"
[2023-10-15T19:08:00.020 CEST DEBG ][ org.kde.kstars.ekos] - Disconnecting "Telescope Simulator"
[2023-10-15T19:08:00.020 CEST INFO ][ org.kde.kstars.ekos] - "Disconnecting INDI devices..."
[2023-10-15T19:08:00.066 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Telescope simulator is offline. "
[2023-10-15T19:08:00.066 CEST DEBG ][ org.kde.kstars.ekos] - "Telescope Simulator" is disconnected.
[2023-10-15T19:08:00.066 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator is disconnected."
[2023-10-15T19:08:02.874 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2023-10-15T19:08:02.913 CEST INFO ][ org.kde.kstars.ekos] - "INDI services stopped."
[2023-10-15T19:08:04.403 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2023-10-15T19:08:04.432 CEST INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."
[2023-10-15T19:08:04.454 CEST INFO ][ org.kde.kstars.ekos] - "INDI services started on port 7 624."
[2023-10-15T19:08:04.474 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "OCS"
[2023-10-15T19:08:04.499 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "Telescope Simulator"
[2023-10-15T19:08:04.521 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "CCD Simulator"
[2023-10-15T19:08:04.788 CEST INFO ][ org.kde.kstars.ekos] - Connecting to "OCS"
[2023-10-15T19:08:04.793 CEST INFO ][ org.kde.kstars.ekos] - Connecting to "Telescope Simulator"
[2023-10-15T19:08:04.795 CEST INFO ][ org.kde.kstars.ekos] - Connecting to "CCD Simulator"
[2023-10-15T19:08:04.833 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Telescope simulator is online. "
[2023-10-15T19:08:04.833 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator" Version: "1.0" Interface: 5 is connected.
[2023-10-15T19:08:04.910 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator" Version: "1.0" Interface: 22 is connected.
[2023-10-15T19:08:04.980 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] InitPark: No Park data in file /home/terryb/.indi/ParkData.xml: No such file or directory "
[2023-10-15T19:08:04.981 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Mount is unparked. "
[2023-10-15T19:08:04.981 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Connecting to 192.168.0.37@80 ... "
[2023-10-15T19:08:05.021 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Loading device configuration... "
[2023-10-15T19:08:05.021 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state. "
[2023-10-15T19:08:05.022 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Network based connection, detection timeouts set to 0.5 seconds "
[2023-10-15T19:08:05.022 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Observer location updated: Latitude 51:28:04.8 (51.47) Longitude 0:00:00.0 (0.00) "
[2023-10-15T19:08:05.023 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Device configuration applied. "
[2023-10-15T19:08:05.023 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] OCS is online. "
[2023-10-15T19:08:05.023 CEST INFO ][ org.kde.kstars.ekos] - "OCS" Version: "0.1" Interface: 32 is connected.
[2023-10-15T19:08:05.084 CEST DEBG ][ org.kde.kstars.ekos] - Connecting "OCS"
[2023-10-15T19:08:05.084 CEST DEBG ][ org.kde.kstars.ekos] - Connecting "Telescope Simulator"
[2023-10-15T19:08:05.084 CEST DEBG ][ org.kde.kstars.ekos] - Connecting "CCD Simulator"
[2023-10-15T19:08:05.085 CEST INFO ][ org.kde.kstars.ekos] - "Connecting INDI devices..."
[2023-10-15T19:08:05.090 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Loading device configuration... "
[2023-10-15T19:08:05.090 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Upload settings set to client only. "
[2023-10-15T19:08:05.090 CEST INFO ][ org.kde.kstars.indi] - Telescope Simulator : "[INFO] Observer location updated: Latitude 48:13:48.0 (48.23) Longitude -3:10:12.0 (-3.17) "
[2023-10-15T19:08:05.091 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Temperature ramp is disabled. "
[2023-10-15T19:08:05.091 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Setting current filter to slot 1 "
[2023-10-15T19:08:05.092 CEST INFO ][ org.kde.kstars.indi] - CCD Simulator : "[INFO] Device configuration applied. "
[2023-10-15T19:08:05.096 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Loading device configuration... "
[2023-10-15T19:08:05.097 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Mount Policy set to: Mount ignored. Dome can park regardless of mount parking state. "
[2023-10-15T19:08:05.098 CEST INFO ][ org.kde.kstars.indi] - OCS : "[INFO] Device configuration applied. "
[2023-10-15T19:08:05.241 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator" is connected and ready.
[2023-10-15T19:08:05.357 CEST INFO ][org.kde.kstars.ekos.observatory] - "Shutter is closed."
[2023-10-15T19:08:05.447 CEST INFO ][ org.kde.kstars.ekos.focus] - "Idle."
[2023-10-15T19:08:05.457 CEST INFO ][ org.kde.kstars.ekos] - "Telescope Simulator is online."
[2023-10-15T19:08:05.457 CEST INFO ][ org.kde.kstars.ekos] - "Guider port from Telescope Simulator is ready."
[2023-10-15T19:08:05.489 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator" is connected and ready.
[2023-10-15T19:08:05.495 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator is online."
[2023-10-15T19:08:05.496 CEST INFO ][ org.kde.kstars.ekos] - "Guider port from CCD Simulator is ready."
[2023-10-15T19:08:05.497 CEST INFO ][ org.kde.kstars.ekos] - "CCD Simulator filter is online."
[2023-10-15T19:08:05.506 CEST INFO ][ org.kde.kstars.ekos] - "OCS is online."
[2023-10-15T19:08:06.050 CEST CRIT ][ org.kde.kstars.indi] - INDI driver "indi_ocs" crashed!
[2023-10-15T19:08:06.075 CEST INFO ][ org.kde.kstars.ekos] - "OCS is offline."
Config.h
//
// Configuration for the Observatory Control System (OCS)
/*
* For more information on setting the OCS up see
www.stellarjourney.com/index.php?r=site/observatory_control
* and join the OCS Groups.io at
onstep.groups.io/g/onstep-ocs
*/
// ****** _RELAY and _SENSE numbers are mapped to pins in a platform specific pinmap, see: /src/pinmaps ******
// ****** Additional settings are present in /src/Config.defaults.h ******
//
// ADJUST THE FOLLOWING TO CONFIGURE YOUR CONTROLLER FEATURES
// <-Req'd = always must set, <-Often = usually must set, Option = optional, Adjust = adjust as req'd, Infreq = infrequently changed
// PINMAP
#define PINMAP OCS4 // OFF, Choose from: LEGACY, OCS1, OCS2, OCS3, OCS4, OCSE, OCSES2. <-Req'd
// Other boards/more info. in /src/Constants.h
// DISPLAY
#define DISPLAY_LANGUAGE L_en // L_en, English. L_en, L_us (for IMPERIAL units) two letter country code. Adjust
// WATCHDOG SETTINGS
#define WATCHDOG OFF // OFF, ON resets OCS after 8 sec. if it hangs for (nearly) any reason. Option
// NETWORK SETTINGS
#define ASCOM_ALPACA_SERVER ON // OFF, ON enables ASCOM Alpaca server on port 10000, requires W5500 Ethernet. Option
// Note: this disables the IP command servers on ports 9998, 9999 and
// works best w/my Ethernet library from:
github.com/hjd1964/Ethernet
#define CONNECT_CHECK_HOURS OFF // OFF, n. Where n=1 to 48 (hours.) Connection check time. Option
#define CONNECT_IP_ADDR {192,168,1,1} // Default is Arduino.cc. Needs ETHERNET_RESET_PIN and/or WATCHDOG to reset.
#define CONNECT_FAIL_WATCHDOG OFF // OFF, ON to stop all processing and trigger the watchdog reset. Option
// TIME SETTINGS
#define TIME_LOCATION_SOURCE NTP // NTP, Network Time Protocol w/IP address settings below, or DS3231 on I2C, Adjust
// or DS3234 on default SPI interface and default CS pin.
#define TIME_IP_ADDR {129,6,15,28} // ...6,15,28}, time-a-g.nist.gov at 129,6,15,28 or 129,6,15,29, 129,6,15,30, etc. Option
#define TIME_ZONE 1 // -5, Time Zone (US Eastern Standard Time in this case.) <-Req'd
#define TIME_DISPLAY UT1 // STD, Display Standard Time, UT1 to display Universal Time. Adjust
// STATUS PANEL FEATURES
#define STAT OFF // OFF, ON to enable the OCS website status panel display. Option
#define STAT_MAINS_SENSE OFF // OFF, n. Where n=1..8 (Sense#) mains power good, OFF (power failure) is UNSAFE Option
#define STAT_MAINS_CURRENT_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) measure/display current mains. Option
#define STAT_MAINS_AUX_CURRENT_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) measure/display current mains (aux.) Option
// Converts the analog measure (range 0 to 1.0) to Amps
#define STAT_MAINS_ANALOG_TO_CURRENT(x) (x*NAN)
#define STAT_DC_VOLTAGE_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) measure/display 12VDC power supply voltage. Option
#define STAT_DC_CURRENT_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) measure/display 12VDC power supply current. Option
#define STAT_BATTERY_VOLTAGE_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) measure/display 12V roof battery voltage. Option
#define STAT_BATTERY_CURRENT_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) measure/display 12V roof battery current. Option
// Converts the analog measure (range 0 to 1.0) to Volts
#define STAT_DC_ANALOG_TO_VOLTAGE(x) (x*NAN)
// Converts the analog measure (range 0 to 1.0) to Amps
#define STAT_DC_ANALOG_TO_CURRENT(x) (x*NAN)
#define STAT_PROCESSOR_RAM OFF // OFF, ON for display of Processor free RAM resources. Mega2560 only. Option
// POWER PANEL
#define POWER ON // OFF, ON to enable the OCS website power panel display. Option
#define POWER_DEVICE1_RELAY 10 // OFF, n. Where n=1..18 (Relay#) with _NAME below. Option
#define POWER_DEVICE1_MEMORY OFF // OFF, ON to enable memory (across power cycles) for this relay state. Option
#define POWER_DEVICE1_NAME "240v"
#define POWER_DEVICE2_RELAY 11 // OFF, n. Where n=1..18 (Relay#) with _NAME below. Option
#define POWER_DEVICE2_MEMORY OFF // OFF, ON to enable memory (across power cycles) for this relay state. Option
#define POWER_DEVICE2_NAME "12V mount"
#define POWER_DEVICE3_RELAY 12 // OFF, n. Where n=1..18 (Relay#) with _NAME below. Option
#define POWER_DEVICE3_MEMORY OFF // OFF, ON to enable memory (across power cycles) for this relay state. Option
#define POWER_DEVICE3_NAME "240V mount"
#define POWER_DEVICE4_RELAY 13 // OFF, n. Where n=1..18 (Relay#) with _NAME below. Option
#define POWER_DEVICE4_MEMORY OFF // OFF, ON to enable memory (across power cycles) for this relay state. Option
#define POWER_DEVICE4_NAME "t4"
#define POWER_DEVICE5_RELAY 14 // OFF, n. Where n=1..18 (Relay#) with _NAME below. Option
#define POWER_DEVICE5_MEMORY OFF // OFF, ON to enable memory (across power cycles) for this relay state. Option
#define POWER_DEVICE5_NAME "t5"
#define POWER_DEVICE6_RELAY OFF // OFF, n. Where n=1..18 (Relay#) with _NAME below Option
#define POWER_DEVICE6_MEMORY OFF // OFF, ON to enable memory (across power cycles) for this relay state. Option
#define POWER_DEVICE6_NAME ""
// LIGHTING PANEL
#define LIGHT ON // OFF, ON to enable the OCS website lighting panel display. Option
#define LIGHT_WRW_RELAY 1 // OFF, n. Where n=1..18 (Relay#) for Warm room white lights. Option
#define LIGHT_WRR_RELAY 2 // OFF, n. Where n=1..18 (Relay#) for Warm room red lights. Option
#define LIGHT_ORW_RELAY 3 // OFF, n. Where n=1..18 (Relay#) for Observing room white lights. Option
#define LIGHT_ORR_RELAY 4 // OFF, n. Where n=1..18 (Relay#) for Observing room red lights. Option
#define LIGHT_OUTSIDE_RELAY OFF // OFF, n. Where n=1..18 (Relay#) for Outside flood. Option
#define LIGHT_SW_SENSE OFF // OFF, n. Where n=1..8 (Sense#) for switch to turn WRW lights on/off. Option
// WEATHER PANEL
// Weather and Sky Conditions web page charts use "Chart.js"
www.chartjs.org/. Specifically, version 2.5 of "Chart.min.js"
// renamed to "Chart.js" and placed in the Micro SD card root directory (Fat32 formatted) and inserted into the W5100 Ethernet
// adapter. Downloaded from here
github.com/chartjs/Chart.js/releases/tag/v2.5.0 (page bottom for download links.)
#define WEATHER ON // OFF, ON to enable the OCS website weather panel display. Option
#define WEATHER_CHARTS ON // OFF, ON for logging and display of weather data graphic charts. Option
#define WEATHER_TEMPERATURE ON // OFF, ON for measuring outside temperature. Option
#define WEATHER_PRESSURE ON // OFF, ON for measuring barometric pressure. Option
#define WEATHER_NOMINAL_PRESSURE 1010 // 1010, n. Where n=500..1050 (in mb) site nominal pressure for Chart. Adjust
#define WEATHER_ALTITUDE 261 // 100, n. Where n=-86..5000 (meters) site altitude. Adjust
#define WEATHER_HUMIDITY ON // OFF, ON for measuring outside humidity. Option
#define WEATHER_WIND_SPD OFF // OFF, ON for measuring wind speed. Option
#define WEATHER_WIND_SPD_THRESHOLD 20 // 20, n. Where n=0..100 (in kph) wind speed above this is considered UNSAFE. Adjust
#define WEATHER_RAIN OFF // OFF, ON to enable rain sensor, a "wet" condition is considered to be UNSAFE. Option
#define WEATHER_CLOUD_CVR ON // OFF, ON to enable the cloud sensor, above WEATHER_SAFE_THRESHOLD is UNSAFE. Option
#define WEATHER_SAFE_THRESHOLD -14 // -14, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_VCLR_THRESHOLD -19 // -19, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_CLER_THRESHOLD -17 // -17, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_HAZE_THRESHOLD -14 // -14, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_OVRC_THRESHOLD -11 // -11, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_CLDY_THRESHOLD -8 // -8, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_VCLD_THRESHOLD -5 // -5, n. Where n=-25..0 (in Deg. C) Adjust
#define WEATHER_SKY_QUAL ON // OFF, ON for measuring sky quality (darkness in magnitudes per sq arc-sec.) Option
// WEATHER SENSORS
#define WEATHER_SENSOR_TPH_BME280 0x77 // OFF, 0x76 or 0x77 (I2C Address) to enable. Temperature, pressure, humidity. Option
#define WEATHER_SENSOR_TP_BMP280 OFF // OFF, 0x76 or 0x77 (I2C Address) to enable. Temperature, pressure. Option
#define WEATHER_SENSOR_TP_BMP085 OFF // OFF, 0x77 (I2C Address) to enable. Temperature, pressure. For BMP180 also. Option
#define WEATHER_SENSOR_TH_DHT OFF // OFF, n. Where n=1..8 (Sense#) to enable. Temperature, humidity. Option
// DHT device type DHT11, or DHT21, DHT22
#define WEATHER_SENSOR_TH_DHT_TYPE DHT11
#define WEATHER_SENSOR_TH_SI7021 OFF // OFF, 0x40 (I2C Address) to enable. Temperature, humidity. Option
#define WEATHER_SENSOR_T_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) to enable. Option
// Conversion factor, analog range 0 to 1.0 (x) to Deg. C; example TMP36 device 0.1V (-40°C) to 2.0V (150°C) w/3.3V MCU
#define WEATHER_SENSOR_T_ANALOG2DEGC(x) (((x*3.3)-0.1)*100.0-40.0)
#define WEATHER_SENSOR_WIND_CUP OFF // OFF, n. Where n=1..8 (Sense#) to enable. Wind speed, cup anemometer. Option
// Conversion factor, pulses per minute (x) to wind speed in KPH
#define WEATHER_SENSOR_WIND_CUP2KPH(x) (x*0.087)
#define WEATHER_SENSOR_WIND_EDGE FALLING // RISING or FALLING. Pulse edge to detect. Adjust
#define WEATHER_SENSOR_WIND_CUP_DB OFF // OFF, n. Where n=1..100 (ms) Wind Cup input debounce time. Option
#define WEATHER_SENSOR_WIND_REV_P OFF // OFF, n. Where n=1..16 (Analog#) to enable. Wind speed. Option
#define WEATHER_SENSOR_RAIN_GENERIC OFF // OFF, n. Where n=1..16 (Analog#) to enable. Option
#define WEATHER_SENSOR_RAIN_LOW 0.25 // 0.25, n. Where n=0.0 to 1.0 for lower range below which is dry. Option
#define WEATHER_SENSOR_RAIN_HIGH 0.75 // 0.75, n. Where n=0.0 to 1.0 for lower range below which is wet. Option
#define WEATHER_SENSOR_RAIN_DIGITAL OFF // OFF, n. Where n=1..8 (Sense#) to enable. e.g. Kemo M152K or Hydreon RG-9 Option
#define WEATHER_SENSOR_CLOUD_MLX90614 0x5A // OFF, 0x5A (I2C Address) to enable. Gets IR sky IR temp. for cloud detection. Adjust
#define WEATHER_SENSOR_SKYQ_TSL2591 0x28 // OFF, 0x28 (I2C Address) to enable. Sky brightness for sky quality estimate. Option
// THERMOSTAT PANEL
#define THERMOSTAT ON // OFF, ON to enable the OCS website thermostat panel display. Option
#define HUMIDITY_RELAY OFF // OFF, n. Where n=1..18 (Relay#) for dehumidifying. Option
#define HEAT_RELAY 16 // OFF, n. Where n=1..18 (Relay#) for indoor heat. Option
#define COOL_RELAY 17 // OFF, n. Where n=1..18 (Relay#) for cooling/venting. Option
#define THERMOSTAT_HUMIDITY ON // OFF, ON displays indoor humidity. N Option
#define CONTROL_WITH_ROOF_OPEN OFF // OFF, ON Heat/cool/dehumidify control whilst roof is open Option
// THERMOSTAT SENSORS
#define THERMOSTAT_SENSOR_TPH_BME280 0x76 // OFF, 0x76 or 0x77 (I2C Address) to enable. Temperature, pressure, humidity. Option
#define THERMOSTAT_SENSOR_TP_BMP280 OFF // OFF, 0x76 or 0x77 (I2C Address) to enable. Temperature, pressure. Option
#define THERMOSTAT_SENSOR_TP_BMP085 OFF // OFF, 0x77 (I2C Address) to enable. Temperature, pressure. For BMP180 also. Option
#define THERMOSTAT_SENSOR_TH_DHT OFF // OFF, n. Where n=1..8 (Sense#) to enable. Temperature, humidity. Option
// DHT device type DHT11, or DHT21, DHT22
#define THERMOSTAT_SENSOR_TH_DHT_TYPE DHT11
#define THERMOSTAT_SENSOR_TH_SI7021 OFF // OFF, 0x40 (I2C Address) to enable. Temperature, humidity. Option
#define THERMOSTAT_SENSOR_T_ANALOG OFF // OFF, n. Where n=1..16 (Analog#) to enable. Option
// Conversion factor, analog (x ranges from 0 to 1.0) to Deg. C; example TMP36 0.1V (-40°C) to 2.0V (150°C) w/3.3V MCU
#define THERMOSTAT_SENSOR_T_ANALOG2DEGC(x) (((x*3.3)-0.1)*100.0-40.0)
// ROOF/SHUTTER CONTROL PANEL
#define ROOF ON // OFF, ON to enable the OCS website roof/dome shutter panel display. Option
#define ROOF_USER_SAFETY_OVERRIDE ON // OFF, ON displays safety override button. Option
#define ROOF_AUTOCLOSE_DAWN OFF // OFF, ON displays option to automatically close roof at dawn. Option
#define ROOF_AUTOCLOSE_DAWN_DEFAULT OFF // OFF, ON enables AUTOCLOSE_DAWN option at startup, disabled otherwise. Option
#define ROOF_AUTOCLOSE_SAFETY OFF // OFF, ON closes the roof automatically if an UNSAFE condition is detected. Option
#define ROOF_CLOSE_PARKS_MOUNT OFF // OFF, n. Where n=1..18 (Relay#) momentarily engages this relay to park mount. Option
#define ROOF_MOTOR_OPEN_RELAY 8 // OFF, n. Where n=1..18 (Relay#) engages this relay to open roof. Option
#define ROOF_MOTOR_CLOSE_RELAY 9 // OFF, n. Where n=1..18 (Relay#) engages this relay to close roof. Option
#define ROOF_MOTOR_RELAY_MOMENTARY OFF // OFF, ON engage above momentarily (~1.5s) to start an automatic open or close. Option
#define ROOF_MOTOR_STOP_RELAY OFF // OFF, n. Where n=1..18 (Relay#) momentarily engages this relay to stop roof. Option
#define ROOF_POWER_RELAY 7 // OFF, n. Where n=1..18 (Relay#) This controls roof motor power. For DC motors Option
// SSR/MOSFET PWM controls speed. For garage door openers etc SW on/off only.
#define ROOF_POWER_PWM_FREQUENCY OFF // OFF, n. Where n=1..100 (Hz) PWM frequency for roof motor DC control. Option
#define ROOF_POWER_PWM_POWER OFF // OFF, n. Where n=10..100 (%) PWM power level for roof motor DC control. Option
#define ROOF_POWER_PWM_SOFTSTART OFF // OFF, ON For PWM soft start, start 0% adds 5%/sec until ROOF_POWER_PWM_POWER. Option
#define ROOF_INTERLOCK_SENSE OFF // OFF, n. Where n=1..8 (Sense#) Roof safety interlock, close allowed when ON. Option
#define ROOF_LIMIT_OPENED_SENSE 4 // OFF, n. Where n=1..8 (Sense#) Roof open switch (OPEN when ON.) Option
#define ROOF_LIMIT_CLOSED_SENSE 3 // OFF, n. Where n=1..8 (Sense#) Roof closed switch (CLOSED when ON.) Option
#define ROOF_TIME_AVG 30 // 300, n. Where n=30..1200 (seconds) Average time to open or close roof. Adjust
#define ROOF_TIME_TOL 2 // 30, n. Where n=0..120 (seconds) Additional time before stop & error thrown. Adjust
#define MOUNT_PARK_TIMEOUT 30 // 30, n. Where n=20..480 (seconds) Maximum time to park mount before error. Adjust
// DOME CONTROL PANEL
#define DOME OFF // OFF, ON to enable the OCS website dome panel display. Option
#define DOME_SHUTTER_LOCK OFF // OFF, ON to disable dome motion unless shutter is open. Option
// Usually this will be a GENERIC stepper driver or a servo SERVO_PE (Phase/Enable) or SERVO_EE (Enable/Enable)
#define AXIS1_DRIVER_MODEL OFF // OFF, Enter driver model (above) to activate the dome Azimuth axis. Option
#define AXIS1_DRIVER_MICROSTEPS OFF // OFF, n. Microstep mode when tracking. Option
#define AXIS1_DRIVER_STATUS OFF // OFF, ON, HIGH, or LOW. For driver status info/fault detection. Option
// for SERVO_PE and SERVO_EE driver models, encoder and PID settings:
#define AXIS1_ENCODER OFF // OFF, AB, CW_CCW, PULSE_DIR, PULSE_ONLY, SERIAL_BRIDGE. Option
#define AXIS1_SERVO_P 2.0 // 2.0, Proportional; scale of immediate response to position error. Adjust
#define AXIS1_SERVO_I 5.0 // 5.0, Integral; rate of increasing response to position error over time. Adjust
#define AXIS1_SERVO_D 1.0 // 1.0, Derivative; overshoot supression. Adjust
#define AXIS1_SLEW_RATE_DESIRED 1.0 // 1.0, n, (degrees/second) Maximum speed depends on processor. Adjust
#define AXIS1_STEPS_PER_DEGREE 60.0 // 60.0, n. Number of steps per degree for dome. Adjust
#define AXIS1_REVERSE OFF // OFF, ON Reverses movement direction, or reverse wiring instead to correct. Option
#define AXIS1_POWER_DOWN OFF // OFF, ON Powers off 30sec after movement stops or 10min after last<=1x guide. Option
#define AXIS1_LIMIT_MIN -180 // -180, n. Where n= 0..-360 (degrees.) Minimum Azimuth. Adjust
#define AXIS1_LIMIT_MAX 180 // 180, n. Where n= 0.. 360 (degrees.) Maximum Azimuth. Adjust
#define AXIS1_SENSE_HOME OFF // OFF, HIGH or LOW enables & state clockwise home position, as seen from front. Option
#define AXIS1_SENSE_LIMIT_MIN OFF // OFF, HIGH or LOW state on limit sense switch stops movement. Option
#define AXIS1_SENSE_LIMIT_MAX OFF // OFF, HIGH or LOW state on limit sense switch stops movement. Option
// Digital, optionally add: |HYST(n) Where n=0..1023 stability time in ms.
// Analog capable sense inputs also allow adding:
// |THLD(n) Where n=1..1023 (ADU) for Analog threshold.
// |HYST(n) Where n=0..1023 (ADU) for +/- Hystersis range.
#define AXIS1_WRAP OFF // OFF, ON Allows unlimited Azm range and ignores min/max limits. Option
#define AXIS2_DRIVER_MODEL OFF // OFF, Enter driver model to activate the (optional) dome Altitude axis. Option
#define AXIS2_DRIVER_MICROSTEPS OFF // OFF, n. Microstep mode when tracking. Option
#define AXIS2_DRIVER_STATUS OFF // OFF, ON, HIGH, or LOW. For driver status info/fault detection. Option
// for SERVO_PE and SERVO_EE driver models, encoder and PID settings:
#define AXIS2_ENCODER OFF // OFF, AB, CW_CCW, PULSE_DIR, PULSE_ONLY, SERIAL_BRIDGE. Option
#define AXIS2_PID_P 2.0 // 2.0, Proportional; scale of immediate response to position error. Adjust
#define AXIS2_PID_I 5.0 // 5.0, Integral; rate of increasing response to position error over time. Adjust
#define AXIS2_PID_D 1.0 // 1.0, Derivative; overshoot supression. Adjust
#define AXIS2_SLEW_RATE_DESIRED 1.0 // 1.0, n, (degrees/second) Maximum speed depends on processor. Adjust
#define AXIS2_STEPS_PER_DEGREE 60.0 // 60.0, n. Number of steps per degree for dome. Adjust
#define AXIS2_REVERSE OFF // OFF, ON Reverses movement direction, or reverse wiring instead to correct. Option
#define AXIS2_POWER_DOWN OFF // OFF, ON Powers off 30sec after movement stops or 10min after last<=1x guide. Option
#define AXIS2_LIMIT_MIN 0 // 0, n. Where n= 0..90 (degrees.) Minimum Altitude. Adjust
#define AXIS2_LIMIT_MAX 90 // 90, n. Where n= 0..90 (degrees.) Maximum Altitude. Adjust
#define AXIS2_SENSE_HOME OFF // OFF, HIGH or LOW enables & state clockwise home position, as seen from front. Option
#define AXIS2_SENSE_LIMIT_MIN OFF // OFF, HIGH or LOW state on limit sense switch stops movement. Option
#define AXIS2_SENSE_LIMIT_MAX OFF // OFF, HIGH or LOW state on limit sense switch stops movement. Option
#define FileVersionConfig 2
#include "Extended.config.h"