# Raspberry Pi Created: 2023_06_11 23:57 Tags: [[Technology]] [[Project]] When the Raspberry Pi 4 was announced, I pre-ordered one excited about all of the possibilities of things that I could do with the spec-bump from my RPi 3. It took a while to get to me and I changed my main desktop to be a Home Theater PC in the meantime. So when it finally arrived it was pretty underwhelming to have a computer that was less powerful than a PC that I planned on running 24/7 anyway. I did the classic RPi starter project, I ran pihole on it. But after that I didn't really do much with it. I tried to run papermc as a Minecraft server but found it would lag if there were more than 2 clients connected much less doing anything complicated. It sat as wasted potential for a long time after [[The Big Move]]... So, I was excited when looking into how to get data off of my [[AirGradient DIY]] that one of the integrations mentioned was Home Assistant. ## Home Assistant OS (HAOS) Home Assistant is an open-source platform that allows users to create a smart home automation system. It acts as a local-first hub to control and monitor various smart devices and services within your network. Some of the things that I use Home Assistant for are: - Tracking temperature, humidity and air quality from my [[AirGradient DIY]] - AdGuard DNS level ad blocking - Tracking Spotify plays and logging into an InfluxDB instance I've set up Home Assistant to be accessible outside of my network by using a reverse proxy to it. To configure home assistant to be able to use a reverse proxy I had to configure these settings in it's configuration.yaml file: ```yaml http: trusted_proxies: 192.168.0.x use_x_forwarded_for: true login_attempts_threshold: 3 cors_allowed_origins: - https://<domain> - http://192.168.0.x:8123 ``` ## References -