David's Astronomy Pages
Notes - Session 1047 (2022-10-14)

 
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (2),  Minor Issues (7),  Small Defects (7),  Continuous Improvement (23)
 
Bullet Images from 2022-10-14 >>        [ Local Files >> ]    
2022-10-16
Bullet Zigbee Project
Bullet ConBee II
Bullet deCONZ
Bullet Phoscon
Bullet deCONZ - REST API
Bullet deCONZ - WebSockets
   
Bullet AllSky Camera - Earwig Problem
   
2022-10-19
Bullet .Net Framework 4.8
Bullet SBIG Driver Observations
2022-10-20
Bullet Casting Observatory Alarms to Google Home Speaker
2022-10-21
Bullet Observatory Zigbee Network
Bullet Zigbee-AstroMain Integration
Bullet Conbee II - Firmware reinstall
   
   

Session Aims & Highlights (2022-10-14)

Main aims

  1. Targets.  Acquire images of a selection of variable stars, nearby stars, comets & deep sky targets as allowed by time & twilight conditions.

 Equipment & Software

Highlights

Notes:

Summary Plots & Logs

Observing Plan
Image
  
Observing Result
Image
   
Dome & Scope Slewing Performance
Image
  
Slew/Centering Performance
Image
  
Guiding Performance
Image
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
19:41:03 Session Created Session Created (Live, 2022-10-14 S01047, ImageSaveNum: 1047001)
19:41:06   Scope Switched On Telescope Power has been switched on via UPB Powerbox.
19:41:21   Services Started Observatory Services started
19:41:23 Observatory (Manual) Observatory placed in Manual Mode
19:51:00 User Intervention User Intervention to re-initiate Autostart after Scope.PowerState / Scope Connection issue
19:51:26   Scope Switched On Telescope Power has been switched on via UPB Powerbox.
19:53:03   Services Started Observatory Services started
20:00:56 Session Monitoring AutoStart monitoring for Live Session opportunity between 20:00 & 05:41
20:00:58 Observatory (AutoStart) Observatory placed in Auto-Start Mode
20:01:00 Session AutoStarting Session autostarting (20:00)
20:01:28   Services Started Observatory Services started
20:01:35 Observatory (Auto) Observatory placed in Fully-Automated Mode
20:01:38 Session Pending Session pending (2022-10-14)
20:01:41 Session Initiating Session initiating (2022-10-14)
20:01:43   Plan Requested Observing Plan requested from AstroPlan (1.32.5)
20:02:25   Plan Loaded Observing Plan loaded to queue (Plan ID: 809)
20:02:40   Camera1 Connected SBIG Camera connected (set point -20°C)
20:02:45   Telescope Connected Telescope connected (TheSky6)
20:03:09 Session Equilibration Session ready to Open Dome
20:03:55   Dome Opened Dome opened (opening time 45s)
20:04:45 Session Running Session running
20:04:47   Queue Started Observing Queue started (33 targets selected)
20:04:50     Target Started (NrZen) Target started (Focus Field 20, HIP 98535)
20:05:03   Dome Unparked Dome unparked
20:09:23       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:12:05       Focusing Completed Foc1 AutoFocus Completed (Profile No 1, wide)
20:14:22       Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
20:14:25       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
20:16:33       Focusing Completed Foc2 AutoFocus Completed (Profile No 2, wide)
20:18:15       Focusing Completed Foc2 AutoFocus Completed (Profile No 2)
20:18:32     Target Completed (NrZen) Target completed (Focus Field 20, HIP 98535)
20:18:37     Target Started (1/33) Target started (1/33, GCVS BL Lac)
20:22:00       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:24:11       Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
20:28:35     Target Completed Target completed (1/33, GCVS BL Lac)
20:28:39     Target Started (2/33) Target started (2/33, IC 1132 w/SN2022prv)
20:33:31       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
20:50:08     Target Completed Target completed (2/33, IC 1132 w/SN2022prv)
20:50:12     Target Started (3/33) Target started (3/33, C/2022 E3 (ZTF))
20:54:40       Focusing Skipped Foc1 focusing skipped - star is lost (TCF-S)
21:07:06     Target Completed Target completed (3/33, C/2022 E3 (ZTF))
21:07:51     Target Started (4/33) Target started (4/33, NGC 6701 w/AT2022nxe)
21:11:02       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:13:09       Focusing Completed Foc1 AutoFocus Completed (Profile No 4)
21:29:09     Target Completed Target completed (4/33, NGC 6701 w/AT2022nxe)
21:29:51     Target Started (5/33) Target started (5/33, NGC 6745 w/SN2022prr)
21:31:10     Dome Slew Dome slew held up at Az. 268.1, 267.7° (Total delay 54s)
21:33:53       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:36:07       Focusing Completed Foc1 AutoFocus Completed (Profile No 5)
21:51:56     Target Completed Target completed (5/33, NGC 6745 w/SN2022prr)
21:52:00     Target Started (6/33) Target started (6/33, AT2022kl (CV))
21:54:57     Dome Slew Dome slew held up at Az. 247.0, 246.9, 222.3, 221.7° (Total delay 125s)
21:57:14       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:59:25       Focusing Completed Foc1 AutoFocus Completed (Profile No 6)
22:17:06     Target Completed Target completed (6/33, AT2022kl (CV))
22:17:10     Target Started (7/33) Target started (7/33, AT2022tru (CV))
22:21:03       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
22:37:17     Target Completed Target completed (7/33, AT2022tru (CV))
22:37:21     Target Started (8/33) Target started (8/33, AT2022xij (CV))
22:40:50       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:43:04       Focusing Completed Foc1 AutoFocus Completed (Profile No 7)
22:49:15     Target Completed Target completed (8/33, AT2022xij (CV))
22:49:20     Target Started (9/33) Target started (9/33, GCVS SS Cyg)
22:52:24       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:54:22       Focusing Completed Foc1 AutoFocus Completed (Profile No 8)
22:58:48     Target Completed Target completed (9/33, GCVS SS Cyg)
23:04:56     Target Started (10/33) Target started (10/33, Jupiter)
23:06:57     Dome Slew Dome slew held up at Az. 222.6, 221.7° (Total delay 74s)
23:09:44       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:11:31       Focusing Completed Foc1 AutoFocus Completed (Profile No 9)
23:15:40     Target Completed Target completed (10/33, Jupiter)
23:16:21     Target Started (11/33) Target started (11/33, WDS GRB 34)
23:19:34       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:21:32       Focusing Completed Foc1 AutoFocus Completed (Profile No 10)
23:23:33     Target Completed Target completed (11/33, WDS GRB 34)
23:24:24     Target Started (12/33) Target started (12/33, NGC 7448 w/SN2022wsp)
23:27:40       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
23:29:51       Focusing Completed Foc1 AutoFocus Completed (Profile No 11)
23:46:25     Target Completed Target completed (12/33, NGC 7448 w/SN2022wsp)
23:46:29     Target Started (13/33) Target started (13/33, NGC 157 w/SN2022jli)
23:50:58       Focusing Skipped Foc1 focusing skipped - star is lost (TCF-S)
00:07:07     Target Completed Target completed (13/33, NGC 157 w/SN2022jli)
00:07:11     Target Started (14/34) Target started (14/34, C/2020 V2 (ZTF), ToO)
00:11:31       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
00:28:40     Target Completed Target completed (14/34, C/2020 V2 (ZTF), ToO)
00:28:42     Target Missed (15/34) Target's time slot was missed (15/34, AT2021vqu)
00:30:24     Target Started (16/34) Target started (16/34, NGC 7495 w/SN2022ubb)
00:34:30     Dome Slew Dome slew held up at Az. 247.1, 223.2° (Total delay 155s)
00:37:14       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
00:39:10       Focusing Completed Foc1 AutoFocus Completed (Profile No 12)
00:55:58     Target Completed Target completed (16/34, NGC 7495 w/SN2022ubb)
00:56:03     Target Started (17/35) Target started (17/35, Jupiter, ToO)
01:01:00 Obs.Monitor Frozen Obs.Monitor appears to be frozen at around 01:01 in section Monitor TheSky6 Scope
01:07:51     Target Completed Target completed (17/35, Jupiter, ToO)
01:07:56     Target Started (18/35) Target started (18/35, NGC 7594 w/SN2022de)
01:09:01     Dome Slew Dome slew held up at Az. 217.6° (Delay 44s)
01:18:05     Target Completed Target partially completed (18/35, NGC 7594 w/SN2022de)
01:18:09     Target Started (19/35) Target started (19/35, UGC 12599 w/SN2022mhn)
01:21:01       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
01:36:57     Target Completed Target completed (19/35, UGC 12599 w/SN2022mhn)
01:37:01     Target Started (20/35) Target started (20/35, AT2022whd (CV))
01:40:45       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:42:42       Focusing Completed Foc1 AutoFocus Completed (Profile No 13)
01:48:29     Target Completed Target completed (20/35, AT2022whd (CV))
01:48:33     Target Started (21/35) Target started (21/35, GCVS TT Ari)
01:52:34     Dome Slew Dome slew held up at Az. 268.2, 267.5, 247.2, 223.2, 222.6° (Total delay 173s)
01:55:42       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
01:57:41       Focusing Completed Foc1 AutoFocus Completed (Profile No 14)
02:04:51     Target Completed Target completed (21/35, GCVS TT Ari)
02:04:56     Target Started (22/35) Target started (22/35, AT2022oab (CV))
02:14:15     Target Completed Target completed (22/35, AT2022oab (CV))
02:14:19     Target Started (23/35) Target started (23/35, AT2022why)
02:15:08   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
02:17:48   SoftSuspend Cancelled Soft Suspend is cancelled due to improved conditions
02:19:10       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
02:21:19   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
02:21:29       Focusing Completed Foc1 AutoFocus Completed (Profile No 15)
02:27:20     Target Completed Target completed (23/35, AT2022why)
02:27:22   Queue Paused Queue paused for Session Suspension
02:27:25 Session Suspended Session suspended
02:28:15   Dome Closed Dome closed (closing time 50s)
02:35:02     Target Cancelled Target cancelled (24/35, GSC 1224:29) due to cloud
02:46:12     Target Cancelled Target cancelled (25/35, AT2022weo) due to cloud
03:00:12     Target Cancelled Target cancelled (26/35, Nova Per 2020) due to cloud
03:20:42     Target Cancelled Target cancelled (27/35, AT2021bpy) due to cloud
03:42:42     Target Cancelled Target cancelled (28/35, AT2022vxe) due to cloud
04:04:42     Target Cancelled Target cancelled (29/35, NGC 5894 w/SN2022pgf) due to cloud
04:18:42     Target Cancelled Target cancelled (30/35, 29P/Schwassmann-Wachmann) due to cloud
04:38:42     Target Cancelled Target cancelled (31/35, AT2022tmq) due to cloud
05:00:42     Target Cancelled Target cancelled (32/35, UGC 2508 w/AT2022trp) due to cloud
05:22:42     Target Cancelled Target cancelled (33/35, MCG -3-12-11 w/SN2022ucj) due to cloud
05:44:42     Target Cancelled Target cancelled (34/35, UGC 6983 w/SN2022pru) due to cloud
06:19:02     Target Cancelled Target cancelled (35/35, C/2020 V2 (ZTF)) due to too few stars
06:19:08   Queue Completed Job Queue completed
06:19:14 Session Closing Session closing
06:19:19   Dome Closed Dome already closed (closed at 01:28, closing time 50s)
06:20:44   Dome Parked Dome parked (parking time 77s), Az: 90.0 deg
06:21:54   Telescope Parked Telescope parked (parking time 69s)
06:22:09   Telescope State Scope parked Turn scope off. (Handbox)
06:22:32   Telescope Switched Off Telescope Power has been switched off via UPB Switch.
06:23:26   Services Stopped Night Services stopped
06:23:28 Session Housekeeping Session Housekeeping started (Create Fits Summary, Transfer Files)
06:23:49 Session Finished Session Finished
 
