David's Astronomy Pages
Notes - Session 1171 (2023-12-02)

 
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (0),  Minor Issues (5),  Small Defects (3),  Continuous Improvement (8)
Bullet Images from 2023-12-02 >>         
   
Bullet Pulsar Dome - Recalibration
Bullet Pulsar Dome - ASCOM Conformance Tests
Bullet Pulsar Dome - Shutter Software Reinstall (Shutter 1.25)
   
2023-12-03
Bullet Zigbee - Smart Plug for Greenhouse Heater
   
2023-12-04
Bullet Investigation - OpenWeather JSON Parsing Issue
   
   

Session Aims & Highlights (2023-12-02)

Main aims

  1. Targets.  Acquire images of a selection of variable stars, nearby stars, comets & deep sky targets as allowed by sky conditions.
  2. Dome Shutter. Check Dome Shutter Communication following issues early in the day.
  3. Dome Slews. Check Dome Slew following  Communication following issues early in the day.
  4. 12P/Pons-Brooks. Acquire images of Comet 12P/Pons-Brooks which has been undergoing an outburst.
  5. Nebula. Retake interesting Nebula fetaure lying in Mosaic Point 6 seen in TR 37 Mosaic in S1171 session but with more frames and longer exposure.

 Equipment & Software

Highlights

Notes:

Summary Plots & Logs

Observing Plan
Image
  
Observing Result
Image
   
Image
 
Dome & Scope Slewing Performance
Image
  
Slew/Centering Performance
Image
  
Guiding Performance
Image
  
Sky Conditions (Locate Frames)
Image 
  
Night Sky Summary Plot
Top axis: Sky Brightness at Zenith (in ADU/s)
Lefthand axis: Local Time (hh LT). Righthand axis: Sun Altitude (degs)
Image   
  
Actual Weather vs Pre-Session Weather Forecast
Image
Image
  
