我的Home Assistant 是部署在黑群晖上面的,因为是个i3的主机,性能强一点,而且Home Assistant 本身经常升级,调试什么的,需要经常重启,所以稳定性和速度上,我选择速度。 网上找了一圈资料,都是很老旧的信息了,还有HASS安装NGINX Home Assistant SSL proxy插件的,可是这个插件早就下架了。以前安装证书的方法也不起作用...
location / { proxy_pass http://127.0.0.1:8123; #(http://127.0.0.1:8123 这里填写实际访问homeassistant地址) proxy_set_header Host $host; } location /api/websocket { proxy_pass http://127.0.0.1:8123/api/websocket; #(http://127.0.0.1:8123 这里填写实际访问homeassistant地址) proxy_set_header...
NGINX Home Assistant SSL proxy 点击install等待完成后进入 Configuration 稍稍设置下 进入路由器网络设置里...
- 172.17.0.0/24 # Add the IP address of the proxy server然后在docker中重启Home Assistant,重启后即可在外网使用域名访问:至此Home Assistant就安装完成了。 写在最后 一开始是打算Home Assistant安装过程写完后,再加入一个智能设备接入的示例,但是发现好像挑什么来写都不合适,主要是我接入的设备型号大概率别人根...
(Node-Red is an addon in Home Assistant and on the same server. Works for a long time, then as some stage the node in node-red shows "no connection" Looking at the supervisor logs you see the errors mentioned. Including "[supervisor.api.proxy] Home Assistant WebSocket API error: Cannot...
kind: Ingress metadata: name: home-assistant-ingress namespace: default annotations: cert-manager.io/cluster-issuer: "letsencrypt-prod" nginx.ingress.kubernetes.io/server-snippets: | location /api/websocket { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connecti...
项目地址:GitHub - fatedier/frp: A fast reverse proxy to help you expose a local server behind ...
server { listen8080; location / { proxy_method POST; proxy_pass http://10.0.0.1:8123;} } 然后让nginx重载配置 nginx -s reload 这样,所有访问装有nginx设备8080端口的get请求就会转换成post请求发送到http://10.0.0.1:8123 只要把自己安装homeassistant的设备IP对应改上去就行。
server_name *.frp.yourdomain.cn frp.yourdomain.cn; location / { proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;# 下面两行提供websocket支持,homeassistant需要proxy_set_header Upgrade...
三个里面自然是树莓派最好。功耗低,有专门的系统适配,接口齐全,同时还自带40pin扩展无极限,用好了...