Comments

8 comments

  • Avatar
    David Koppenhofer

    I am. Not in a production fashion, just playing around with it.

    0
    Comment actions Permalink
  • Avatar
    Anton Panasenko

    How does it going? Does purple have enough resources to run home assistant? Do you have some guide how to set up it?

    0
    Comment actions Permalink
  • Avatar
    David Koppenhofer

    I don't have a guide yet. I'll post my docker-compose.yml in another comment, though.

    The biggest issue I ran into was that the default docker partition on FWP is only 2 gigs big. My homeassistant image is 1.2 gigs by itself, without the database (which can grow like crazy if you don't tune your logging/history). Since I also have a few other docker images & volumes, I needed more than 2 gigs.

    I wrote up how I moved the default docker directory to the SD card, though. That post is here
    https://help.firewalla.com/hc/en-us/community/posts/4491452568851-Moving-docker-to-SD-card-on-Firewalla-Purple

    0
    Comment actions Permalink
  • Avatar
    David Koppenhofer

    The general ideas behind running docker containers via docker-compose is elsewhere on this site.

    For homeassistant, I created the directory /home/pi/.firewalla/run/docker/homeassistant and created a docker-compose.yml file there containing the following:

    version: '3'
    services:
    homeassistant:
      container_name: homeassistant
      image: "homeassistant/home-assistant:latest"
      environment:
        - TZ=America/New_York
      volumes:
        - homeassistant_data:/config
        - /etc/localtime:/etc/localtime:ro
      restart: unless-stopped
      network_mode: host
    volumes:
      homeassistant_data:
          external: true

    Also, this depends on having a volume homeassistant_data already created:

    sudo docker volume create homeassistant_data

    0
    Comment actions Permalink
  • Avatar
    LoRdNeX

    I’m not running HA on the Firewalla. That wouldn’t have enough power or ram to do anything with it. But I would like to see and integration to control the Firewalla FROM Home Assistant!

    7
    Comment actions Permalink
  • Avatar
    Niels Rietkerk

    Yes, or preferably an API so that other home automation tools could make use of it.

    3
    Comment actions Permalink
  • Avatar
    Jason Meudt

    The [DRAFT] API docs are here...

     

    https://help.firewalla.com/hc/en-us/articles/5345330648083-MSP-API-Getting-Started-

     

    To join, please fill out this form https://forms.gle/mF4LYu849YBZbGtL9 8
    And then send help@firewalla.com an email and make sure you include the email you registered the MSP instance with and the subject Firewalla API test.

     

    Copied from here:

    https://community.home-assistant.io/t/integration-with-firewalla/214202/13?

    0
    Comment actions Permalink
  • Avatar
    Dave Taylor

    If anyone involved in Firewalla development is reading this, the MSP route is pretty heavyweight and roundabout way to get a few basic stats for a HA dashboard.  The Firewalla app is more than capable of managing the device as a whole, but it'd be nice to have direct access to some basic stats to populate an HA dashboard, essentially just the info that the first screen on the app shows (traffic flows, WAN speed, that sort of thing) but without having to open the app, and without having to go via a cloud service.  Would it be possible to make basic read-only stats available directly from the device through something like MQTT or a REST API?

    2
    Comment actions Permalink

Please sign in to leave a comment.