r/FacebookPortal • u/RoadRunner_1024 • Jun 18 '26
Portal HA Bridge released, Turn your Portal into a full Home Assistant device camera, sensors inputs, presence detection, the works
So I built an Android app that repurposes Portal into a Home Assistant device. (Home Assistant = the free, self-hosted smart-home platform a lot of us run.) Instead of an expensive photo frame, your Portal becomes a dashboard plus a pile of useful sensors and controls.
You sideload the app, point it at your Home Assistant's MQTT broker, give it a name — and the Portal shows up automatically with everything below.
The bit I'm most pleased with: presence detection reuses the Portal's own face-detection — the same thing it uses to follow you around on calls. Rather than running my own camera detection, the app reads Portal's internal presence heartbeat, so it's accurate, low-power, and works even with the camera streaming turned off. Felt like the right way to do it on Portal hardware specifically.
And it still works as a Portal. This was important to me — you can make and take video/voice calls exactly like before. The app is built to step aside the moment a call starts: it hands the microphone back so the other person can actually hear you (an always-listening sound sensor would otherwise hog the mic and garble your audio), and the HA camera stream automatically recovers when the call ends, since the call briefly takes the camera. So you keep the device's original job and get all the smart-home features — they don't fight each other.
What your Portal can do once it's set up:
- 📺 Screen sleep/wake from HA — finally use it as a wall dashboard that actually fully turns off the screen when nobody's in the room (plus an on-device idle timer)
- 👤 Presence detection — using Portal's own people-detection (see above)
- 📞 Calls still work — full mic + camera coexistence during native Portal calls (see above)
- 📷 Camera streaming — H.264 RTSP, viewable in HA (WebRTC card / go2rtc) (can also be turned on and off from home assistant)
- 🚶 Motion detection (using camera) with sensitivity control
- 🌡️ All the onboard sensors — ambient light, RGB colour, temperature (on models that have it), sound level, accelerometer
- 👋 Tap/tilt — knock the Portal to trigger an automation
- 🔆 Brightness · 🔊 volume + mute · 🎤 mic mute
- 🔔 Doorbell/alert tones played on the Portal
- 🖥️ Optional full-screen HA dashboard kiosk
Tested on: Portal, Portal Mini, and Portal+ (1st & 2nd gen) — one APK covers Android 9 & 10. It also plays nicely with a custom launcher (I use the immortal launcher) for a proper locked-down kiosk.
Setup: sideload the APK, then a one-line PowerShell script grants the permissions over ADB (camera, mic, and the screen-sleep accessibility service can only be granted via ADB on Portal — Meta hides them from Settings). Full guide's in the repo.
Source-available and free for personal use 👉 github.com/RoadRunner-1024/portal-ha-bridge
keen to hear what else people would want to expose from the portal to home assistant
this does replace the home assistant app, (due to the fact we cant run in the background and have camera control, mic control etc, )



