Sorry. I didn't see your message. It was that. I change MQTT inputs and now 
the speed is in km/h althought it reports windSpeed_mps
{"noise_dB": "-29.591", "cloudbase_meter": "134.366868777", "outHumidity": 
"96.0", "pressure_mbar": "1004.74", "maxSolarRad": "0.0", "barometer_mbar": 
"1011.6171679", "rainRate_mm_per_hour": "0.0", "dewpoint_C": 
"11.7795292565", "heatindex_C": "12.4", "dayRain_mm": "2.1", "battery": 
"0.0", "altimeter_mbar": "1011.2607317", "windchill_C": "12.4", "snr_dB": 
"29.476", "rain_total": "68.55", "appTemp_C": "12.4773944539", "outTemp_C": 
"12.4", "humidex_C": "14.545643026", "hourRain_mm": "0.0", "windGust_mps": 
"3.67200912966", "rssi_dB": "-0.115", "inTemp_C": "19.5", "usUnits": 
"17.0", "rain_mm": "0.0", "rain24_mm": "3.9", "dateTime": "1574971656.0", 
"windDir": "0.0", "windSpeed_mps": "2.44800608644"}

El miércoles, 27 de noviembre de 2019, 20:12:17 (UTC+1), Greg Troxel 
escribió:
>
> "Kike .Asekas" <[email protected] <javascript:>> writes: 
>
> > I use MQTT y I have configure it with METRICWX. 
> > [[MQTT]] 
> >         server_url = mqtt://broker.hivemq.com:1883 
> >         topic = estacion/datos 
> >         unit_system = METRICWX 
> >         binding = loop 
> >         ... 
> > When I load the page goes well, but at the time of updating the wind 
> speed 
> > appears in m / s. If I change the lines I told you multiplying x3.6 it 
> goes 
> > well. 
>
> You can tell the mqtt publisher to set the units on each thing to 
> publish.   Probably you should just do that, even if in the background 
> you try to investigate the defaults. 
>
> For example, I have 
>
>         [[[inputs]]] 
>             [[[[barometer]]]] 
>                 name = barometer_hPa 
>                 units = hPa 
>
> I am really not sure why I needed this, as I have group_pressure set to 
> hPa as a default for all reports, but it was easy to set. 
>
> > This is the output of MQTT. By the way, I don't understand how 
> maxSolarRad 
> > appears without having a solar sensor 
>
> That does not make sense.  Some stations pretend to measure solar 
> radation from an illuminance sensor, but I don't even see that in your 
> output. 
>
> Also, since solar radiation is more or less always in W/m^2 (even in the 
> US we do not use hp/ft^2), the value 7 does not really make sense unless 
> right at dawn.  Even a very dark day will see 50. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a90413e3-59c6-47d3-8ecd-4d1754510750%40googlegroups.com.

Reply via email to