Session Alerts
Time     Alert Detail
19:41:23 Telescope Alert ASCOM Telescope not connnected
23:05:03 Anomalous Dome Slew Dome slew resumed at Az 236.9° (T+1.6s)
00:34:38 Dome Discrepency Difference between Dome Az and Slave Az is > 1 deg (NGC 7495)
01:01:36 Obs.Monitor Obs.Monitor appears to be frozen in section Monitor TheSky6 Scope (last cycle at 01:01:00)
01:02:30 Obs.Monitor Obs.Monitor has resumed again after 1.5 mins
01:37:08 Anomalous Dome Slew Dome slew resumed at Az 236.1° (T+2.8s)
 

Back to Top


Operational Issues (2022-10-14, S1047)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Small Defects

Continuous Improvement

[ Prev | Next ]

Back to Top


2022-10-16


Zigbee Project

ZigbeeNet
Initially an initial attempt was made utilise ZigbeeNet Package
(GitHub :   https://github.com/Mr-Markus/ZigbeeNet/wiki   & Nuget: https://www.nuget.org/packages/ZigbeeNet/ )).

Although ZigbeeNet packages downloaded and incorporated into my VS project ok, it was possible to continue development as it wasn't possible to successfully connect with ConBee2 stick.  Attempted on two separate occasions, but in the end went for a deCONZ based solution.

See deCONZ notes below

Back to Top


ConBee II

ConBee II  is a USB stick providing a universal Zigbee gateway.  

It offers a cloud free solution that unites Zigbee devices of many vendors.
Operation is at radio frequency of 2.4 GHz, and has a strong signal range via power-amplifier  (200 m in free line of sight)

Product Page :  from Phoscon, https://www.phoscon.de/en/conbee2 )

Back to Top


deCONZ

deCONZ (v 2.13.4) already installed on Development Computer

deCONZ (v 2.18.2) installed onto Observatory Computer today (2022-10-16)


Path : "C:\More Programs\deCONZ\bin\deCONZ.exe"

REST API

https://dresden-elektronik.github.io/deconz-rest-doc/

https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/

ObsComputer : 192.168.1.75

 "ApiKey":    withheld

 

' Get All Lights Details

http://192.168.1.46:80/api/{{ApiKey}}/lights  GET

{
"1": {
"etag": "bd01f4b753cb4dd698b7a1439d38d875",
"hascolor": false,
"lastannounced": null,
"lastseen": "2022-10-15T21:16Z",
"manufacturername": "dresden elektronik",
"modelid": "ConBee II",
"name": "Configuration tool 1",
"state": {
"reachable": true
},
"swversion": "0x26580700",
"type": "Configuration tool",
"uniqueid": "00:21:2e:ff:ff:07:97:0e-01"
},
"2": {
"etag": "c8d1c62fe2d443472bbf9abd734d2e61",
"hascolor": false,
"lastannounced": null,
"lastseen": "2022-10-15T21:16Z",
"manufacturername": "Philips",
"modelid": "LOM009",
"name": "Observatory Aux Light",
"state": {
"alert": "none",
"on": false,
"reachable": true
},
"swversion": "1.93.6",
"type": "On/Off plug-in unit",
"uniqueid": "00:17:88:01:09:d6:06:67-0b"
}

Get Light 2 details

http://192.168.1.46:80/api/{{ApiKey}}/lights/2  GET

 

Turn Light On/Off

http://192.168.1.46:80/api/{{ApiKey}}/lights/2/state    PUT

{ "on": true }

{ "on": false }

 

Hue Smart Plug reset

1) Plug it in.

2) Wait for the light on the front top right to go off.