Session Event Log
Time     Event Detail
17:41:42 Session Monitoring AutoStart monitoring for Live Session opportunity between 17:41 & 06:07
17:41:43 Session AutoStarting Session autostarting (17:41)
17:41:52   CCDSoft Restarting CCDSoft being restarted (to set AutoSave No.)
17:41:56   Observatory Door Observatory Door has opened
17:42:11   Observatory Door Observatory Door has closed (open time 15s)
17:42:17   Camera1 Connected SBIG Camera connected (Set point -30°C)
17:42:19 Session Created Session Created (Live, 2023-12-02 S01171, ImageSaveNum: 1171001)
17:42:24   Scope Switched On Telescope Power has been switched on via UPB Powerbox.
17:44:10   Services Started Observatory Services started
17:44:17 Observatory (Auto) Observatory placed in Fully-Automated Mode
17:44:19 Session Pending Session pending (2023-12-02)
17:44:21 Session Initiating Session initiating (2023-12-02)
17:44:24   Plan Requested Observing Plan requested from AstroPlan (1.39)
17:46:05   Plan Loaded Observing Plan loaded to queue (Plan ID: 945)
17:46:19   Camera1 Connected SBIG Camera connected (Set point -25°C)
17:46:54   Telescope Connected Telescope connected (TheSky6)
17:47:19 Session Equilibration Session ready to Open Dome
17:48:49   Dome Opened Dome opened (opening time 90s)
17:48:51 Session Running Session running
17:48:54   Queue Started Observing Queue started (45 targets selected)
17:48:55     Target Started (NrZen) Target started (Focus Field 22, HIP 108888)
17:49:09       Dome Unparked Dome unparked
17:52:38       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
17:54:58       Focusing Completed Foc1 AutoFocus Completed (Profile No 1, wide)
17:57:01       Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
17:57:03       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
17:59:18       Focusing Completed Foc2 AutoFocus Completed (Profile No 2, wide)
18:01:04       Focusing Completed Foc2 AutoFocus Completed (Profile No 2)
18:01:21     Target Completed (NrZen) Target completed (Focus Field 22, HIP 108888)
18:01:26     Target Started (1/45) Target started (1/45, NGC 7171 w/SN2023yoo)
18:06:12       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
18:08:44       Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
18:25:11     Target Completed Target completed (1/45, NGC 7171 w/SN2023yoo)
18:25:15     Target Started (2/45) Target started (2/45, WDS GRB 34)
18:33:49     Target Completed Target completed (2/45, WDS GRB 34)
18:33:54     Target Started (3/45) Target started (3/45, 144P/Kushida)
18:36:58       Focusing Skipped Foc1 focusing skipped - unable to find a star (TCF-S)
18:48:13     Target Completed Target completed (3/45, 144P/Kushida)
18:48:18     Target Started (4/46) Target started (4/46, GCVS V0390 Cep, ToO)
18:51:59       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
18:54:19       Focusing Completed Foc1 AutoFocus Completed (Profile No 4)
19:03:48       SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
19:03:53       SoftSuspend Cancelled Soft Suspend is cancelled due to improved conditions
19:07:04       SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
19:09:24     Target Completed Target completed (4/46, GCVS V0390 Cep, ToO)
19:09:26   Queue Paused Queue paused for Session Suspension
19:09:28 Session Suspending Session suspending
19:10:14   Dome Closed Dome closed (closing time 50s)
19:10:16 Session Suspended Session suspended
19:10:44     Target Missed (5/46) Target's time slot was missed (5/46, AT2021afdl (CV))
19:22:10 Session Resuming Session resuming
19:23:46   Dome Opened Dome opened (opening time 95s)
19:23:48 Session Running Session running
19:23:50   Queue Resumed Observing Queue resumed
19:23:53     Target Started (6/46) Target started (6/46, AT2023rfq)
19:36:31     Target Completed Target partially completed (6/46, AT2023rfq)
19:36:35     Target Started (7/46) Target started (7/46, AT2023rao (CV))
19:58:35     Target Completed Target completed (7/46, AT2023rao (CV))
19:58:39     Target Started (8/46) Target started (8/46, GCVS BL Lac)
20:01:39       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:03:37       Focusing Completed Foc1 AutoFocus Completed (Profile No 5)
20:07:32     Target Completed Target completed (8/46, GCVS BL Lac)
20:07:36     Target Started (9/46) Target started (9/46, AT2022szi)
20:10:31       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:12:41       Focusing Completed Foc1 AutoFocus Completed (Profile No 6)
20:29:06     Target Completed Target completed (9/46, AT2022szi)
20:29:10     Target Started (10/46) Target started (10/46, 12P/Pons-Brooks)
20:32:42       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:34:58       Focusing Completed Foc1 AutoFocus Completed (Profile No 7)
20:47:03     Target Completed Target completed (10/46, 12P/Pons-Brooks)
20:47:07     Target Started (11/46) Target started (11/46, Nova Cas 2021)
20:50:04       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:52:03       Focusing Completed Foc1 AutoFocus Completed (Profile No 8)
21:03:52     Target Completed Target completed (11/46, Nova Cas 2021)
21:04:09     Target Started (12/46) Target started (12/46, GCVS TT Ari)
21:07:47       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:09:58       Focusing Completed Foc1 AutoFocus Completed (Profile No 9)
21:16:39     Target Completed Target completed (12/46, GCVS TT Ari)
21:17:05     Target Started (13/46) Target started (13/46, AT2022weo)
21:20:38       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
21:26:29     Target Completed Target completed (13/46, AT2022weo)
21:29:25     Target Started (14/46) Target started (14/46, AT2023srw (CV))
21:32:19       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:34:19       Focusing Completed Foc1 AutoFocus Completed (Profile No 10)
21:40:07     Target Completed Target completed (14/46, AT2023srw (CV))
21:41:26     Target Started (15/46) Target started (15/46, UGC 68 w/SN2023xqn)
21:45:05       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:47:30       Focusing Completed Foc1 AutoFocus Completed (Profile No 11)
22:03:18     Target Completed Target completed (15/46, UGC 68 w/SN2023xqn)
22:03:22     Target Started (16/46) Target started (16/46, M31 w/Nova M31 AT2023veq)
22:06:02       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:07:59       Focusing Completed Foc1 AutoFocus Completed (Profile No 12)
22:24:00     Target Completed Target completed (16/46, M31 w/Nova M31 AT2023veq)
22:25:25     Target Started (17/46) Target started (17/46, GCVS RX And)
22:27:48       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:29:49       Focusing Completed Foc1 AutoFocus Completed (Profile No 13)
22:32:53     Target Completed Target completed (17/46, GCVS RX And)
22:34:45     Target Started (18/46) Target started (18/46, GCVS GK Per)
22:37:49       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:39:59       Focusing Completed Foc1 AutoFocus Completed (Profile No 14)
22:43:25     Target Completed Target completed (18/46, GCVS GK Per)
22:44:26     Target Started (19/46) Target started (19/46, UGC 3174 w/SN2023mut)
22:48:02       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:50:07       Focusing Completed Foc1 AutoFocus Completed (Profile No 15)
23:05:57     Target Completed Target completed (19/46, UGC 3174 w/SN2023mut)
23:06:26     Target Started (20/46) Target started (20/46, CGCG 420-018 w/AT2023nbs)
23:10:26       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:12:51       Focusing Completed Foc1 AutoFocus Completed (Profile No 16)
23:28:52     Target Completed Target completed (20/46, CGCG 420-018 w/AT2023nbs)
23:28:57     Target Started (21/46) Target started (21/46, AT2023wox)
23:31:59       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:33:59       Focusing Completed Foc1 AutoFocus Completed (Profile No 17)
23:49:50     Target Completed Target completed (21/46, AT2023wox)
23:50:26     Target Started (22/46) Target started (22/46, AT2023uzx (CV))
23:54:33       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:56:39       Focusing Completed Foc1 AutoFocus Completed (Profile No 18)
00:02:41     Target Completed Target completed (22/46, AT2023uzx (CV))
00:02:45     Target Started (23/46) Target started (23/46, AT2023wbv (CV))
00:06:03       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:08:00       Focusing Completed Foc1 AutoFocus Completed (Profile No 19)
00:13:50     Target Completed Target completed (23/46, AT2023wbv (CV))
00:14:46     Target Started (24/46) Target started (24/46, AT2023xzr)
00:17:52       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:20:20       Focusing Completed Foc1 AutoFocus Completed (Profile No 20)
00:36:36     Target Completed Target completed (24/46, AT2023xzr)
00:36:40     Target Started (25/46) Target started (25/46, AT2023cts)
00:40:41       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
00:51:58     Target Completed Target completed (25/46, AT2023cts)
00:54:06     Target Started (26/46) Target started (26/46, C/2017 K2 (PANSTARRS))
00:57:38       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:59:59       Focusing Completed Foc1 AutoFocus Completed (Profile No 21)
01:08:00     Target Completed Target completed (26/46, C/2017 K2 (PANSTARRS))
01:08:35     Target Started (27/46) Target started (27/46, UGC 3274 w/SN2023cvn)
01:11:57       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:14:21       Focusing Completed Foc1 AutoFocus Completed (Profile No 22)
01:18:46       SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
01:27:42   Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Dome)
01:27:44   HardSuspend Called Hard Suspend is called due to Critical Conditions (cloud)
01:27:47     Target Aborted (27/46) Target aborted (27/46, UGC 3274 w/SN2023cvn) due to cloud
01:27:49   Queue Paused Queue paused for Session Suspension
01:27:51 Session Suspending Session suspending
01:28:37   Dome Closed Dome closed (closing time 50s)
01:28:40 Session Suspended Session suspended
01:49:31     Target Cancelled Target cancelled (28/46, AT2023tkp) due to cloud
02:13:04     Target Cancelled Target cancelled (29/46, AT2023tjz) due to cloud
02:26:32     Target Cancelled Target cancelled (30/46, GCVS RR Tau) due to cloud
02:38:20     Target Cancelled Target cancelled (31/46, GCVS DX Cnc) due to cloud
02:57:49     Target Cancelled Target cancelled (32/46, NGC 3690 w/SN2023wrk) due to cloud
03:06:49     Target Cancelled Target cancelled (33/46, NGC 4490) due to cloud
03:17:49     Target Cancelled Target cancelled (34/46, AT2023bcg (CV)) due to cloud
03:37:49     Target Cancelled Target cancelled (35/46, AT2023yon) due to cloud
03:52:09     Target Cancelled Target cancelled (36/46, AT2021afkt (CV)) due to cloud
04:04:43     Target Cancelled Target cancelled (37/46, GCVS U Mon) due to cloud
04:15:36     Target Cancelled Target cancelled (38/46, GCVS RZ LMi) due to cloud
04:36:26     Target Cancelled Target cancelled (39/46, UGC 6265 w/SN2023wcw) due to cloud
04:50:26     Target Cancelled Target cancelled (40/46, AT2023cxz (CV)) due to cloud
05:10:26     Target Cancelled Target cancelled (41/46, UGC 9002 w/SN2023pls) due to cloud
05:21:27 Session Resuming Session resuming
05:22:42   Dome Opened Dome opened (opening time 75s)
05:22:44 Session Running Session running
05:22:46   Queue Resumed Observing Queue resumed
05:22:49     Target Started (42/46) Target started (42/46, 29P/Schwassmann-Wachmann)
05:37:03     Target Completed Target partially completed (42/46, 29P/Schwassmann-Wachmann)
05:37:07     Target Started (43/46) Target started (43/46, 103P/Hartley)
05:51:02     Target Completed Target completed (43/46, 103P/Hartley)
05:51:06     Target Started (44/46) Target started (44/46, 61P/Shajn-Schaldach)
05:54:01       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
05:56:24       Focusing Completed Foc1 AutoFocus Completed (Profile No 23)
06:04:39     Target Completed Target completed (44/46, 61P/Shajn-Schaldach)
06:04:43     Target Started (45/46) Target started (45/46, AT2023ipb)
06:07:53       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
06:24:12     Target Completed Target completed (45/46, AT2023ipb)
06:25:42     Target Started (46/46) Target started (46/46, KUG 1227+226 w/SN2023bsg)
06:28:31       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
06:30:43       Focusing Completed Foc1 AutoFocus Completed (Profile No 24)
06:46:34     Target Completed Target completed (46/46, KUG 1227+226 w/SN2023bsg)
06:46:37   Queue Completed Job Queue completed
06:46:38 Session Closing Session closing
06:48:08   Dome Closed Dome closed (closing time 85s)
06:48:49   Dome Parked Dome parked (parking time 34s), Az: 90.0 deg
06:50:08   Telescope Parked Telescope parked (parking time 72s)
06:50:23   Telescope State Handbox reads 'Scope parked Turn scope off.'
06:50:45   Telescope Switched Off Telescope Power has been switched off via UPB Switch.
06:52:11   Services Stopped Night Services stopped
06:52:13 Session Finishing Session Finishing started (Create Fits Summary, Transfer Files)
06:52:54 Session Finished Session Finished
 
