This integration allows you to monitor and control your Firewalla devices from Home Assistant.
- Monitor device status and connections
- View network flows and statistics
- Get alerts for security events
- Make sure you have HACS installed
- Go to HACS > Integrations
- Click the three dots in the top right corner and select "Custom repositories"
- Add this repository URL:
https://github.com/blueharford/hass-firewalla - Select "Integration" as the category
- Click "ADD"
- Search for "Firewalla" and install it
- Download the latest release from the releases page
- Extract the
firewallafolder from the zip file - Copy the
firewallafolder to your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
- Go to Home Assistant > Settings > Devices & Services
- Click "Add Integration"
- Search for "Firewalla" and select it
- Enter your Firewalla subdomain
- This is the unique subdomain for your MSP account (the part before .firewalla.net)
- Enter your Firewalla API token
- To get your API token, go to your Firewalla MSP account > Account Settings > Create New Token
If you see errors like "Failed to parse JSON response" or empty responses from the API, the integration will now use mock data to ensure functionality. This means:
- You'll see a simulated Firewalla device in Home Assistant
- The sensors and switches will work, but they won't reflect your actual Firewalla devices
- The integration will continue to try to connect to the real API in the background
This is a fallback mechanism to ensure the integration works even when there are API issues.
The Firewalla MSP API may have different structures for different accounts, or some endpoints might not be accessible with your API token. The mock data allows you to:
- Test the integration functionality
- See how the entities would appear with real data
- Have a working integration while troubleshooting API issues
To get real data from your Firewalla devices:
-
Contact Firewalla Support:
- Ask about the correct API endpoints for your MSP account
- Confirm that your API token has the necessary permissions
- Inquire about any specific API requirements for your account
-
Check API Documentation:
- If you have access to Firewalla MSP API documentation, verify the correct endpoints
- Look for any required parameters or headers that might be missing
-
Enable Endpoint Discovery:
- The integration now attempts to discover the correct API endpoints
- Check the logs to see if any endpoints were successfully discovered
-
Enable Debug Logging: Add the following to your
configuration.yamlto get more detailed logs:logger: default: info logs: custom_components.firewalla: debug