News for hackers. Stuff that matters.
Re:Writing GUI applications on the Raspberry Pi without a de... by alias_neo on Saturday July 06, 2024 @01:05PM (#40891687)
I've been doing some R&D for building a Home Assistant dashboard with a nice touchscreen display I bought to go on the wall at home, with the ultimate goal of expanding it into many home-rolled displays.

Having slimmed down the RPi Lite OS as much as I can, running Wayfire with a Chromium kiosk is just too much for the Pi 3B+ I'm using once I add a streaming camera to the dashboard, and it can't cope. My goal is to have a responsive touch-screen display for Home Assistant using something in the form-factor of a Pi Zero 2W, so that I can put the SBC _inside_ the display and build a wooden picture frame to house it all, so it doesn't stick out like a sore thumb.

I'm not sure what kind of API HA has for the frontend, but my first thought, was to build a native application with a Go backend (I write Go for my day job) and use something like Wails[0] for the frontend and completely cut out the heavy-weight Chromium browser.

I have Pi4's and Pi5's but I really want to use the littlest amount of compute (and power) I can to achieve this, even it means writing the UI myself. I've tried looking for a lighter-weight browser that I can simply run the HA dashboard in to no avail.

[0]https://wails.io/

Re:Writing GUI applications on the Raspberry Pi without a de... by benhoff on Saturday July 06, 2024 @03:03PM (#40892446)
I've been looking at the Radxa zero3w/zero3e.

Looks like this guy got Chromium to work? https://www.youtube.com/watch?v=XAnN1A_sye0

Re:Writing GUI applications on the Raspberry Pi without a de... by alias_neo on Saturday July 06, 2024 @07:52PM (#40894187)
I've been considering that board, but a read of the forums suggest it has lots of issues.

I might try it anyway but I'm not sure what their long term support would be like compared to Pi if I do get it to work.

Re:Writing GUI applications on the Raspberry Pi without a de... by buck746 on Sunday July 07, 2024 @01:31PM (#40899065)
Have you looked at DietPi as a low resource OS? It's my default choice for a SBC like the Pi. They have versions for x86 too.
Re:Writing GUI applications on the Raspberry Pi without a de... by alias_neo on Sunday July 07, 2024 @05:57PM (#40900782)
I haven't, but tbh, the OS is already using next to zero resources, chromium is the real issue. Of course I could just throw a more peweful Pi or SBC at it, but that's not my goal.