Session Alerts & Alarms
Time     Type       Name Detail
17:44:17 Yellow Alert Disk Space Free Space on C:\ Drive (45.17 GB) is less than 50 GB
06:52:08 Yellow Alert Dome Charging Dome hasn't started re-charging after 3.3 min. Dome may not have parked correctly
06:52:49 Yellow Alert Disk Space Free Space on C:\ Drive (42.68 GB) is less than 50 GB
06:52:54 Red Alert Dome Charging Dome hasn't started re-charging after 4.1 min. Dome may not have parked correctly
 

Back to Top


Operational Issues (2023-12-02, S1171)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Small Defects

Continuous Improvement

[ Prev | Next ]

Fig 1.   Shutter Battery Graphs
Showing anomously slow battery recharging following Session S1171 and earlier Dome Conformance Tests.
After adjustment of Induction Charger separation and position the battery recharging was fast/normal.

Image
 

Fig 2. Battery Level Chart showing normal battery recharge rates on 2023-11-14 & 2023-11-16.
 Image

Back to Top


Pulsar Dome - Recalibration

Update 2023-12-03

Back to Top


Pulsar Dome - ASCOM Conformance Tests

 

Conform Report Hash (V1): E4EFE4A9BFB264DBE12C6B51B103CC9837DEA5D105DC8ACF504460C848A82BEFF6F583F6E20664FBF43A60F2C0112D784DD3FC8C5F57D20645CDBD0175C000B5


