Comment on Selfhosting Sunday! What's up?
carlnewton@feddit.uk 3 days agoIt’s a PHP container On the front end I’m using Bootstrap and theming it with Catppuccin. The data for the home energy charts are populated from the Home Assistant API. They’re drawn with chart.js. The server stats are pulled from PHP exec commands, and drawn with Bootstrap progress bars. The temperature card also takes data from the Home Assistant API, which also has an endpoint for local weather data. This doesn’t update as often as I’d like. But it compares the outdoor temperature with the reported temperature of my thermostat, and then the messages below that are determined by a comparison of those values. I’m also using HTMX to load each card, and each tab of the energy card separately so that I don’t have no wait on all requests for the dashboard to load. Not that it’s slow - the home assistant API is surprisingly efficient at loading a great deal of logs. When you click my dogs face, she says WOOF WOOF WOOF in a modal to offer me a search with searxng.