▲ 373 r/HomeKit

Follow-up: how I mount and power my wall-mounted HomeKit iPad dashboard

A week ago I shared my spare-iPad HomeKit dashboard, and one of the biggest questions was how the iPad is mounted and powered.
This video shows my actual setup—a 86 × 86 mm in-wall charging panel dedicated for this scenario, a magnetic 3D-printed mount, pogo pins, and a thin USB-C cable inside the case. All of these are bought as a product, the most DIY part is installing it.
The charger is exposed to HomeKit, so I use a Shortcut automation to start charging around 20% and stop around 80%.
Important caveat: I planned my setup during renovation, and the panel connects to wiring inside the wall. This isn’t a universal DIY recommendation—mains wiring should follow local electrical codes and be handled by a qualified electrician.
Non-destructive retrofit versions also exist for already-finished homes, but I couldn’t find that variation on Amazon. You may have better luck on marketplaces such as Alibaba using search terms like “iPad wall mount charger” or “86 mm iPad wall mount charger.”

One thing I don't like about this setup: it uses up my usb-c port. When I connects it to my mac for development I had to remove the case completely. it also blocks the stock charging pins so that's not an option.

I also included a quick Hearth 1.2 preview near the end: Fahrenheit support, German localization, and iPhone support. Photo-album and sensor-data screensavers, alongside individual device control and camera are planned, but they won’t be part of 1.2.
I’m the developer of Hearth. Would a region-agnostic guide to wall mounting, power, and battery management be useful? I’d also love to see how others have mounted their HomeKit dashboards.

u/BeforeWhitby — 8 days ago
▲ 738 r/AppleEcosystem+2 crossposts

I turned a spare iPad into a dedicated Apple Home dashboard

Apologies for my sketchy video, still working on it.

TL;DR:

Always-on-Display + wake on approach based on nearby body sensors.
Lighting/climate/shades control with simple tap/slide/long press gestures
Minimalistic design
Free version comes with basic controls for one room, pro available as one purchase w/o subscriptions.

App Store Link: https://apps.apple.com/us/app/hearth-home/id6757917280

iPad only at the moment. iPhone support coming soon.

The story:

I planted a wall-mount magnet panel for iPad during renovation but didn’t think it through. For a long time I’ve been using it with Apple Home + Guided access.

This means the screen is always on with the Apple Home interface which is a waste of the screen. It’s also painful when I try to adjust the brightness of the area (I don’t like scenes)

So I got the idea from the physical dimmer controller and some modern in-wall smart home screens that turn themselves into clocks when idle. Since iPad does not give developers distance sensor access, I managed to utilize nearby HomeKit presence sensors to control the screensaver. In the video the sensor I used was the one inside the aqara v1 switch.

It’s an early version but I’ve been using it for weeks and thought it’s good enough for others to try. If you have the exact same problems as I did I think you’ll love it. Please try it out and let me know if it helps!

The reason why I don’t play with Home Assistant: i actually use Home Assistant for a lot of automations but thanks to Aqara 🙄 there are some dimmers I can’t get into HA stably. Plus I have a bunch of non HomeKit gadgets like Xiaomi BLE devices. Apple Home ended up being the platform with the most complete devices’ support.

This + my HomePod on the ceiling is my final setup for my smart home interface. I might have just built the rumoured Apple wall-mount display🫪.

BTW: I sent the text above to ChatGPT and it gave me 7/10, saying it was too long, too much noise and too many technical details. Well, it’s a discussion and I truly want to share my ideas behind this app so I’m posting it as is.

u/BeforeWhitby — 14 days ago
▲ 52 r/swift

I built a Swift package that compiles 2,112 Lucide icons into native SwiftUI Shapes — zero runtime deps

I wanted Lucide icons in my SwiftUI projects but didn't want to bundle PDFs or set up an asset catalog just to render a heart and a gear icon. So I wrote a code generator that reads SVG paths from upstream Lucide and spits out SwiftUI Shape code. The result is a Swift package with no runtime dependencies. The compiled shapes are just Swift code.

LucideIcon(.heart). That's it. Full autocomplete, type-safe, scales to any size. 1,738 regular icons plus 374 experimental Lab icons. iOS 14+, macOS 11+, tvOS 14+, watchOS 7+, visionOS 1+.

A few things worth knowing upfront:

SwiftUI only. The icons are Shapes, and UIKit doesn't render Shapes directly without a SwiftUI host. Lab icons are experimental. Filled rendering in general is hit or miss because Lucide's paths are designed for strokes, not fills. I'm still figuring out the right way to handle the bad ones.

If you're already using SF Symbols and you're happy with it, this probably isn't for you. Lucide makes more sense if you want the same icon set you're using on web, or you need glyphs that aren't in SF Symbols' catalog.

Repo: https://github.com/ajaxjiang96/lucide-swift

If you try it and an icon renders weird, open an issue. I'm actively fixing those.

github.com
u/BeforeWhitby — 2 months ago
▲ 10 r/M5Stack

Ported tamafi to M5Stopwatch

Got my stopwatch this afternoon. Handed it on briefly and then asked Claude to code a port for Tamafi (an electronic pet that can interact with the surrounding Wi-Fi). Perhaps because it’s a simple software, the whole process is very smooth. The OLED screen can directly cut out a 240x240 area and blackout the reset of the pixels. Perfectly replicated the original content of the author.

It’s just so much fun with the esp32 devices!

u/BeforeWhitby — 3 months ago