ConformanceCheck ASCOM Device Conformance Checker Version 6.6.8048.17861, Build time: 2022-01-13 09:55:26
ConformanceCheck Running on: ASCOM Platform 6.6 SP1 6.6.1.3673

ConformanceCheck Driver ProgID: ASCOM.Pulsar_Observatories_Dome.Dome

Error handling
Error number for "Not Implemented" is: 80040400
Error number for "Invalid Value 1" is: 80040405
Error number for "Value Not Set 1" is: 80040402
Error number for "Value Not Set 2" is: 80040403
Error messages will be interpreted to infer state.

13:48:57.835 Driver Access Checks OK
13:48:57.844 AccessChecks About to create instance using Activator.CreateInstance
13:48:58.615 AccessChecks OK Successfully created driver using late binding
13:48:58.622 AccessChecks About to set Connected property true
13:48:58.789 AccessChecks About to set Connected property false
13:48:58.910 AccessChecks OK Successfully connected using late binding
13:48:58.919 AccessChecks INFO The driver is a .NET object
13:48:58.924 AccessChecks INFO The AssemblyQualifiedName is: ASCOM.Pulsar_Observatories_Dome.Dome, ASCOM.Pulsar_Observatories_Dome.Dome,
13:48:58.933 AccessChecks INFO The driver implements interface: ASCOM.DeviceInterface.IDomeV2
13:48:58.942 DisposeAndReleaseObject About to release AccessChecks driver instance
13:48:58.959 DisposeAndReleaseObject About to set Connected property
13:48:59.706 AccessChecks INFO Device does not expose interface IDome
13:48:59.753 AccessChecks About to set Connected property
13:49:00.081 AccessChecks INFO Device exposes interface IDomeV2
13:49:00.091 AccessChecks About to set Connected property
13:49:01.505 AccessChecks OK Successfully created driver using driver access toolkit
13:49:01.514 AccessChecks About to set Connected property
13:49:01.847 AccessChecks OK Successfully connected using driver access toolkit
13:49:01.853 AccessChecks About to set Connected property

