Re: commands sqm and temperature not working ore present


koal01
 

On Wed, Apr 14, 2021 at 01:11 PM, koal01 wrote:
I'm using the Adafruit si7021 and the weather is displaid on the weather panel but impossible through the monitor 
Same function called for the weather panel as the command... so how that could happen IDK.  Works here with BME280 too.
I changed these lines in command.ino this way to get the temperature value through a ":Ga#" request and it is working now
#if WEATHER_TEMPERATURE == ON && WEATHER == ON
//  :G1#  Get outside temperature
//         Returns: nnn.n#
    //    if ((command[1]=='1') && (parameter[1]==0)) {
    if (command[1]=='a') {
          dtostrf(weatherOutsideTemp(),1,1,reply); //modif mourad
          quietReply=true;
        } else

Thank you for the sqm

Join onstep-ocs@onstep.groups.io to automatically receive all group messages.