Skip to content

v0.9.56

Pre-release
Pre-release

Choose a tag to compare

@Ierlandfan Ierlandfan released this 14 Jul 09:53
· 5 commits to main since this release

Forum-driven release: energy from Home Assistant or a Zuidwijk P1, a solar tile, and the DIM screen finally follows your tile layout.

Everything here came from forum reports by guustflater89 and michel30. Thanks both — several of these were real bugs, not config mistakes.

⚡ Energy: two new sources

The energy source is no longer a Toon-vs-HomeWizard switch. It's now a four-way choice in Settings → Integrations → Energiebron:

Source Notes
Toon meteradapter the built-in meter (default, unchanged)
HomeWizard P1 unchanged
Zuidwijk / ESPHome P1 new
Home Assistant new
  • Zuidwijk SlimmeLezer (and any ESPHome dsmr reader). Set the host in Settings → Integrations. It needs ESPHome's web_server on port 80, which Zuidwijk's stock config ships with. If it can't read the meter, the log now tells you which problem you have — box unreachable vs. sensor names that don't match — instead of guessing.
  • Home Assistant sensors. Pick your power and gas entities under Settings → Home Assistant → Energie (with the usual entity browser).

☀️ Solar tile (Opbrengst zonnepanelen)

A new Zonnepanelen tile for the stock theme — long-press any tile to swap it in.

It reads an HA production sensor (Settings → Home Assistant → Energie → Zonnepanelen). It deliberately does not derive yield from a P1 meter: a meter only ever sees the surplus that actually leaves the house, never gross production, because your own appliances eat some of the solar first. Calling that "opbrengst" would just be wrong, so the tile asks for a real inverter sensor.

🖥️ DIM screen now follows your tile layout

If you removed the water-pressure tile from the home screen, the standby screen kept showing it anyway — the DIM screen had the block hardcoded and never looked at your layout. Fixed, and it applies immediately when you change a tile (no restart).

🏠 Home Assistant fixes

  • https:// now works. Every HA request was hardcoded to http://, so an https:// host produced http://https://ha.example/... and silently failed — entities would never load no matter how correct your URL and token were. The host field now accepts ip:port, http://… or https://….
  • An HTTPS Home Assistant used to show nothing at all. Live updates run over a plaintext WebSocket, and the code only fetched entity state after that connected — so with HTTPS it never connected and never fetched. There's now a REST polling fallback, so the UI stays fed (updates on a 10 s poll instead of instantly).
  • Failures are logged with a reason once, instead of failing mute.

🌦️ Weather

  • Weather could fail to appear entirely. The city → coordinates lookup uses a second server, which can be blocked or down while the forecast API is perfectly fine — and with no coordinates there was no forecast request at all. It now falls back to De Bilt after a few failures and keeps retrying your real location in the background, and says so in the log.
  • The weather tile no longer shows a phantom 0,0° before the first forecast lands.

🧩 Tiles are customisable — and now say so

Several people didn't realise the stock home tiles can be changed at all. Long-press any tile to swap it. Empty slots now say "Tegel toevoegen", and there's a one-line hint on the home screen until you customise your first tile.

🔧 Under the hood

  • main did not compile from a clean checkout — the NILM event-log declarations were missing from a committed header. Fixed.
  • The cross toolchains no longer live in /tmp (override with TC_ROOT).
  • Fixed the web-settings endpoint clamping the new energy sources back to HomeWizard.

Known limitation, please read. The two new energy sources and the HTTPS/REST path have been compiled and render-tested, but I don't own a Zuidwijk reader or an HTTPS Home Assistant, so they have not been exercised against real hardware. If something doesn't work, grab the log — the new [ha], [p1esp] and [wx] lines are written to name the actual cause:

/etc/init.d/toonui stop; /mnt/data/toonui 2>&1 | grep -E '\[ha\]|\[p1esp\]|\[wx\]'

Please report back and I'll fix it.

Built from a clean v0.9.56 tag; both binaries pass the glibc-2.21 ABI check.