Conform is using ASCOM.DriverAccess.Dome to get a Dome object
13:49:03.283 ConformanceCheck OK Driver instance created successfully
13:49:03.366 ConformanceCheck About to set Connected property
13:49:03.375 Connected About to set Connected property
13:49:03.696 ConformanceCheck OK Connected OK

Common Driver Methods
13:49:03.772 InterfaceVersion About to get property InterfaceVersion
13:49:03.782 InterfaceVersion OK 2
13:49:03.827 Connected About to get property Connected
13:49:03.834 Connected OK True
13:49:03.894 Description About to get property Description
13:49:03.903 Description OK Pulsar Observatories Dome
13:49:03.943 DriverInfo About to get property DriverInfo
13:49:03.955 DriverInfo OK Pulsar Observatories Dome Drive Version: 6.3
13:49:04.010 DriverVersion About to get property DriverVersion
13:49:04.020 DriverVersion OK 6.3
13:49:04.075 Name About to get property Name
13:49:04.083 Name OK Pulsar Observatories Dome
13:49:04.144 CommandString INFO Conform cannot test the CommandString method
13:49:04.153 CommandBlind INFO Conform cannot test the CommandBlind method
13:49:04.158 CommandBool INFO Conform cannot test the CommandBool method
13:49:04.169 Action INFO Conform cannot test the Action method
13:49:04.176 SupportedActions About to call method SupportedActions
13:49:04.190 SupportedActions OK Driver returned an empty action list

Can Properties
13:49:04.304 CanFindHome About to get CanFindHome property
13:49:04.319 CanFindHome OK True
13:49:04.383 CanPark About to get CanPark property
13:49:04.394 CanPark OK True
13:49:04.450 CanSetAltitude About to get CanSetAltitude property
13:49:04.468 CanSetAltitude OK False
13:49:04.527 CanSetAzimuth About to get CanSetAzimuth property
13:49:04.535 CanSetAzimuth OK True
13:49:04.579 CanSetPark About to get CanSetPark property
13:49:04.591 CanSetPark OK True
13:49:04.647 CanSetShutter About to get CanSetShutter property
13:49:04.658 CanSetShutter OK True
13:49:04.724 CanSlave About to get CanSlave property
13:49:04.737 CanSlave OK False
13:49:04.794 CanSyncAzimuth About to get CanSyncAzimuth property
13:49:04.804 CanSyncAzimuth OK True

Pre-run Checks
13:49:04.971 PreRunCheck About to get Slewing property
13:49:05.313 DomeSafety Attempting to open shutter as some tests may fail if it is closed...
13:49:05.325 PreRunCheck About to call OpenShutter
13:49:05.505 DomeShutterWait About to get ShutterStatus property repeatedly
13:50:05.718 DomeShutterWait About to get ShutterStatus property
13:50:05.730 DomeShutterWait ERROR Timed out waiting for shutter to reach state: shutterOpen, consider increasing the timeout setting in Options / Conformance Options
13:50:05.804 PreRunCheck About to get ShutterStatus property
13:50:05.817 PreRunCheck About to get ShutterStatus property
13:50:05.837 DomeSafety WARNING Shutter status: shutterOpening

Properties
13:50:05.935 Altitude About to get Altitude property
13:50:05.976 Altitude OK Optional member threw a PropertyNotImplementedException exception.
13:50:06.035 AtHome About to get AtHome property
13:50:06.045 AtHome OK False
13:50:06.103 AtPark About to get AtPark property
13:50:06.114 AtPark OK True
13:50:06.167 Azimuth About to get Azimuth property
13:50:06.177 Azimuth OK 90
13:50:06.235 ShutterStatus About to get ShutterStatus property
13:50:06.249 ShutterStatus OK shutterOpening
13:50:06.321 Slaved Read About to get Slaved property
13:50:06.333 Slaved Read OK False
13:50:06.385 Slaved Write About to set Slaved property
13:50:06.401 Slaved Write OK Optional member threw a PropertyNotImplementedException exception.
13:50:06.469 Slewing About to get Slewing property
13:50:06.482 Slewing OK True