3) Hold the button until the light flashed orange five or more times.

4) Let go of the button

5) Open app and tap add device

Back to Top


Phoscon App

 

Notes to be added.

 

Back to Top


deCONZ - REST API

Notes to be added.

Back to Top


deCONZ - WebSockets

Notes to be added.

Back to Top


AllSky Camera - Earwig Problem

A new family of earwigs have taken up residency inside the AllSky Camera housing.   There are ventilation holes between the camera housing and the hemisphere and at nighttime the earwigs are coming through the holes and climbing over the fish-eye lens.  The following picture shows 3 of them.

Image

Shining a torch into the hemisphere makes then run back into the camera housing.

Rather than take the camera down from its mast and open the camera body,  it was decided to unscrew the polycarbonate hemisphere and drop into some earwig/woodlice killing powder, taking care not to get the powder on the fish-eye lens.   

Whilst this seems to have resolved the problem (no earwigs seen in images over last 6-7 days, the powder was put in on a very damp day, and it begun to rain lightly before the hemispshere could be put back on.  This led to the entrapment of high humidity air and possible some raindrop water in the hemisphere when it was closed, and led to an issue with very significant dew formation on the inside surface of the polycarbonate hemisphere.  See AllSky Camera - Dew Problem, 2022-10-22

Back to Top


2022-10-19


 .Net Framework 4.8

AstroSuite Programs are being gradually migrated to Target .Net Framework 4.8. The programs migrated so far are:

Notes:

AstroObsCam.
An attempt was made to move AstroObsCam to 4.8 framework (2022-10-17, v1.10) but program crashed when trying to connect to Camera, so reverted to target .Net Framework 4. Same problem when trying to target .Net Framework 4.5.  It is supposed that use of 'DirectShowLib-2005.dll' is preventing a successful migration. Getting runtime version from  'Reflection.Assembly.ReflectionOnlyLoadFrom("C:\More Programs\AstroObsCam\DirectShowLib-2005.dll").ImageRuntimeVersion' indicates that the Net Framework version for the .dll is "v2.0.50727".

AstroMain
The issue with AstroObsCam provides a warning for AstroMain 3.56 which uses various .com and .dll components and might run into issues when running a live session.
Although AstroMain was rebult after changing the target .net framework to 4.8, a query using Reflection.Assembly. returns Net Framework version of  v4.0.30319
System.Data.SQLite.dll also returned a Net Framework version of  v4.0.30319.

AstroPlan
AstroPlan   / SqLite :  examine : https://system.data.sqlite.org/index.html/doc/trunk/www/downloads-unsup.wiki

Back to Top


 SBIG Driver Observations

Whilst testing operation of new facility that allows power to the SBIG Camera to be turned off / on my means of a REST API call to deCONZ some observations were made:

1) After switching off SBIG Camera Power whilst CCDSoft is connected to camera

