Here is the text output from the weather station to Scope Dome which Scope Dome is reading just fine. But Im not sure how it looks from Scope Dome to SGP.
Hmm, ok. Nothing telling in the logs. I am attempting to release a new version of 4.1 today. I’ll add some additional debug logging so we can see what is happening.
This may be a reach but “NaN” is an error value that comes from an Arduino. It stands for “not a numeric” and it is returned when you ask the Arduino for numeric data and the returned data is ASCII or the data is not in a valid numeric format.
Appreciate it. Unfortunately, NaN is a universal constant across practically every platform known to man (including the one we use to write SGPro). Hopefully the next release will help shed some light on which platform is generating it.
This looks like a driver issue right now. SGPro does accumulate readings and perform regressions on them, but this line in the code is designed to see what Humidity looks like directly as received from the driver with absolutely no manipulation… The “raw” value.
[07/08/22 21:51:02.647][DEBUG][Main Thread][NONE] ASCOMEnvironmentDevice => reports humidity NaN
My advice at this point is to collect ASCOM device logs and discuss with the driver’s author. The conversation will be a lot easier if you can provide them with access logs illustrating the issue. Instructions on how to get those are here:
Go here and, about half way down the page, find the section labeled ASCOM Trace Logs
I contacted Scope Dome and they tested with their own setup with SGP and there were no issues there. Same SGP and same driver and updated ASCOM. Would really like to find out what is wrong here. Seems like its just mine, but it doesn’t make any sense and the logs logs look identical.
Ya, I understand it’s frustrating, but, as it stand right now, I am just not certain. The bits of code in question are well tested and work with lots of other devices without issue. The logs show that the actual raw value received for humidity is not a number so I am not certain what to do… the investigation, from SGPro’s perspective, is just dead from the start. Were you able to produce ASCOM Trace Logs as outlined above? What do they show as the response for the humidity request?
In terms of generic advice, have you done things like completely uninstall and re-install the drivers? Maybe the same for the ASCOM platform itself? At this point it seems like something specific to the environment and giving that a reset may be warranted.