Methods
13:50:06.612 AbortSlew About to call AbortSlew method
13:50:06.646 AbortSlew About to get Slaved property
13:50:06.670 AbortSlew OK AbortSlew command issued successfully
13:50:06.738 SlewToAltitude About to call SlewToAltitude method
13:50:06.751 SlewToAltitude OK Optional member threw a MethodNotImplementedException exception.
13:50:06.819 SlewToAzimuth About to call SlewToAzimuth
13:50:06.903 SlewToAzimuth About to get Slewing property
13:50:48.896 SlewToAzimuth 0 OK Asynchronous slew OK
13:50:59.631 SlewToAzimuth About to call SlewToAzimuth
13:50:59.776 SlewToAzimuth About to get Slewing property
13:50:59.784 SlewToAzimuth 45 OK Synchronous slew OK
13:51:10.412 SlewToAzimuth About to call SlewToAzimuth
13:51:10.446 SlewToAzimuth About to get Slewing property
13:51:46.856 SlewToAzimuth 90 OK Asynchronous slew OK
13:51:57.631 SlewToAzimuth About to call SlewToAzimuth
13:51:57.657 SlewToAzimuth About to get Slewing property
13:51:57.670 SlewToAzimuth 135 OK Synchronous slew OK
13:52:08.358 SlewToAzimuth About to call SlewToAzimuth
13:52:08.372 SlewToAzimuth About to get Slewing property
13:52:39.682 SlewToAzimuth 180 OK Asynchronous slew OK
13:52:50.350 SlewToAzimuth About to call SlewToAzimuth
13:52:50.371 SlewToAzimuth About to get Slewing property
13:52:50.379 SlewToAzimuth 225 OK Synchronous slew OK
13:53:01.170 SlewToAzimuth About to call SlewToAzimuth
13:53:01.184 SlewToAzimuth About to get Slewing property
13:53:32.342 SlewToAzimuth 270 OK Asynchronous slew OK
13:53:43.030 SlewToAzimuth About to call SlewToAzimuth
13:53:43.053 SlewToAzimuth About to get Slewing property
13:53:43.063 SlewToAzimuth 315 OK Synchronous slew OK
13:53:53.809 SlewToAzimuth About to call SlewToAzimuth
13:53:53.819 SlewToAzimuth OK COM invalid value exception correctly raised for slew to -10 degrees
13:53:53.876 SlewToAzimuth About to call SlewToAzimuth
13:53:53.887 SlewToAzimuth OK COM invalid value exception correctly raised for slew to 370 degrees
13:53:53.973 SyncToAzimuth About to get Azimuth property
13:53:54.012 SyncToAzimuth OK Dome synced OK to within +- 1 degree
13:53:54.028 SyncToAzimuth About to call SyncToAzimuth method
13:53:54.073 SyncToAzimuth About to call SyncToAzimuth method
13:53:54.099 SyncToAzimuth OK COM invalid value exception correctly raised for sync to -10 degrees
13:53:54.170 SyncToAzimuth About to call SyncToAzimuth method
13:53:54.184 SyncToAzimuth OK COM invalid value exception correctly raised for sync to 370 degrees
13:53:54.279 CloseShutter About to get ShutterStatus property
13:53:54.293 CloseShutter About to call CloseShutter method
13:53:54.410 DomeShutterWait About to get ShutterStatus property repeatedly
13:54:54.415 DomeShutterWait About to get ShutterStatus property
13:54:54.425 DomeShutterWait ERROR Timed out waiting for shutter to reach state: shutterClosed, consider increasing the timeout setting in Options / Conformance Options
13:54:54.441 CloseShutter OK Shutter closed successfully
13:55:15.680 OpenShutter About to get ShutterStatus property
13:55:15.854 DomeShutterWait About to get ShutterStatus property repeatedly
13:56:15.855 DomeShutterWait About to get ShutterStatus property
13:56:15.864 DomeShutterWait ERROR Timed out waiting for shutter to reach state: shutterOpen, consider increasing the timeout setting in Options / Conformance Options
13:56:15.879 OpenShutter About to get ShutterStatus property
13:56:15.896 OpenShutter About to get ShutterStatus property
13:56:15.916 OpenShutter ERROR Unable to open shutter - ShutterStatus: shutterOpening
13:56:26.672 FindHome About to call FindHome method
13:56:26.748 FindHome About to get Slaved Property
13:56:26.758 FindHome About to get Slewing property repeatedly
13:57:31.562 FindHome About to get AtHome property
13:57:31.572 FindHome OK Dome homed successfully
13:57:42.367 Park About to call Park method
13:58:22.261 Park About to get Slaved property
13:58:22.277 Park About to get Slewing property repeatedly
13:58:23.222 Park About to get AtPark property
13:58:23.233 Park OK Dome parked successfully
13:58:34.071 SetPark About to call SetPark method
13:58:34.103 SetPark OK SetPark issued OK

