|
Post by astrosloth0 on Feb 14, 2021 6:01:57 GMT -8
Hey All,
A suggestion: I have the old wired sensors from a original SkyWeather system, and want to use SkyWeather2 with the new WeatherRack. Interestingly enough, the code allows for many parts to be bolted on from the configs, like this:
if (config.DustSensor_Present): ...
There is no such option for the wired sensor package, so when it isn't there, SkyWeather2.py will crash. This means that the subsequent jobs (like publishMQTT) will never run.
Your code would work much more broadly if you didn't hard-code some of the sensor packages into it.
|
|
|
Post by SDL on Feb 14, 2021 9:54:41 GMT -8
Excellent comment. That is an error. We are supposed to check for sensors and keep running (but note it) if they aren't found.
Putting this on the bug list!
BP
|
|