1a) then attempting to take an image from CCDSoft Camera Control produces a CCDSoft Error Dialog
   SBIG driver: Operating system error.
   Error code = 1032

1b) A 'Connect Camera' from AstroMain seems to execute without a problem and implies that the Camera is connected when it is really unconnected.
CCDSoft likewise implies that the Camera is still connected

1c) If Camera is then disconnected from the CCDSoft Camera Setup,  AstroMain think's that it is still connected.   ObsMonitor's attempts to get Camera informature causes CCDSoft Camera setup to display 'Attempting Connnection' status message each time that camera information is queried.

1d) When Camera is disconnected in AstroMain, and then a fresh attempt is made to Connect Camera from AstroMain, it reports 'Connecting Camera   Fail   SBIG Driver: Device not found'

1e) When an attempt is made to take an image (3s snap) from AstroMain, an SBIG driver error is reported.  
    'Command failed.  Error code = 206 (0xce)'

1f) When an attempt is made to Connect Camera from CCDSoft Camera Setup a CCDSoft Error Dialog is shown
   SBIG driver: Device not found
   Error code = 1027 (0x403).

   Same error dialog is shown when a fresh attempt is made to take an image from CCDSoft Camera Setup

2) After switching SBIG Camera Power back on

2a) 'Connect' operation from CCDSoft Camera Setup successfully works to connect with Camera

