finally... the name should not be in "" and it needs to be without space I hope. I am getting value updates now.
Thanks everyone for pointing me the right direction! Dátum: piatok 26. apríla 2024, čas: 19:29:52 UTC+2, odosielateľ: miso k > I can read the MQTT message in HA built in MQTT plugin. So the server is > correctly set up and MQTT client too. I can even read the messages in MQTT > Explorer. > The problem is, that the entity in HA is not updating and is "unknown". > > Dátum: piatok 26. apríla 2024, čas: 19:27:21 UTC+2, odosielateľ: miso k > >> I have red on another forum, that the number is too big for HA to read >> it. Maybe I am wrong, but the possibilities that my configuration.yaml is >> wrong are limited already I hope >> >> Dátum: štvrtok 25. apríla 2024, čas: 5:22:28 UTC+2, odosielateľ: >> michael.k...@gmx.at >> >>> 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.777777777777776 >>>> inTemp_C = 22.88888888888889 >>>> 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/5308e5e6-fdbb-4a43-8e88-90a61974f8f0n%40googlegroups.com.