header.skipnavigation.text
Chinese Yuan Renminbi
US Dollar
ZH
EN
EU
KR
RU
US
AU
HU
登录
收藏夹
(0)
购物车
(0)
购物车中没有商品
搜索
首页
Components
Hard Drives
Desktop Internal Hard Drives
CMR
SSDs
Computer Accessories
Other Computer Accessories
Air Quality Monitoring
Home Assistant
Raspberry Pi
Home Assistant installation
Home Assistant Amber
Odroid
Odroid-N2+ Home Assistant Blue
Home Assistant Dashboards & Frontend
home assistant installation
Personalized Services
网关
米家网关系列
Aqara Gateway M1S Series
Yeelight Gateway Series
Diy Gateway series
Aqara Gateway M2 Series
Aqara Gateway M3 Series
Dedicated Matter Hub
传感器
human presence sensor
human motion sensor
Matter
smart plug
mijia smart plug series
Accessories
Yeelight
Yeelight wifi Devices
Yeelight Station
GATEWAY by PROTOCOL
Zigbee Hub
Matter Hub
Bluetooth BLE Gateway
Computers
Desktops
Notebooks
Software
Electronics
Home Audio & Home Theater
Home Audio Speakers
Cell phones
Others
Books
Digital downloads
菜单
首页
Components
Hard Drives
Desktop Internal Hard Drives
CMR
SSDs
Computer Accessories
Other Computer Accessories
Air Quality Monitoring
Home Assistant
Raspberry Pi
Home Assistant installation
Home Assistant Amber
Odroid
Odroid-N2+ Home Assistant Blue
Home Assistant Dashboards & Frontend
home assistant installation
Personalized Services
网关
米家网关系列
Aqara Gateway M1S Series
Yeelight Gateway Series
Diy Gateway series
Aqara Gateway M2 Series
Aqara Gateway M3 Series
Dedicated Matter Hub
传感器
human presence sensor
human motion sensor
Matter
smart plug
mijia smart plug series
Accessories
Yeelight
Yeelight wifi Devices
Yeelight Station
GATEWAY by PROTOCOL
Zigbee Hub
Matter Hub
Bluetooth BLE Gateway
Computers
Desktops
Notebooks
Software
Electronics
Home Audio & Home Theater
Home Audio Speakers
Cell phones
Others
Books
Digital downloads
首页
/
论坛管理
/
Open source IOT- Home Assistant Core
/
Home Assistant Integrations Diy
/
修改ha核心源代码-修改源代码
2024年11月22日星期五 下午4:12:32
搜索
高级搜索
修改ha核心源代码-修改源代码
回复
John
状态:
楼主
回帖总数:
6312
私人讯息
发表于:
1 年 前
#23787
引用
修改ha核心源代码
0
John
状态:
楼主
回帖总数:
6312
私人讯息
发表于:
1 年 前
#23788
引用
ha core
修改这个TITLE
\.homeassistant\deps\Python36\site-packages\hass_frontend\index.html
\.homeassistant\deps\Python36\site-packages\hass_frontend_es5\index.html
重新本地build一下,开发指南:https://developers.home-assistant.io/docs/frontend/development
浏览器清理缓存
重新启动。
https://bbs.hassbian.com/thread-3958-1-1.html
https://bbs.hassbian.com/thread-21676-1-1.html
0
John
状态:
楼主
回帖总数:
6312
私人讯息
发表于:
1 年 前
#23789
引用
docker
改ha container内部的文件也行。不过升级后得写个脚本,重新再改一遍。
1.进入ha container
2.home assistant前端的路径是/usr/local/lib/python3.10/site-packages/hass_frontend, 直接修改这个文件夹下的authorize.html就行。
3.为了避免升级后被覆盖,写一个脚本每次升级后再自动改回来。
https://bbs.hassbian.com/thread-21676-1-1.html
0
John
状态:
楼主
回帖总数:
6312
私人讯息
发表于:
8 个月 前
#29646
引用
docker修改源代码
很多HA都是跑在docker上,配置目录可以通过映射方式(bind)方便地在宿主机目录访问,但如果想要查看或修改安装目录的源码,则可以用命令拷贝出来。
# 拷贝宿主机文件至容器
docker cp [本机目录] [容器名/容器ID]:[容器目录]
# 拷贝容器文件至宿主机
docker cp [容器名/容器ID]:[容器目录] [本机目录]
0
回复
Cookies帮助我们提供我们的服务。如果要使用我们的服务,您需同意我们使用cookie。
完成
了解更多