3) WIth SBIG Camera on and Connected

3a) 20s Snap frame started from AstroMain, and whilst exposure was being taken, 'RestartCCDSoft' was initiated:
  AstroMain crashed with 'System.NullReferenceException: 'Object variable or With block variable not set.'  at globals line 30931 in catch section of TakeImage() at code line   Camera.AutoSaveOn = 1 .  The catch section contains several references to the Camera object,  and the Camera object has become set to Nothing, so the code line line produces the exception which is not longer caught and the exception bubbles up to the point that it causes the program to crash

Back to Top


2022-10-20


Casting Observatory Alarms to Google Home Speaker

I've previously created a prototype web app 'Observatory Alarms'  ( http://www.astro-richweb.net/astro/session_alarm.htm ) for broadcasting alarms and alerts from the Observatory to a web browser (running on a Windows PC or IPAD), but found it impractical to use IPAD for running the web app at nightime, as the IPAD needs to be left running continuously and seemingly left with the web app on the browsers active tab.

In looking for a possible solution I began looking at some other means like a wifi based alarm or speaker system. A significant issues with using an alarm like an alarm siren is that they are typically much too loud and also the available sounds are limited.  A speaker system would need to be WI-FI based and not bluetooth based, and the cost for such a speaker is quite high (all the cheap speaker systems are bluetooth based it seems).

