[email protected] schrieb am Donnerstag, 14. März 2024 um 09:53:53 UTC+1:
Can anybody, who already changed this, share his config?
In graphs.conf I use it like this:
[[humidity]]
title = "Luftfeuchtigkeit"
[[[outHumidity]]]
name = "relativ"
[[[outHumAbs]]]
name = "absolut"
yAxis = 1
unit = gram_per_meter_cubed
[[[[numberFormat]]]]
decimals = 1
For the current readings at the home page it is more difficult. If you want
to show relative and absolute humidity in one line you have add some lines
into belchertown.py:
*if* obs=='outHumidity':
humabs_output = getattr(current,'outHumAbs',*None*)
*if* humabs_output *is* *not* *None*:
humabs_output = humabs_output.gram_per_meter_cubed
station_obs_html += " <span
class='border-left'> </span>"
station_obs_html += '<span
class="outHumAbs">%s</span><!-- AJAX -->' % humabs_output
I added it before the lines
station_obs_html += "</td>"
station_obs_html += "</tr>"
In the MQTT configuration in weewx.conf you need to add
[[[[outHumAbs]]]]
units = gram_per_meter_cubed
in section [[[inputs]]].
I am not sure if that were all changes.
--
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/cea2d009-3296-4df9-9092-985667543333n%40googlegroups.com.