Switcher Module: Temperature, humidity and other parameters are not flaot variabels

Issue #369 closed
Former user created an issue

I have connected a PegasusAstro UPBv2 box to N.I.N.A. but all environment variables (temperature, humidity, dew point, voltage and current) are displayed as integer instead of float variables. e.g. temperature 238°C or instead of 12,0V 120V.

Comments (3)

  1. Dale Ghent

    Hi. The ASCOM switch interface is a strange choice for Pegasus to use to report the weather data, as well as voltages, as the switch class of devices does not provide any particular distinction for these data formats, nor is it really meant to. The weather data should be produced through an ASCOM ObservingConditions driver and reported under the Weather section . There is no ASCOM facility designed for reporting voltages. As far as we see this, this not a bug in NINA but rather an issue with how Pegasus has decided to implement this data. ASCOM Switch values are of an integer data type, so there is really no way for NINA to know that they are floats. Please contact Pegasus to report this issue to them. As for the voltages, there is nothing that can be done because there is no ASCOM facility designed to report that.

  2. Log in to comment