Home Assistant Add-on: Firefox
Run Firefox as a browser inside Home Assistant to access local or external web sites from your home.
Use your old tablet / iPad with Home Assistant.
This is my first Home Assistant Add-on and my first repo. I’ll try my best to improve things based on your feedback, thank you!
About
Mozilla Firefox is a free and open-source web browser developed by Mozilla Foundation and its subsidiary, Mozilla Corporation.
This add-on is based on the docker image from Jocelyn Le Sage.
A huge thank to him for the great containers created and maintained.
He’s the real hero who needs to be supported.
GitHub repo: GitHub - Mincka/ha-addons: My Home Assistant Add-ons
Installation
If you want to do add the repository manually, please follow the procedure highlighted in the Home Assistant website. Use the following URL to add this repository: https://github.com/mincka/ha-addons
Refresh your browser and install the add-on from the new repository:
How to use
Just install, start the container and click on “Open Web UI”. You can use “Show in sidebar” for easy access. Everything you do is persisted in Firefox. Even if you stop the Add-on or restart Home Assistant host OS.
Usage for iPad / Tablet
Typical settings for iPad 3:
FF_OPEN_URL: http://x.x.x.x:8123/
FF_KIOSK: "1"
DISPLAY_WIDTH: "2048"
DISPLAY_HEIGHT: "1536"
Set a port for VNC to expose it from your HA instance:
It is recommended to use RealVNC but it can be tricky to install if you have an old iPad and no other iOS device. Cf. this topic for some methods: Options for Lovelace on older iPad (ios 9.3.5) - #103 by yangtfu
Downloads
The files downloaded in Firefox are automatically stored to your /share/firefox
folder.
Uploads
If you need to upload files through the Firefox add-on, you can use the File editor add-on to upload the files to your /share/firefox
folder. The files will be available in the downloads
folder of the add-on. You can browse to this location when you select the files to upload.
Import bookmarks
You can import bookmarks.html
file by dropping them in your /share/firefox
folder and import the bookmarks.html
file in Firefox.
Todo
- Make it compatible with apparmor
- Looks like there is some kind of timeout when the addon is not used 60 seconds when using Nabu Casa. This looks like something I can fix this by using a reverse proxy setup.
More in the pipe
I plan to also release an add-on with a full desktop.
Sponsoring
If you like this add-on and would like to support my work, you can buy me a coffee.
Sponsoring available on GitHub (Sponsor @Mincka on GitHub Sponsors · GitHub) and Paypal (PayPal.Me).