Firewalla Local is a high-performance, privacy-first Home Assistant integration designed for users who want to bridge the gap between their network security and their home automationβwithout the cloud middleman.
I bought my Firewalla Gold a few years ago for the same reason many of you did: the promise of a powerful, prosumer, DIY-friendly firewall. To be fair, I actually really like the Firewalla appβit does an incredible job of making complex networking accessible.
However, relying solely on it means the ecosystem is not only "Cloud-Locked," but also "App-Locked." Opening an app on your phone is perfectly fine for configuring a VLAN or tweaking a setting every few months. But it becomes a significant handicap when you want to dynamically orchestrate day-to-day routines or leverage rich network data alongside the rest of your homelab services.
After years of maintaining custom SSH scripts to pull system metrics and wiring up clunky workarounds, I eventually reached a fork in the road: either reflash my hardware to a fully open-source OS, or finally build the native Home Assistant integration the community has been asking for.
I chose to build.
This integration is for the users who don't want another cloud dependency just to automate a "Kids' Bedtime" rule. Itβs for the homelabbers who want network insights displayed right next to their server stats. It's for anyone who wants dynamic, condition-based control over their firewall, and for those who fundamentally believe that what happens on your LAN should stay on your LAN.
"I love the Firewalla hardwareβit's some of the best on the market. I built this so I wouldn't have to choose between great hardware and a local-first DIY experience."
- Why this exists
- The "Platinum" Approach
- What it Enables
- Supported Hardware & Prerequisites
- A Note on Security & Privacy
- Design Philosophy & Scope
- Support the Project
- Quick Installation
- User Guide
- Development & Architecture Docs
- Community and Contribution
- Security and Support Posture
- Disclaimer and Liability
- License
This isn't just a wrapper for a few scripts. It was built from the ground up to meet Home Assistantβs "Platinum" quality standards:
- 100% Local Data Plane: After a one-time cloud-brokered pairing (matching the official app's security), all communication is direct to your box on your local network.
- Optimistic UI: When you toggle a rule, Home Assistant updates immediately. No waiting for the next poll cycle to see if your command worked.
- UID-First Identity: Your entities and devices are anchored to your hardware license. They stay stable even if your IP changes or you have to re-pair the device.
- Manager-Based Architecture: Thin, efficient, and typed. Designed for stability and low CPU impact on your Home Assistant instance.
Firewalla Local has evolved beyond simple monitoring into a comprehensive local operator toolkit.
- Rule-Backed Switches & Timed Pauses: Toggle your most-used rules (Internet Block, Social, Gaming) instantly. Use the
pause_ruleandresume_ruleservices to grant duration-based access (e.g., "Give the kids 30 more minutes of gaming") via any HA automation or voice assistant. - Host Operator Actions: Act as the network admin directly from Home Assistant. Wake devices (WOL), rename hosts, set/clear DHCP reservations, and toggle "notify when online/offline" settings seamlessly via actions (services).
- Router-Based Device Trackers: Expose highly reliable Home Assistant
device_trackerentities for your MAC-backed LAN clients for rock-solid "Home/Away" presence automations. - Watched-User Monitoring: Select household members to track their daily total internet usage, unique-usage, associated devices, and positive-only per-app usage based on real-time host joins.
- Watched-Device Monitoring: Expose critical endpoints as connectivity sensors with stable activity attributes to ensure your vital hardware stays online.
- Appliance Monitoring: Track Firewalla system status, WAN IP details, uptime, memory/disk usage, and the latest successful Speed Test natively. Includes a diagnostic
Sync runtimebutton to force an immediate local data refresh. - Rich Local Reporting: Leverage over a dozen native Home Assistant services to query host identity records, network segment usage, time usage history, WAN data, and WAN event timelinesβall pulled directly from the local data plane without touching the cloud.
- Firewalla Hardware: Developed and actively tested on Firewalla Gold. It should be compatible with the Purple, Gold Pro, and any other series running the Firewalla Box software that supports the local API.
- π£οΈ Community Feedback Needed: If you successfully run this on a non-Gold model, please drop a note in the Discussions tab so I can officially update this supported list!
- Home Assistant: Requires Home Assistant Core version 2026.3.0 or newer.
- Network: Your Home Assistant instance must be able to reach the Firewalla's local LAN IP.
Connecting any external system to your firewallβs management layer requires a high degree of trust.
- Independence: This project is not affiliated with, endorsed by, or supported by Firewalla Inc.
- Zero-Credential Storage: This integration does not store your Firewalla account password. It uses an encrypted token exchange identical to the official Firewalla app.
- Local credential persistence: Testing indicates Firewalla may return a stable local credential bundle for the box during Additional Pairing. Removing the paired-device entry in the Firewalla app should not be treated as a guaranteed revocation of already-cached local access.
- Responsibility: Access to your firewall's control plane is powerful. By bridging your firewall to Home Assistant, you are inherently expanding your network's attack surface. If your Home Assistant instance is exposed or compromised, your network routing and firewall rules could be manipulated. By using this integration, you accept this risk and are solely responsible for locking down your Home Assistant environment (e.g., enforcing 2FA, securing remote access, and managing user permissions).
Firewalla Local is built for the individual home user. My goal is to provide simple, responsive, and private control over your own local network.
- The Goal: Enabling the "Common Person" to have the same level of local visibility and automation found in many other prosumer networking products.
- What this is NOT: This integration is not a Managed Service Provider (MSP) tool. It does not provide multi-site management, fleet-wide reporting, or enterprise-grade monitoring.
- Respecting the Ecosystem: Firewalla offers a robust MSP platform for professionals who need centralized cloud management. This integration does not aim to replicate or provide those services. It is strictly for local-to-local home automationβthings like pausing the internet for your kids or checking your routerβs CPU load from a dashboard.
Building and maintaining local control integrations takes countless hours of development, testing, and covering hardware and tool costs. If Firewalla Local is giving you the network control you've been hoping for, here is how you can help keep the project alive:
β Star this repository! (The Non-Negotiable) If you install this integration and get value out of it, clicking the Star button at the top of the page is the easiestβand freeβway to say thanks. It takes two seconds, helps others discover the project, and shows me that the community is actively using it.
β Sponsor or Tip (The Ultimate Motivator) While stars let me know the integration is alive, a sponsorship or tip is the absolute best way to affirm that the time and money spent building this tool is providing real value.
Financial support is never required, but it is the strongest motivation for me to keep fixing bugs, adding features, and maintaining this project long-term. If Firewalla Local makes your smart home better, consider showing your support!
- Ensure HACS is installed.
- In Home Assistant, open HACS -> Integrations -> Custom repositories.
- Add
https://github.com/ccpk1/firewalla-local-haas an Integration repository. - Search for Firewalla Local, install it, and restart Home Assistant.
- Open Settings -> Devices & Services -> Add Integration.
- Choose Firewalla Local and complete the QR-based pairing flow.
The operating guide lives here: docs/USER_GUIDE.md.
It covers:
- installation and removal
- pairing expectations
- options-flow management for rule switches, watched devices, device trackers, watched users, and polling
- refresh behavior
- appliance monitoring, watched-device monitoring, device-tracker monitoring, and watched-user monitoring
- runtime inventory, network, time-usage, speed-test, and WAN report services
- host operator actions including Wake-on-LAN, rename, notification toggles, and DHCP reservations
- pause and resume services
The durable project rules live in:
docs/ARCHITECTURE.mddocs/DEVELOPMENT_STANDARDS.mddocs/QUALITY_REFERENCE.md
Repository layout:
βββ custom_components/
β βββ firewalla_local/
βββ docs/
β βββ ARCHITECTURE.md
β βββ DEVELOPMENT_STANDARDS.md
β βββ USER_GUIDE.md
βββ tests/
βββ components/
βββ firewalla_local/
- Issues and feature requests: https://github.com/ccpk1/firewalla-local-ha/issues
- Discussions: https://github.com/ccpk1/firewalla-local-ha/discussions
- Pull requests: https://github.com/ccpk1/firewalla-local-ha/pulls
- Vulnerability reporting guidance lives in
SECURITY.md - The high-level security approach, trade-offs, and awareness notes live in
docs/ARCHITECTURE.md - This repository should not be treated as an official Firewalla integration or as a Firewalla support channel
While I have put a significant amount of time and effort into engineering this integration properly, securely, and respectfully to the hardware, this is an unofficial, community-driven, open-source project.
This software is provided "as is", without warranty of any kind, express or implied. By installing and using Firewalla Local, you acknowledge and agree that you are using it entirely at your own risk. I make no guarantees regarding its functionality, stability, security, or ongoing compatibility with future Firewalla firmware updates. Under no circumstances shall the developer(s) or contributor(s) be held liable for any network lockouts, security breaches, internet outages, data loss, or any other damages arising from the use of this software.
Please proceed with caution, review your system often, and always keep a backup of your Home Assistant configuration.
This project is licensed under the GPL-3.0 license. See LICENSE.