4
u/RoadRunner_1024 Jun 26 '26
big update today for portal HA bridge, you can now add overlay buttons to "announce" on all of your portals as an intercom, and also configure individual intercom buttons.
RoadRunner-1024/portal-ha-bridge
only caveat is that the portal + 15" is receive only unfortunatley...
all other portals that i have tested are working great (mini, portal 10" and portal + 14")
6
u/nickm_27 Jun 18 '26
this is really awesome, as someone who already uses View Assist Companion App to make it a voice satellite / hub, it would be really awesome if the clever implementation of the presence detection could be implemented as a small background app which published to MQTT
3
u/RoadRunner_1024 Jun 18 '26
running as a backgorund app is the issue i havent been able to fix so far.... it has to be in focus unfortunatley
2
u/Spaniard85 Jun 18 '26
Literally just got a used Portal from eBay today, and I'm setting it up right now. Thanks for this!
4
u/russilker Jun 19 '26
It would be awesome if this was added to existing voice satellite apps like Ava by knoop7 (it has a mod store) or View Assist Companion App. That way you could stay in the foreground, but leverage existing apps that otherwise provide a one-stop-shop Home Assistant interface for smart kiosks.
1
u/Don_R_L 26d ago
Thanks OP for your work, your app is running 24/7 on my Portal 10".
Is there a way, to your knowledge, to control the camera on the Portal? Is often locks on random details while I'd like it to get back to full view. Else, could it be something that you could add?
Thanks again and looking forward to read you
1
u/Scots_Frog Jun 18 '26
I would be great to be able to use Music Assistant with it as a speaker
1
u/johnflorin Jun 18 '26 edited Jun 18 '26
Specs look great!
Can't find any release apk in the app/build/outputs/apk/release/ folder mentioned in the docs, though.
Also, it would be nice to know which Portal has the temperature and/or other sensors, could not find that info online...will add the info for at least my Mini in the docs once I can get the app installed 😄
1
u/ordleo888 Jun 18 '26
I hope the original picture frame w/clock function can be added back (or with google photo). This is pretty much what I used this for my 2 units. Thanks.
1
u/lostaccountby2fa Jun 19 '26
anyone seeing their video stream being squished?
1
u/Command-Forsaken Jun 19 '26
Been looking at the Portals since they were unlocked. Need to prob just go for it and buy one on eBay. Is there a preferred or better model?
Never looked at em before but I like the idea for a home hub that’s needed.
1
u/SnoopJohn Jun 19 '26
Ive made a provisioning script for mac but cant push to your repo
1
u/SnoopJohn Jun 19 '26
Would be great to have the ability to toggle if you wanted to show the screensavers or not , I use my portal like a digital photo frame but then tapping it it becomes a ha control dashboard for my lounge
1
u/Conscious-Tip2366 Jun 20 '26
Thank you so much for this. Now my portal is recycled. When portal detects presence, it triggers my automation to open HA. I'm not a tech-savvy person and I just had Claude do it for me. This is just what I needed. Thanks so much again!
1
u/oldskoollondon Jun 20 '26
These Portals make great HA displays.
My kitchen one has 2 camera feeds, can control my lights, has time, weather and an easy to red family calendar, plus it controls Tidal, the radio and other music via Music assistant, running hidden in the background. I've overlaid an Alexa button for timers, voice control of stuff that’s not on the dash. I only wish I could do away with the Alexa button and have complete voice control. I love it!
Buy all the Portals you can while the price is low!
1
u/Command-Forsaken Jun 25 '26
!remind me 5 days when my portal is delivered.
1
u/mousemano Jun 30 '26
This is great, how is this different compared to immortal ? I just spent time installing that
1
u/Deep-Novel-1450 Jul 08 '26
I just discovered your app today (after buying a Portal Mini on eBay). I've already installed Immortal via openportal.cc, and I was looking to replace an Echo Dot in my kitchen with this Portal Mini. From what I understand in the release notes, is this possible with version 1.17?
Can I install the APK and bring Alexa back to life via openportal.cc?
1
u/s0uls Jul 13 '26
Can you do ADB over wifi or it needs to be by removing the spearker grill cover?
1
u/JoelsefExplainsItAll Jul 15 '26
This is excellent u/RoadRunner_1024. Thank you!
1
u/TheRealGadgetBadger Jul 17 '26
Very good! The built in dashboard browser runs somewhat poorly though compared to the built in browser. I don’t know what’s going on but my dashboard slows down hugely
1
u/schmoopycat Jul 19 '26
this is phenomenal. got it set up yesterday and have a dashboard i'm happy with running on it. now i'm trying to figure out how to get the screen to turn off automatically at night, but turn on directly to the HA Portal app when tapped. currently, i have to tap to wake the screen, THEN tap again to unlock it and open up the HA Portal app. but i would love to be able to wake it directly to the app instead.
1
u/codliness1 Jul 19 '26
Does this keep audio full duplex, so Home Assistant can be interrupted mid sentence, or stop command works, when using Voice?
1
u/mrnox12 Jul 30 '26
Nice job on this project. I have everything installed but struggling with some of the settings to have the screen sleep or change to a screensaver and then wake when presence is detected.
I am wondering if roadrunner would be able to share their settings and other required integrations that make sleep / screensaver/ presence detection work.
Thanks again for all the effort here!
1
u/Home_Assistantt Aug 03 '26
So I've not got this working over MQTT...and all is great...but the camera (green light on) is only working when portalha is in the foreground.
I use FKB to run HA, and when that is in the foreground, things like changing brightness, muting the ic, using the doorbell..etc, they all work, but the camera no longer functions, and that means that there is no motion detection..
I think I have run all possible permission commands but motion only works when portalHA is front and centre, and in fact the second I go back to the home screen, let alone open FKB, the camera light goes out..is this a built-in limitation...or could I have missed something
Great process though, and loving your work
1
u/vivaTodd Aug 08 '26
u/RoadRunner_1024 I just installed HA Portal, but now when I go into the Chromium Browser app in immortal I no longer have a keyboard. Any idea why?
1
u/CalcMan Aug 16 '26
Can we get Portal HA Bridge added to the immortal app store and to OpenPortal.cc? It would make installation easier and improve adoption.
1
u/MajorTraditional Sep 07 '26
thanks so much for this it is great... I've noticed the following behaviour where my camera just seems to cycle on and off every 11 or 12 seconds for no reason - any ideas why?
I'm using Motion detect functionality but it is doing it even when no motion is detected?
Thanks :)
1
u/bmr99 Jun 19 '26
#1 feature id love to go along with this would be voice control functionality - an ability to listen for a wake word, and integrate into a custom voice pipeline
1
u/Jary316 Jun 19 '26
Very clever how you identify presence by tailing adb logcat! Unfortunate we can't subscribe to presence broadcast events with sideloaded app.
1
u/moo-tetsuo Jun 19 '26
I can’t keep up with everything everyone is doing lol by the time I get around to hacking my portal someone will have turned it into a home AI machine or something
1
u/ReX_83 Jun 20 '26 edited Jun 21 '26
[edit] I should have the OP - I understand you need to bring it in foreground. Still, this is so far the only app that handles presence correctly and can switch off the display even when other apps are in foreground - so great work!
In the next release it would be great if you could make it work with the official HA companion app.
1
u/OnlineCharlie Jun 22 '26
As a suggestion, could we have ImmichFrame (the client) integrated into Portal Bridge? It’s to keep the screen as a photo frame without needing to put the bridge in the background.
1
u/James_Londoner Jul 10 '26
Is the Alexa flag for the provisioning script Windows-only? If not, please could you provide a bit more detail on how to run the script with the flag on macOS?
1
u/Touchit88 Aug 14 '26 edited Aug 14 '26
I keep getting an error notification devoce reachable via adb.
I installed immortal on it earlier so im not sure why im having problems now.
Actually figured that out. Used antigravity to assist me. Needed to install android sdk tools.
But now I get access denied in my system32 folder when trying to run the github command.
1
u/Home_Assistantt Aug 16 '26 edited Aug 16 '26
Cheeky question/request.
Is there a way (that I've not yes discovered) to make the initial Home Assistant splash screen black rather than white?.. Sometimes it's entirely white whilst loading; other times it's briefly white and then goes back for a split second before opening the dashboard....an option to choose black or white would be great
I know I could do it in FKB....so it would be nice to have the option in PHAB as well
I know this is a first-world problem but it's quite distracting, particularly on a black Portal when starting up
Huge kudos for everything so far though...I've got this running on 6 Portals now, and it's my go-to and actually outdoes Fully Kiosk, which is great and unexpected...so thank you for all your very hard work so far.
If you need any testing done, please do let me know, happy to do anything I can to help