Earth Notes: On Website Technicals (2025-03)

Updated 2025-03-23.
Tech updates: heat battery dashboard detail, fewer daily, YouTube podcast feed, CSS chart, Eddi h1/h2 roll-over, link times, chart style...
Considering a grass-roots movement to form a citizens' assembly to set terms for a Royal Commission to guide the forming of a ministerial task force to consider the scoping and creation of a focus group to sketch terms of reference for a study group to outline the agenda for a pre-meeting to form a steering group to get ready to think about upgrading the RPi server, easy does it... The Thermino heat battery is alive again!

2025-03-23: Electricity Charts

20250323 16WWMonthlyElectricityConsumption alt 20250323 16WWMonthlyElectricityConsumption
16WW by-month electricity charts old and new style.

After updating the by-month electricity chart to include , the formatting looked a bit different on my Mac (like old/previous rendering) and on the server (new: years are split into two columns in the key).

I took this opportunity to fix a colour numbering bug, and to use the plot for code form:

plot for [i=2:19] "data/16WWMonthlyElectricityConsumption.dat" \
        using 1:i title col smooth bezier lc i, \
     for [i=2:19] "data/16WWMonthlyElectricityConsumption.dat" \
        using 1:i notitle with points lc i, \
     "" using 1:20 title col smooth bezier lc 1 lw 3, \
     "" using 1:20 notitle with points lc 1

Tinkering continued, eg using linetype int((i-2)/10) to help make the different decades' lines easier to distinguish:

20250323 16WWMonthlyElectricityConsumption dashed
Electricity chart new style with line type distinct for first 10 years' data.

2025-03-21: Link Time

For my Sources/Links sections I use a very consistent format for links that have a particular date, eg press releases or news stories:

    <li>YYYY-MM-DD: ...

Sometimes there is no -DD or -MM-DD. Years are almost all 20XX.

So now I have updated the script to automagically wrap the date part in a time element, to ease machine parsing. Maybe that will help screen readers and search engines.

A side-effect of this tweak was every top-level main HTML page being rebuilt: desktop, mobile/lite and off-line. Somewhere over 100 (~25%) of the desktop pages had not yet been rebuilt this year, interestingly, thus still had the site copyright date in their footer.

2025-03-19: Eddi Heater Roll-over

Today (nominally at ) a pasteurisation cycle became due. But grid carbon intensity was not (relatively, cf the last week) low, so all that happened then was the Eddi heater priority being set to 1, ie for the DHW cylinder.

PV diversion (starting ) then brought the DHW tank up to its immersion cutoff temperature (assumed to be ~60°C) and the Eddi automatically started to divert to heater 2, ie the Thermino ().

I had to teach the detection script a new way to detect the DHW tank being hot for this case (the second line of the awk conditions below). For good measure I added a backstop for when both cylinder and Thermino are full (state 5, on the third line).

Here are the awk lines to detect pasteurisation done from the Eddi log by printing the salient log line and exiting:

/"sta":[34]/ && /"hno":1/ && /"div":0/ {print $0;exit}
/"sta":[34]/ && /"hpri":1/ && /"hno":2/ {print $0;exit}
/"sta":5/ {print $0;exit}

A test case has been added for today: the DHW cylinder getting 'full' without the Thermino then also getting full.

2025-03-17: CSS Charting Fun

I wanted to make a simple diagram for the heat pump DHW and WC schedules. Use CSS Grid To Create A Stacked Bar Chart showed a simple way to achieve it, with simple-ish in-line CSS.

daily 24h schedule, local time
GB grid
off-peak
peak
off-peak
DHW
reheat 42°C
eco 45°C
reheat
eco
reheat
WC adjust
setback -5°C
normal
setback
normal
setback
DHW and space-heat weather compensation setback (WC adjust) schedules: 24h clock, local time, the same for all days of the week. Exact hour and half-hour boundaries are avoided for demand changes. GB grid peak time is covered by lower DHW and space-heat demand intervals. The heat pump timings are in multiples of 10 minutes and there are at most 4 DHW events per day.

2025-03-13: YouTube Podcast LITE

Today I made the 'lite' version of the EOU podcast available via YouTube, connecting my YouTube channel to the the EOU lite RSS feed, at the suggestion of Podnews.

I will not see any audio or other traffic from them I think.

I do not know if YouTube will roll episodes off the end, ie drop them, when my lite feed does. (My lite feed only shows the five most recent non-music non-VIDEO episodes.)

YouTube now emails me (once) every night ~ to say:

We failed to retrieve the RSS feed for your podcast 'Earth Notes - LITE' because the hosting service failed to respond. Please contact your hosting company for more information.

Until this problem is fixed, some episodes from your RSS feed will not be uploaded to YouTube.

I set up a rule in my mail client to automatically 'file' that noise.

2025-03-09: Fewer Daily

Regenerating some of the daily energy time series was taking a long time, and I do not think that the series in question were useful.

So I stopped (re)generating them, by moving aside the daily scripts for the Eddi h1 and h2 boost and divert data extraction.

2025-03-03: Heat Battery Detail

The Sunamp Thermino heat battery has been reconnected. I have added a little more detail to the dashboard page:

Diversion plus boost today: 3.589kWh (div=0, DHW h1d=0.0 h1b=2.7, heat battery h2d=0.9 h2b=0.0)

No current diversion (div=0, at Z) in progress. There was a pasteurisation cycle for the DHW cylinder in the wee hours (2.7kWh) and PV diversion to the Thermino during the day (0.9kWh).

2025-03-09: updated line

Diversion plus boost today: 3.904kWh (current diversion 367W, DHW h1d=0.0 h1b=0.0, heat battery h2d=3.9 h2b=0.0)