[weewx-user] Re: formatting MQTT message sensor lenght
What's the problem with the number of digits? Are they displayed correctly in HA? Or is there a problem for HA dealing with that number of digits generally? miso k schrieb am Mittwoch, 24. April 2024 um 22:15:18 UTC+2: > Hello Weather observers, > > since long time my weewx server is running - and updated to latest 5.0.2 > version. > > I want to export MQTT messages to Home Assistant, but the numbers are too > long. > How can I make them shorter? > Example: > outHumidity = 91.0 > inHumidity = 56.0 > outTemp_C = 3.776 > inTemp_C = 22.89 > windSpeed_kph = 9.0123264 > windGust_kph = 9.3341952 > > > I have tried to format it through format = %.1f , but it does not seems to > work > > My MQTT Configuration: > > [[MQTT]] > server_url = mqtt://xxx:xxx@localhost:1883/ > topic = weather > unit_system = METRIC > binding = archive, loop > aggregation = individual > log_success = False > log_failure = True > [[[inputs]]] > outTemp > name = inside_temperature # use a label other than outTemp > format = %.1f # two decimal places of > precision > unit = degree_F# convert outTemp to F, others > in C > inTemp > unit = degree_C # use F instead of C > format = %.1f # use two decimal places > of precision > name = inside_temperature # use label other than > inTemp > windSpeed > units = meter_per_second# use knots instead of > meter_per_second > format = %.1f # use two decimal places > of precision > name = wind_speed # use label other than > inTemp > > Thank you! > Michal > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e4147bcb-4f9e-4ef8-8ead-15494835c3ecn%40googlegroups.com.
[weewx-user] Mapping Fineoffset24B
Does anyone have a good mapping for Fineoffset24B to Weewx. Rebuilding my pi and lost everything. Having issues with radiation and luminosity. [[sensor_map]] outTemp = temperature.65.FOWH24BPacket appTemp = temperature.65.FOWH24BPacket outHumidity = humidity.65.FOWH24BPacket windSpeed = wind_speed.65.FOWH24BPacket windDir = wind_dir.65.FOWH24BPacket windGust = wind_gust.65.FOWH24BPacket rain_total = rain_total.65.FOWH24BPacket UV = uv_index.65.FOWH24BPacket radiation = light_lux.65.FOWH24BPacket outTempBatteryStatus = battery.65.FOWH24BPacket inTemp = temperature.253.FOWH32BPacket inHumidity = humidity.253.FOWH32BPacket pressure = pressure.253.FOWH32BPacket Thanks -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a34fc8d9-1296-4bae-98d9-13a5192b3a27n%40googlegroups.com.
[weewx-user] formatting MQTT message sensor lenght
Hello Weather observers, since long time my weewx server is running - and updated to latest 5.0.2 version. I want to export MQTT messages to Home Assistant, but the numbers are too long. How can I make them shorter? Example: outHumidity = 91.0 inHumidity = 56.0 outTemp_C = 3.776 inTemp_C = 22.89 windSpeed_kph = 9.0123264 windGust_kph = 9.3341952 I have tried to format it through format = %.1f , but it does not seems to work My MQTT Configuration: [[MQTT]] server_url = mqtt://xxx:xxx@localhost:1883/ topic = weather unit_system = METRIC binding = archive, loop aggregation = individual log_success = False log_failure = True [[[inputs]]] outTemp name = inside_temperature # use a label other than outTemp format = %.1f # two decimal places of precision unit = degree_F# convert outTemp to F, others in C inTemp unit = degree_C # use F instead of C format = %.1f # use two decimal places of precision name = inside_temperature # use label other than inTemp windSpeed units = meter_per_second# use knots instead of meter_per_second format = %.1f # use two decimal places of precision name = wind_speed # use label other than inTemp Thank you! Michal -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e383f0fa-0ee6-43de-9a87-63480cc5d2f7n%40googlegroups.com.
[weewx-user] Re: FTPS and Windows server
Cron is not a kludge. It's been around for decades longer than weewx. Add one line to one file. Done. On Wednesday, April 24, 2024 at 10:01:24 AM UTC-7 m8rk...@gmail.com wrote: > I know that the Weewx documentation mentions that the Phyton's ftplib > implementation of FTPS does not work well with Windows servers. But I am > curious if there is an workaround for this problem besides using rsnyc > instead. Weewx is executing on a Raspberry Pi and Curl has no issues > transmitting file to the Windows 2023 IIS server using either the implicit > or explicit FTPS protocol. > > I suppose a contab script could be setup to transmit the html file to the > server instead of using Weewx's ftp but that is more or less another kludge > to maintain. > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/614a37f4-d0cb-4045-939f-9bd9ec32f015n%40googlegroups.com.
[weewx-user] FTPS and Windows server
I know that the Weewx documentation mentions that the Phyton's ftplib implementation of FTPS does not work well with Windows servers. But I am curious if there is an workaround for this problem besides using rsnyc instead. Weewx is executing on a Raspberry Pi and Curl has no issues transmitting file to the Windows 2023 IIS server using either the implicit or explicit FTPS protocol. I suppose a contab script could be setup to transmit the html file to the server instead of using Weewx's ftp but that is more or less another kludge to maintain. -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c72b025d-3e7c-445e-bc51-ebc1ca5d04e9n%40googlegroups.com.