It then occurred to me that by utilising an existing (but little used) Google Home speaker I could use it to automatically play alarms & alert sounds by casting the audio from by Observatory Alarms web app running in Chrome on the Observatory Computer.    Casting from the Observatory Alarms web app to Google Home, would mean access to a completely customizable range of suitable alarm/alert sounds, with a volume much more suited for nighttime / bedroom. Other benefits from the Casting method is that the existing system for sending events, alerts and alarms from the Observatory would be essentially unchanged, and there would be no new outlay for a network connected alarm or speaker.

Development Computer Test
Initial test using Chrome on the Development Computer showed this Casting method is feasible. Volume control on the Computer can be on mute (or zero volume) and the audio still plays on the Google Home speaker.

Observatory Computer Test
Google Chrome was then downloaded and installed on the Observatory Computer.  Then Opened 'Observatory Alarms' web app in Chrome, cast the page to Google Home speaker, and began a test alarm.  The alarm audio was successfully cast to the speaker in the house.

Actions
- Image Install  chrome onto Observatory Computer
- Image Set 'session_alarm.htm' as the home (start) page on Chrome browser and set Cast button to Always Show
- Image Add checkbox option to launch Google Chrome from AstroLaunch
- Image Install 64-bit version of chrome onto Development Computer instead of the existing 32-bit version.
- Image Make 'session_alarm' chromecast enabled
     (look at https://stackoverflow.com/questions/44999267/how-to-chromecast-enable-a-website
     and at 
https://developers.google.com/cast/docs/overview )
   
This seems difficult to do and requires registration, a fee?, https:  Attempt to use basic method didn't seem to work and broke the webapp so removed again
    Workaround is to Cast and then right-click on Cast Button and enable the Always Show Icon button.
   And then remember to manually click Cast button after Chrome  starts up

- Image Create a clever means to quickly accept an alarm once woken in order to turn off an alarm sound
- Image If the method is successful consider the purchase of a Nest Mini (£49) or a Lenova Smart Clock Essential with Google Assistent (£40)
- Image Create a backdoor means to enable AstroGuard to post an alarm for the Web App if AstroMain stops responding.

 

Accepting Alarm Options
- Open IPAD, Open VNC Connection to  Observatory Computer, Click on Accept/Snooze.
- Lower Audio on Google Speaker / Go to Silent and wait for Alarm to timeout.
- Employ a Zigbee Switch to communicate to the Observatory Computer to send an "accept" notification to the web site that is then read by the web app which acts upon the notification and accepts the alarm (which stops the audio sound coming to the speaker).

Tests
Tests show that my solution works.

- For implementation the alarm/alert sounds coming from the speaker needs to be loud enough to wake me, but not loud enough or long enough to wake /disturb my wife as that will lose me any and all spousal approval points. The volume of Google Home speaker (which would be positioned closer to me) is adjustable so can I set it with low volume to start with and see how it goes.

The Web App has snooze and accept buttons to turn off or defer the alarm sound, and I whilst I can open my IPad and open a vnc connection go to Chrome and read the alarm/alert message and accept it. I could look at look into using a zigbee switch beside by bed that can get a accept/snooze trigger back to my AstroMain program on the Observatory Computer and from there get a notification to the web app to stop playing the alert audio. Meanwhile I could open IPad and open web app from there to read the alert/alarm message and decide what to do.

I was worried that the instigation of a Hey Google conversation or the activation of an alarm set separately in Google Home /on through Google assistant might turn off the Cast from my WebApp but this doesn’t seem to be a problem in the tests I’ve carried out.

- Saying ‘Hey/Ok Google, stop cast’ stops the Observatory Alarms cast.
(but I have to go back on to Observatory Computer / Chrome and click Cast button again)
- Saying ‘Hey Google, play last cast’ gets the response ‘Alright check out this Music station on YouTube Music’
- Saying ‘Hey Google, pause cast’ does nothing
- Saying ‘Hey Google, start cast’ gets the response ‘Sorry, power control is not supported yet’
- Saying ‘Hey Google, play cast’ gets the response ‘Playing some music on spotify’

- Saying 'Hey Google, silent' suspends the cast
- Saying 'Hey Google, continue' resumes the cast
- Saying 'Hey Google, resume'  resumes the cast

Best Option
- Touching the top of Google Home speaker and then saying "Silent" suspends the cost
- Touching the top of Google Home speaker and then saying "Continue" or "Resume" resumes the cost

Back to Top


2022-10-21


Observatory Zigbee Network

A Zigbee Network (AstroGW) is now successfully operating in the Observatory which allows remote and automated access to Smart Plugs controlling on/off operation of the Pulsar Dome, SBIG Camera, Dehumidifier and an Auxillary Light with monitoring of the open/close status of the Observatory Door and the Dome's Shutter.

The network as of 2022-10-22 is illustrated in the following chart (created in deCONZ)

Image

The network is coordinated by a Combee 2 USB Stick (https://phoscon.de/en/conbee2)
Devices were added to the network and setup using the Phoscon App (https://phoscon.de/en/app/doc)
Visualisation of the network and information its various nodes and operation is using the deCONZ program (https://phoscon.de/en/conbee2/software#deconz)

The deCONZ program allows gateway access to on/off and open/close states of the various devices and permits the changing of the on/off state of lights and smart plugs using REST APIs  https://dresden-elektronik.github.io/deconz-rest-doc/

The Network was later extended to include AllSky Dew Heater on 2022-11-14 &  Portable Remote Control on 2022-11-18.
(The 'end-device' labelled 0x7CED is a Nedis 4 button remote (keyfob) but it hasn't been possible to incorporate it into deCONZ's REST-API )

Image

Back to Top


Zigbee-AstroMain Integration

Pictures illustrating current level of integration :

Device Control

Image

Image

Image
 

Controls were later extended to include control for AllSky Dew Heater on 2022-11-14 :
Image



Observatory Status Picture

Image

Image

Image


Back to Top


Conbee II - Firmware Reinstall (2022-10-22)

Issue : Firmware on Conbee II USB stick were accidently corrupted through an attempt to running newly installed ZShark software (2022-10-22).

Description 
ZShark  (win/zshark_V1_0501.exe) was installed on the Observatory Computer with the aim of eventually using it to sniff out the button event numbers associated with a future 4 button smart remote controller.  After innitial attempt to run the ZSHark program failed (itw would find the Conbee II device). It was thought thise might be because deCONZ was running so after closing deConz a second attempt was made.  ZShark indicated that the device on COM7 occupied by the Conbee 2 USB Stick) was missing firmware and asked to proceed to install firmware.   With no more than a slight though that this was probably something zShark needed to add, 'OK' was clicked and something was presumably installed on the Conbee II.

This proved to be a major mistake, whilst ZShark appear to then connect and at least 2 packages were passed, I was left unsure what I needed to do next and resigned myself that I would need to look at setup / running of zshark in more detail and closed the program.  deCONZ was restarted but it fail to connect to the Conbee 2 device.

Multiple attempts were tried to connect. Including removal and reinserting of the USB stick.  With deCONZ is running but apparently not conneced to the Conbee II device, REST API (Get) calls seem to superficially work (they return values from when the Conbee II was last working) but REST API (Put) give an  httpResponse containing an error of type 901 (Intenal error 951).

So it seems that the firmware on the Conbee 2 has become corrupted and prevents the use of the Observatory's Zigbee Network until the necessary firmware is reinstalled on the Conbee II. It is likely that the network devices (Smart Plugs and Open/Close Sensors)  will have to be potentiallly all reset and re-attached to the network.  It is unclear if back-up made earlier in Phoscon will allow the process to be shortened the process.

Firmware Reinstall
The method used to reinstall firmware is based on that presented at https://flemmingss.com/how-to-update-conbee-conbee-ii-firmware-in-windows-10/

Back to Top