Post-run Checks
13:58:34.268 DomeSafety INFO Attempting to close shutter...
13:58:34.288 DomeSafety About to call CloseShutter
13:58:34.343 DomeShutterWait About to get ShutterStatus property repeatedly
13:59:24.963 DomeShutterWait About to get ShutterStatus property
13:59:24.974 DomeSafety OK Shutter successfully closed
13:59:24.989 DomeSafety INFO Attempting to park dome...
13:59:25.007 DomeSafety About to call Park
13:59:25.933 DomeSafety OK Dome successfully parked

Conformance test complete
13:59:26.004 DisposeAndReleaseObject About to release Dome driver instance
13:59:26.021 DisposeAndReleaseObject About to set Connected property

Your driver had 4 errors, 1 warning and 0 issue

Driver Hash Value: E211844A88467F271239409179532BFAF38DFCDDE1FB6615B5438A51EB0C988383962AAD8B37DC507855BAD22683F80C140E35A7F9219034EBAB33850E0BB4E0

Back to Top


Pulsar Dome - Shutter Software Reinstall (Shutter 1.25)

Update 2023-12-03

Dome Shutter operated without major issue during the S1171 session including two unscheduled Suspend/Resume operations, however there were issues with delays in the ShutterStatus arriving at an 'Open' or 'Closed' state in 66% of operations. This is a new problem that has begun after installing Dome Software Version 1.51 (with Shutter is still on Shutter Software Version 1.25).
 
- Of the 3 opening operations, all 3 had delays in seeing Dome.ShutterStatus arrive at the 'Open' state.
 
- Of the 3 closing operations 1 had a delay in seeing Dome.ShutterStatus arrive at the 'Closed' state.
   (the other 2 closing operations had times that are within the 5s tolerance that is dictated by the client's cycle time)
 

Time  Observatory
State 
Shutter
Operation 
  Physical Time
from Zigbee Sensors 
  Time based on
Dome.Shutter Status 
17:47  Starting  Opening    42s    90s 
19:09 Suspending  Closing    45s    50s 
19:22 Resuming  Opening    42s   95s 
01:27  Suspending  Closing    45s    50s 
05:21 Resuming  Opening    42s    75s 
06:26  Ending  Closing    45s    85s 

Back to Top


2023-12-03


Zigbee - Smart Plug for Greenhouse Heater

Back to Top


2023-12-04


Investigation - OpenWeather JSON Parsing Issue

Issue
1) AstroWeather program crashing in read/create Weather Forecast section
2) AstroWeather creating only half-completed 24 hour Weather Forecast Charts

Description

After a few random crashes of the AstroWeather program running on the AllSky/Weather Computer on 2023-12-04, including one at 23:28, the program began to crash almost immediately after using 'Start Service' facility. This was after installing a new AstroWeather version). The problem was repeatable,  each time the program/serverces was started over the course of 10 minutes or so it crashed. By a process of elimination it was found that the crash only happened if the 'Weather Forecast' service was selected.  If the service wasn't selected the program ran without problem. A new AstroWeather version is being used but changes made are restricted to ObsEnv and Graphs, which have no bearing on the Weather Forecast module.  It is presumed that there is unexpected data anomaly in the Rest API dataset or less likely that the specification of the API has changed. The WeatherForecast Chart that signals the completion of a WeatherForecast Cycle was last made at 2023-12-04 23:28 (the chart and contained data is completely normal and shows no anomalies). Until a reason for the crashes is found and fixed the AstroWeather program will be run with the Weather Forecast Service, allowing the issue to be demoted from Major rank to Minor rank.  The Weather Forecast Service is needed for Live Sessions, so a solution needs to be found beforehand. Assuming the issue is an unexpected data value or format, it would seem the immediate software change should be to place appropriate exception block around.  

Analysis 

