-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVersionHistory.txt
113 lines (103 loc) · 8.14 KB
/
VersionHistory.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
ASCOM Environment driver for Q-Astro Dew Monitor
To be used with Q-Astro Dew Management Arduino Code
Description: Q-Astro Dew Monitor driver is part of a LocalServer ASCOM Solution
which uses an Arduino NANO board to control Environment through a single communication channel(USB Cable)
Implements: ASCOM Q-Astro Dew Monitor interface version : 3.0.0
Author: (RvE) Raoul van Eijndhoven Support@quidne-it.com
Verion Log:
Date Who Vers Description
---------- --- ----- -------------------------------------------------------
05-02-2019 RvE 1.0.0 Initial edit, created from ASCOM driver template and first release of a working driver.
17-02-2019 RvE 1.5.0 Added functionality to permanently switch on display. Also be able to recognise that the correct Firmware is running on the Arduino.
31/08/2019 RvE 2.0.0 Complete rewrite of the LocalServer ASCOM code.
04/12/2019 RvE 2.0.1 Resolve setup bug when using the Dew Management App
21/01/2020 RvE 2.1.0 Show Pressure in hPa in UI
02/02/2021 RvE 3.0.0 Redesign of Arduino software and ASCOM drivers. More simplification of the code.
Change of name for the ASCOM code to Q-Astro Monitor as the system is self managing.
First release available on GitHub
22-09-2021 RvE 3.0.1 Fix problem in Arduino & GUI code as Dew Heater Power was not shown correctly.
28-01-2022 RvE 3.0.1 & 3.0.2 Arduino Added Timer library to Required Library folder and remove Q-Astro-BMA library. Updated the Arduino code to fix Timer bug
and to allow for BM280 I2C Address to be defined (See ObservingConditions.ino).
18-10-2022 RvE 3.5.0 Updated the Arduino Code to fix incorrect initialisation of Dew Bands and temp sensors.
Using latest Libraries.
Added base code for future function to set the Dew Monitor in manual mode which will enable you to set the dew band power manually
Overal code cleanup where possible
21-10-2022 RvE 4.0.0 Updated the IU to incorporate the new function to manual set the Dew Power on the Dew Bands.
Code made more resilient to errors.
Added more status updates.
29-10-2022 RvE 4.0.1 Resolve Bug where Dew Bands had power applied (Auto mode) and then switch to manual, caused String Conversion error.
31-10-2022 RvE 4.0.5 Update Arduino code to detect if OLED present or not.
Change code to properly act on OLED present or not.
Remove EPROM library & code as it was not used.
03-11-2022 RvE 4.0.6 Added feature requested by Herb Steck to move the trackbars to the Power level used when in Auto mode.
05-11-2022 RvE 4.1.0 Resolved bug with Arduino ASCOM update time
Fix Bug in ASCOM driver to return proper LastTimeUpdate in sec.
Monitor App update to show current time and latest Sensor update time.
06-11-2022 RvE 4.1.1 Optimize Monitor App code. Resolve Connect/Disconnect bugs.
Resolve bug switching from Manual to Auto mode and Dew Monitor not updating.
21-11-2022 RvE 4.1.5 Change the ASCOM driver to implement Action() & CustomActions()
Added feature requested by Herb Steck to disconnect the Monitor App if no Sensor Updates have been received for 2 min.
Fix in Arduino code as Get Dew Heater temp is the e# command and not the w# commmand.
Fix bug in Arduino code where power set in Manual mode would either be 100% or 0% and nothing inbetween.
Fix bug to enable trace in Setup Dialog.
22-12-2022 RvE 4.2.0 Many updates to the internal code of the:
* Arduino Code
- Changed the startup process. Delay the start of the power to the dew bands if Dew Bands need power upon startup due to low temps.
- Changed pressure data requested from p to b.
- Consolidated get & set dewband power to p.
- Added some additional Serial data output during initialisation.
* ASCOM Driver
- Completely changed the way data is requested from the Arduino. Removed the consolidated data request timed function to individual requests.
- Fixed a long standing bug where the driver did not notice a disconnect from the Arduino.
- Added more error checking.
- Properly implemented TimeSinceLastUpdate function.
- Implemented the Refresh function.
* Monitor App
- Updated the Data Request process to a seperate function.
10-01-2023 RvE 4.3.0 Moved from a BME280 to a SHT31. Big difference is that the SHT31 does not record Altitude or Pressure. These 2 parameters have been removed from the
Arduino code, ASCOM Driver & Monitor App.
Additional code cleaning as some duplication of actions where found in the Monitor-App.
All the code related to the BME280 has only been commented out in this version.
Added icon to Start-Menu -> Programs
10-01-2023 RvE 4.3.1 Added cleanResponse() to the SharedResources.cs to clean the response incase of any corruption in the serial stream.
Arduino code updated to add a o to the response when performing an i# request.
15-03-2023 RvE 4.5.0 Removed dll usb_relay_device.dll from the DewMonitor-App Resources as this is not used at all and is legacy code from a different project.
Remove #define MAX_DEWHEATERS 2 from the Arduino code as this is not used anymore.
Updated Driver.cs & SharedResources.cs to better implement Connect/Disconnect.
Updated Driver.cs & SharedResources.cs to better detect hardware disconnect.
Updated Monitor App for better error handling.
Arduino Code update for a more detailed Dew Point calculation.
Arduino Rewrite of the Dew Management code to enable a more stable power use.
21-03-2023 RvE 5.0.0 Update ASCOM to implement a number coding guidelines regarding casing and set a number of variables as ReadOnly.
Implement the use of Fixed percentage power increase in automated mode.
Implement the use of EEPROM storage for config settings that can be changed by the user via the Setup Dialog of the ASCOM Local Server driver.
Add more additional fields in the Setup to allow the update of config settings.
Update the ASCOM driver to allow the config settings to be send to the Arduino, via the Custom Actions function.
Update the call to the SetupDialog routine to ensure changes to the config settings are send back to the Arduino.
Arduino code changed to use a struct for the configuration values that can be set via the Setup.
Fixed bug where code was not acting correctly when Dew Band Temp Sensor was not working (e.g. returning value -127).
Change text on Monitor app from "Manual Dew" to "Manual Mode"
Ability to Name the Dew Bands in the Monitor App via the SetupDialog
14/06/2024 RvE 5.0.5 Number of small updates and bug fixes.
Arduino Code:
- Update time based varliables from int to unsigned long. This fixed the 9hr max connected runtime bug.
- Cleaned up the data on the display of the Dew Monitor.
- Bug fix where Temp of -127 instead of NC was shown on display is dew heater was not connected.
- Set initial values of int variables when defined.
- Fix bug where wrong value was shown on display for Dew Power. Was shown value between 0 - 256, where it should be a % value
Monitor App:
- Update data collection timer from 5 sec to 10 sec. Changed TimerUI object to dataUpdateTimer for code readability.
- The collection timer interval change is to check if this helps with a disconnection between computer and Dew Monitor (Arduino) after 9hrs.
- Added some additional comments to clarify the code.
- Changed name of boolean fun MonConnected to DewMonConnected.
- In GetData() changed variable bool receivedData to dataReceived.
- Spelling corrections in comments.
ASCOM Driver:
- Additional cleanup of ASCOM driver connection state when Dispose command is given.
- LocelServer - SharedResources - set s_z = 0 when last last connection is removed (e.g. it is possible for s_z to be a negative value). Setting to 0 just ensure a proper cleanup.
17/06/2024 RvE 5.1.0 Update Arduino code
Arduino Code:
- Renamed files to increase readability
- Moved appropriate code the header files.
FYI: The code is not perfect, by a long shot. But it is more stable than before.
--------------------------------------------------------------------------------