2024年11月24日星期日 下午9:47:05

Home Assistant Companion app android/ios app Remote access Solution

2 年 前
#3782 引用
Home Assistant Companion app

Official Docs:https://companion.home-assistant.io/docs/troubleshooting/networking



https://my.home-assistant.io/redirect/general/

https://companion.home-assistant.io/docs/troubleshooting/faqs/

Frontend Architecture and Data Flow

step 1:part Bootstrap,File: src/entrypoints/core.js,When the frontend loads,This is a  script which is the first thing that is loaded on the page. It is responsible for checking for authentication credentials and setting up the websocket connection with the Home Assistant instance.

part App shell,File: src/entrypoints/app.js

This is everything that is required to render the sidebar and handle the routing.

Step 2:The frontend leverages the Websocket API and the Rest API to interact with Home Assistant.

detail:https://developers.home-assistant.io/docs/frontend/architecture


Useful links

https://sourceforge.net/projects/home-assistant.mirror/files/2022.3.3/


server <— > frontend-ui
0
2 年 前
#3786 引用
Step 1:you need HA to be accessible from the internet.

Home Assistant is on an IP like 192.168.1.4 and listening on port 8123
0
2 年 前
#3787 引用
Step 2:do a port-forwarding on your router

This requires opening a port on your router and getting a name for your Home Assistant on the internet.

While it is possible to have your HA use Port 8123 internally and have your router do a port-forwarding from say the default https port of 443 to 8123
0
2 年 前
#3793 引用
App  External Authentication

https://developers.home-assistant.io/docs/frontend/external-authentication
0
2 年 前
#3816 引用
App  configuration
0
2 年 前
#3817 引用
1
0
2 年 前
#3818 引用
I would like to use in apk on android external URL for connecting outside the local network and internal URL when I’m in local.
I added the link but that local URL has invalid
0
2 年 前
#3819 引用
1

https://www.cvedetails.com/cve/CVE-2021-3152/
0
2 年 前
#3820 引用
2
0
2 年 前
#3821 引用
The latest version of Home Assistant Core has extra protection to help secure your instance.
0