Running Test OpenWeather Forecast on Development Computer quickly revealed a fatal exception ("System.ArgumentOutOfRangeException: 'Length cannot be less than zero" in TOpenWeather.GetJsonDataSet () routine

 Function GetJsonDataSet(ByVal block As String, ByVal Keyword As String) As String
'================
 Dim c As Integer
 Dim S As String = ""
 Dim iStart As Integer
 Dim iEnd As Integer
 Dim TwinQuotes As String = """"
 Dim field As String = ""

 ' Find Position of keyword within input string
 c = InStr(block, TwinQuotes + Keyword + TwinQuotes)
 If c = 0 Then
   Return ""
   Exit Function
 Else
   S = block.Substring(c - 1)
   iStart = InStr(S, "[{")
   iEnd = InStr(S, "}]") - 3

   field = S.Substring(iStart + 1, iEnd - iStart + 1)
 End If
 Return field
End Function


in the line
  field = S.Substring(iStart + 1, iEnd - iStart + 1)

where Parameters to routine
 Block = "dt":1701766800,"temp":2.93,"feels_like":0.04,"pressure":1017,"humidity":83,"dew_point":0.31,"uvi":0,
"clouds":96,"visibility":10000,"wind_speed":2.97,"wind_deg":311,"wind_gust":2.43,
"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"
 Keyword = "weather"
and variables at time of exception are
 c = 183
 S = "weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"
 iStart = 11
 iEnd = -3
 field = S.Substring(12,-13)
 
and It would seem the exception arises because the JSON block doesn't have the expected closing characters, ie  }] are missing.
Placing a Try Catch End Tr block around the code and returning "" in the event of an exception stops the program crashing, a Forecast Graph is completed for first 10 hours of the 24 hour forecast. If this is a glitch with the JSON response from the OpenWeather Server it would seem tha tit is going to be impossible to complete the Forecast Chart, and and a half completed graph is the best that can be achieved in the circumstances.
Running the JSON Response from OpenWeather through 'JSON Validator' (free, from Microsoft App Store) produces a 'Your (JSON) code is valid". This suggests that there is an issue with the self built JSON parser in AstroWeather.

Adding tracing it is can be seen that JSON Code associated with normal hourly data that doesn't produce an exception looks like this:

{"dt":1701763200,"temp":3.54,"feels_like":1.35,"pressure":1016,"humidity":78,"dew_point":0.02,
"uvi":0,"clouds":97,"visibility":10000,"wind_speed":2.31,"wind_deg":325,"wind_gust":2.06,
"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],
"pop":0.55,"rain":{"1h":0.23}},


GetJsonDataSet() is called with
Block: "dt":1701763200,"temp":3.54,"feels_like":1.35,"pressure":1016,"humidity":78,"dew_point":0.02,"uvi":0,
"clouds":97,"visibility":10000,"wind_speed":2.31,"wind_deg":325,"wind_gust":2.06,
"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"pop":0.55,"rain":{"1h":0.23}

S : "weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"pop":0.55,"rain":{"1h":0.23}
Return: "id":500,"main":"Rain","description":"light rain","icon":"10n"

However the JSON code associated with hourly data that produces the exception looks like this :

{"dt":1701766800,"temp":2.93,"feels_like":0.04,"pressure":1017,"humidity":83,"dew_point":0.31,
"uvi":0,"clouds":96,"visibility":10000,"wind_speed":2.97,"wind_deg":311,"wind_gust":2.43,
"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"},
{"id":511,"main":"Rain","description":"freezing rain","icon":"13d"}],
"pop":0.55,"rain":{"1h":0.18}},

GetJsonDataSet() is called with
Block: "dt":1701766800,"temp":2.93,"feels_like":0.04,"pressure":1017,"humidity":83,"dew_point":0.31,"uvi":0,
"clouds":96,"visibility":10000,"wind_speed":2.97,"wind_deg":311,"wind_gust":2.43,
"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"

S: "dt":1701766800,"temp":2.93,"feels_like":0.04,"pressure":1017,"humidity":83,"dew_point":0.31,"uvi":0,
"clouds":96,"visibility":10000,"wind_speed":2.97,"wind_deg":311,"wind_gust":2.43,
"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"

Conclusion
It seems that Weather can be an array and when it there is more than one item (more than one id/icon) is when the JSON parser has a problem.The parser needs to be modified to recognise this situation and probably return the first item. Problem seems to be in the code that creates the Block.

 The ParseHourlyBlock(ByVal block As String) routine uses

   iStart = InStr(S, "{")
   iEnd = InStr(S, "},") - 1

 finds the string bounded by the first "{" and first "}," token however the

whilst there is a   },   at end of block as in   },{"dt":, there can be an earlier },  as in },{"id"
hence searching on }, isn't sufficient.

Instead the search needs to find } with equivalent rank as the initial {. After trialling some code which successfully worked, it was discovered that there was already a routine in the 'Forecast.vb' module called  'GetJsonBlock()' which is used like

  datablock = GetJsonBlock(S.Substring(iStart - 1), "{", iEnd)

Back to Top