首次推出emby、filebrowser、MyIP、NeteaseCloudMusicApi、nextcloud、zigbee2mqtt

This commit is contained in:
waxgourd
2023-12-22 18:37:19 +08:00
parent fc44d61c99
commit 58cf00c560
49 changed files with 1852 additions and 0 deletions

4
MyIP/CHANGELOG.md Normal file
View File

@@ -0,0 +1,4 @@
## 2023-12-10
from https://github.com/jason5ng32/MyIP

3
MyIP/DOCS.md Normal file
View File

@@ -0,0 +1,3 @@
# MyIP
一个更好的 IP 工具箱。可以查看IP、IP 信息(代理前后)、检查 DNS 泄露、检查 WebRTC 连接、网速测试、测试网站可用性等。

26
MyIP/README.md Normal file
View File

@@ -0,0 +1,26 @@
# 冬瓜甄选addons:MyIP
## 关于
将该IP工具改用Web版集成到HA中。
## 👀 主要功能
- 🖥️ **看自己的 IP**:从多个 IPv4 和 IPv6 来源检测显示本机的 IP
- 🕵️ **看 IP 信息**:显示所有 IP 的相关信息包括国家、地区、ASN、地理位置等
- 🚦 **可用性检测**检测一些网站的可用性Google, Github, Youtube, 网易, 百度等
- 🚥 **WebRTC 检测**:查看使用 WebRTC 连接时使用的 IP
- 🛑 **DNS 泄露检测**:查看 DNS 出口信息,以便查看在 VPN/代理的情况下,是否存在 DNS 泄露隐私的风险
- 🌗 **暗黑模式**:根据系统设置自动切换暗黑/白天模式,也可以手动切换
- 📱 **简约模式**:为移动版提供的专门模式,缩短页面长度,快速查看最重要的信息
- 🔍 **查任意 IP 信息**:可以通过小工具查询任意 IP 的信息
- 📲 **支持 PWA**:可以添加为手机桌面应用以及电脑里的 Chrome 应用
- 🚀 **网速测试**:利用边缘网络进行网速测试
- ⌨️ **支持快捷键**:可以随时输入 `?` 查看快捷键菜单
- 🌍 根据可用性检测结果,返回目前是否可以访问全世界网络的提示
- 🇺🇸 🇨🇳 支持中文和英文
## 来源
https://github.com/jason5ng32/MyIP/

21
MyIP/config.yaml Normal file
View File

@@ -0,0 +1,21 @@
---
name: MyIP
version: latest
slug: MyIP
description: "一个更好的 IP 工具箱。可以查看IP、IP 信息(代理前后)、检查 DNS 泄露、检查 WebRTC 连接、网速测试、测试网站可用性等。"
url: https://gitcode.com/waxgourd/addons
init: false
codenotary: wghaos@163.com
arch:
- aarch64
- amd64
ports_description:
8966/tcp: 'Web UI port'
panel_icon: 'mdi:ip'
ingress: true
ingress_port: 8966
ingress_stream: true
startup: services
image: docker.nju.edu.cn/jason5ng32/myip
ports:
8966/tcp: 8966

BIN
MyIP/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
MyIP/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -0,0 +1,7 @@
## [4.14.0] - 2023-12-20
from https://github.com/Binaryify/NeteaseCloudMusicApi/releases/tag/v4.14.0
## [4.13.8] - 2023-10-27
from https://github.com/Binaryify/NeteaseCloudMusicApi/releases/tag/v4.13.8

View File

@@ -0,0 +1,11 @@
# 网易云音乐API
网易云音乐 Node.js API service
## 配置说明
### 网络
更改此主机上由加载项开发的端口默认3000可自行配置

View File

@@ -0,0 +1,9 @@
# 冬瓜甄选addons: NeteaseCloudMusicApi
## 关于
网易云音乐 Node.js API service
## 来源
https://github.com/Binaryify/NeteaseCloudMusicApi

View File

@@ -0,0 +1,15 @@
---
name: 网易云音乐 API
version: v4.14.0
slug: cloud-music
description: 网易云音乐 Node.js API service
url: https://gitcode.com/waxgourd/addons
init: false
codenotary: wghaos@163.com
arch:
- aarch64
- amd64
startup: services
image: binaryify/netease_cloud_music_api
ports:
3000/tcp: 3000

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -26,3 +26,26 @@ https://gitcode.com/waxgourd/addons
可以充当轻量级NAS的samba与一般的samba区别在于可以在挂载硬盘可以配置支持网卡。 可以充当轻量级NAS的samba与一般的samba区别在于可以在挂载硬盘可以配置支持网卡。
✓ [NeteaseCloudMusicApi](NeteaseCloudMusicApi/) :
网易云音乐 Node.js API service。
✓ [filebrowser](filebrowser/) :
filebrowser提供指定目录下的文件管理界面可用于上传、删除、预览、重命名和编辑文件。
✓ [nextcloud](nextcloud/) :
nextcloud个人专属或团队共享的私有云同步网盘 。
✓ [emby](emby/) :
emby是一款个人媒体服务器几乎在所有设备上都有应用程序。
✓ [MyIP](MyIP/) :
MyIP一个更好的 IP 工具箱。可以查看IP、IP 信息(代理前后)、检查 DNS 泄露、检查 WebRTC 连接、网速测试、测试网站可用性等。
✓ [Zigbee2MQTT](zigbee2mqtt/) :
官方Zigbee2MQTT家庭助理插件

3
emby/CHANGELOG.md Normal file
View File

@@ -0,0 +1,3 @@
## 4.8.0.62 (16-12-2023)
- <20>״<EFBFBD><D7B4>

3
emby/DOCS.md Normal file
View File

@@ -0,0 +1,3 @@
# Emby NAS
Emby Server是一款个人媒体服务器几乎在所有设备上都有应用程序。

9
emby/README.md Normal file
View File

@@ -0,0 +1,9 @@
# 冬瓜甄选addons: emby
## 关于
emby从个人媒体库中管理视频、音乐、直播电视和照片等并将它们以媒体流方式传输到智能电视、流媒体盒和移动设备。此容器打包为独立的emby Media Server。
## 来源
https://github.com/alexbelgium/hassio-addons

66
emby/apparmor.txt Normal file
View File

@@ -0,0 +1,66 @@
#include <tunables/global>
profile addon_db21ed7f_emby_nas flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
capability,
file,
signal,
mount,
umount,
remount,
network udp,
network tcp,
network dgram,
network stream,
network inet,
network inet6,
network netlink raw,
network unix dgram,
capability setgid,
capability setuid,
capability sys_admin,
capability dac_read_search,
# capability dac_override,
# capability sys_rawio,
# S6-Overlay
/init ix,
/run/{s6,s6-rc*,service}/** ix,
/package/** ix,
/command/** ix,
/run/{,**} rwk,
/dev/tty rw,
/bin/** ix,
/usr/bin/** ix,
/usr/lib/bashio/** ix,
/etc/s6/** rix,
/run/s6/** rix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/init rix,
/var/run/** mrwkl,
/var/run/ mrwkl,
/dev/i2c-1 mrwkl,
# Files required
/dev/fuse mrwkl,
/dev/sda1 mrwkl,
/dev/sdb1 mrwkl,
/dev/nvme0 mrwkl,
/dev/nvme1 mrwkl,
/dev/ttyUSB0 mrwkl,
/dev/* mrwkl,
/tmp/** mrkwl,
# Data access
/data/** rw,
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
ptrace (trace,read) peer=docker-default,
# docker daemon confinement requires explict allow rule for signal
signal (receive) set=(kill,term) peer=/usr/bin/docker,
}

119
emby/config.json Normal file
View File

@@ -0,0 +1,119 @@
{
"arch": [
"aarch64",
"amd64",
"armv7"
],
"backup_exclude": [
"*/cache/",
"*/transcoding-temp/",
"*/logs/*",
"*/metadata/"
],
"codenotary": "wghaos@163.com",
"description": "一款开源的媒体管理平台,让您更轻松的管理和操作流媒体",
"devices": [
"/dev/dri",
"/dev/dri/card0",
"/dev/dri/card1",
"/dev/dri/renderD128",
"/dev/vchiq",
"/dev/video10",
"/dev/video11",
"/dev/video12",
"/dev/video13",
"/dev/video14",
"/dev/video15",
"/dev/video16",
"/dev/ttyUSB0",
"/dev/sda",
"/dev/sdb",
"/dev/sdc",
"/dev/sdd",
"/dev/sde",
"/dev/sdf",
"/dev/sdg",
"/dev/nvme",
"/dev/nvme0n1p1",
"/dev/nvme0n1p2",
"/dev/mmcblk",
"/dev/fuse",
"/dev/sda1",
"/dev/sdb1",
"/dev/sdc1",
"/dev/sdd1",
"/dev/sde1",
"/dev/sdf1",
"/dev/sdg1",
"/dev/sda2",
"/dev/sdb2",
"/dev/sdc2",
"/dev/sdd2",
"/dev/sde2",
"/dev/sdf2",
"/dev/sdg2",
"/dev/sda3",
"/dev/sdb3",
"/dev/sda4",
"/dev/sdb4",
"/dev/sda5",
"/dev/sda6",
"/dev/sda7",
"/dev/sda8",
"/dev/nvme0",
"/dev/nvme1",
"/dev/nvme2"
],
"host_network": true,
"image": "ghcr.nju.edu.cn/alexbelgium/emby-{arch}",
"ingress": true,
"ingress_port": 0,
"ingress_stream": true,
"init": false,
"map": [
"config:rw",
"share:rw",
"media:rw",
"ssl:rw"
],
"name": "Emby NAS",
"options": {
"PGID": 0,
"PUID": 0,
"silent": true
},
"panel_icon": "mdi:emby",
"ports": {
"1900/udp": null,
"7359/udp": null,
"8096/tcp": 8096,
"8920/tcp": null
},
"ports_description": {
"1900/udp": "dlna (optional)",
"7359/udp": "udp server discover (optional)",
"8096/tcp": "web interface",
"8920/tcp": "https web interface (optional)"
},
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": {
"PGID": "int",
"PUID": "int",
"TZ": "str?",
"cifsdomain": "str?",
"cifspassword": "str?",
"cifsusername": "str?",
"localdisks": "str?",
"networkdisks": "str?",
"silent": "bool?",
"smbv1": "bool?"
},
"slug": "emby_nas",
"udev": true,
"url": "https://gitcode.com/waxgourd/addons",
"version": "4.8.0.62",
"video": true
}

BIN
emby/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
emby/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

39
emby/translations/en.yaml Normal file
View File

@@ -0,0 +1,39 @@
---
configuration:
PGID:
name: PGID
description: >-
user
GPID:
name: GPID
description: >-
user
TZ:
name: TZ
description: >-
timezone
localdisks:
name: localdisks
description: >-
put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS...
networkdisks:
name: networkdisks
description: >-
optional, list of smb servers to mount, separated by commas
cifsusername:
name: cifsusername
description: >-
optional, smb username, same for all smb shares
cifspassword:
name: cifspassword
description: >-
optional, smb password
cifsdomain:
name: cifsdomain
description: >-
optional, allow setting the domain for the smb share
silent:
name: silent
description: >-
suppresses debug messages

View File

@@ -0,0 +1,41 @@
---
configuration:
PGID:
name: PGID
description: >-
PGID
GPID:
name: GPID
description: >-
GPID
TZ:
name: TZ
description: >-
所在时区
localdisks:
name: 本地存储器
description: >-
挂载的存储器的硬件名称或其标签用逗号分隔要。例如sda1, sdb1, MYNAS…
networkdisks:
name: 网络存储器
description: >-
可选要挂载的SMB服务器列表以逗号分隔。
cifsusername:
name: cifs用户名
description: >-
可选samba 账号
cifspassword:
name: cifs密码
description: >-
可选samba 密码
cifsdomain:
name: cifs工作组
description: >-
可选samba 所在的工作组
silent:
name: 静默
description: >-
debug 信息为静默状态
smbv1:
name: Samba
description: >-

8
filebrowser/CHANGELOG.md Normal file
View File

@@ -0,0 +1,8 @@
### 2.23.0_8 (20-12-2023)
- 修复了一些小bug
- 更新全局脚本
### 2.23.0_7 (25-11-2023)
- 首次提交从2.23.0_7版本开始

58
filebrowser/DOCS.md Normal file
View File

@@ -0,0 +1,58 @@
# Filebrowser
> 一个非常好用的基于Web管理的文件管理器。
>
>
## 配置说明
### 无认证运行模式:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;启用/停用ssl。
### 初始文件夹:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;可选项,默认值 /。
### 证书文件:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssl证书文件。
### cifs域
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cifs域。
### cifs用户名
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;可选项smb用户名与smb shares用户名相同。
### cifs密码
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;可选项smb密码与smb shares密码相同。
### 密钥:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sl密钥。
### 本地磁盘:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用逗号分隔要挂载的驱动器的硬件名称或其标签。例如sda1, sdb1, MYNAS等。
### 网络磁盘:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;可选要挂载的smbv2/3服务器列表以逗号分隔。
### smbv1
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认smbv2这里选择是否启用smbv1支持。
### ssl
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;启用/禁用ssl。
可以通过浏览器页面访问 <http://homeassistant:port> 端口号默认8080
默认用户名: "admin" 密码: "admin"
网络磁盘挂载到 `/share/storagecifs`下。

15
filebrowser/README.md Normal file
View File

@@ -0,0 +1,15 @@
# 冬瓜甄选addons: Filebrowser
## 关于
一个非常好用的基于Web管理的[文件管理器 File Browser](https://filebrowser.org/).
## 来源
https://github.com/alexbelgium/hassio-addons

66
filebrowser/apparmor.txt Normal file
View File

@@ -0,0 +1,66 @@
#include <tunables/global>
profile db21ed7f_qbittorrent flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
capability,
file,
signal,
mount,
umount,
remount,
network udp,
network tcp,
network dgram,
network stream,
network inet,
network inet6,
network netlink raw,
network unix dgram,
capability setgid,
capability setuid,
capability sys_admin,
capability dac_read_search,
# capability dac_override,
# capability sys_rawio,
# S6-Overlay
/init ix,
/run/{s6,s6-rc*,service}/** ix,
/package/** ix,
/command/** ix,
/run/{,**} rwk,
/dev/tty rw,
/bin/** ix,
/usr/bin/** ix,
/usr/lib/bashio/** ix,
/etc/s6/** rix,
/run/s6/** rix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/init rix,
/var/run/** mrwkl,
/var/run/ mrwkl,
/dev/i2c-1 mrwkl,
# Files required
/dev/fuse mrwkl,
/dev/sda1 mrwkl,
/dev/sdb1 mrwkl,
/dev/nvme0 mrwkl,
/dev/nvme1 mrwkl,
/dev/mmcblk0p1 mrwkl,
/dev/* mrwkl,
/tmp/** mrkwl,
# Data access
/data/** rw,
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
ptrace (trace,read) peer=docker-default,
# docker daemon confinement requires explict allow rule for signal
signal (receive) set=(kill,term) peer=/usr/bin/docker,
}

113
filebrowser/config.json Normal file
View File

@@ -0,0 +1,113 @@
{
"arch": [
"aarch64",
"amd64"
],
"codenotary": "wghaos@163.com",
"description": "filebrowser提供指定目录下的文件管理界面可用于上传、删除、预览、重命名和编辑文件",
"devices": [
"/dev/dri",
"/dev/dri/card0",
"/dev/dri/card1",
"/dev/dri/renderD128",
"/dev/vchiq",
"/dev/video10",
"/dev/video11",
"/dev/video12",
"/dev/video13",
"/dev/video14",
"/dev/video15",
"/dev/video16",
"/dev/ttyUSB0",
"/dev/sda",
"/dev/sdb",
"/dev/sdc",
"/dev/sdd",
"/dev/sde",
"/dev/sdf",
"/dev/sdg",
"/dev/nvme",
"/dev/nvme0n1p1",
"/dev/nvme0n1p2",
"/dev/mmcblk",
"/dev/fuse",
"/dev/sda1",
"/dev/sdb1",
"/dev/sdc1",
"/dev/sdd1",
"/dev/sde1",
"/dev/sdf1",
"/dev/sdg1",
"/dev/sda2",
"/dev/sdb2",
"/dev/sdc2",
"/dev/sdd2",
"/dev/sde2",
"/dev/sdf2",
"/dev/sdg2",
"/dev/sda3",
"/dev/sdb3",
"/dev/sda4",
"/dev/sdb4",
"/dev/sda5",
"/dev/sda6",
"/dev/sda7",
"/dev/sda8",
"/dev/nvme0",
"/dev/nvme1",
"/dev/nvme2"
],
"environment": {
"FB_BASEURL": "/filebrowser",
"PGID": "0",
"PUID": "0"
},
"image": "ghcr.nju.edu.cn/alexbelgium/filebrowser-{arch}",
"ingress": true,
"ingress_stream": true,
"map": [
"addon_config:rw",
"media:rw",
"all_addon_configs:rw",
"homeassistant_config:rw",
"addons:rw",
"backup:rw",
"share:rw",
"ssl:rw"
],
"name": "Filebrowser",
"options": {
"NoAuth": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"ssl": false
},
"panel_icon": "mdi:file-search",
"ports": {
"8080/tcp": null
},
"ports_description": {
"8080/tcp": "Web UI port"
},
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": {
"NoAuth": "bool",
"base_folder": "str?",
"certfile": "str",
"cifsdomain": "str?",
"cifsusername": "str?",
"cifspassword": "str?",
"keyfile": "str",
"localdisks": "str?",
"networkdisks": "str?",
"smbv1": "bool?",
"ssl": "bool"
},
"slug": "filebrowser",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.23.0_8"
}

BIN
filebrowser/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
filebrowser/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,39 @@
---
configuration:
NoAuth:
name: NoAuth
description: >-
Remove password. Resets database when changed.
base_folder:
name: base_folder
description: >-
optional, default is /
certfile:
name: certfile
description: ssl certificate
cifsdomain:
name: cifsdomain
cifspassword:
name: cifspassword
description: optional, smb password, same for all smb shares
cifsusername:
name: cifsusername
description: optional, smb username, same for all smb shares
keyfile:
name: keyfile
description: >-
sslkeyfile
localdisks:
name: localdisks
description: >-
put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS...
networkdisks:
name: networkdisks
description: >-
optional, list of smbv2/3 servers to mount, separated by commas
smbv1:
name: smbv1
description: >-
Should smbv1 be used instead of 2.1+?
ssl:
name: ssl

View File

@@ -0,0 +1,39 @@
---
configuration:
NoAuth:
name: 无认证运行模式
description: >-
删除密码,更改时重置数据库。
base_folder:
name: 初始文件夹
description: >-
可选项,默认值 /
certfile:
name: 证书文件
description: ssl证书文件
cifsdomain:
name: cifs域
cifspassword:
name: cifs密码
description: 可选项smb密码与smb shares密码相同
cifsusername:
name: cifs用户名
description: 可选项smb用户名与smb shares用户名相同
keyfile:
name: 密钥
description: >-
ssl密钥
localdisks:
name: 本地磁盘
description: >-
用逗号分隔要挂载的驱动器的硬件名称或其标签。例如sda1, sdb1, MYNAS…
networkdisks:
name: 网络磁盘
description: >-
可选要挂载的smbv2/3服务器列表以逗号分隔
smbv1:
name: smbv1
description: >-
默认smbv2启用smbv1
ssl:
name: ssl

5
nextcloud/CHANGELOG.md Normal file
View File

@@ -0,0 +1,5 @@
## 28.0.0 (16-12-2023)
- 升级最后的版本从linuxserver/docker-nextcloud
### 27.1.4-6 (07-12-2023)
- 首次提交

95
nextcloud/DOCS.md Normal file
View File

@@ -0,0 +1,95 @@
# Nextcloud
## 配置说明
### 全文索引
### OCR
设置为true以安装tesseract-ocr功能。
### OCR语言
任何语言都可以从这个页面设置(总是三个字母) [查询点击这里](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016)
### PGID
允许设置用户。
### PUID
允许设置用户。
### TZ
时区
### 附加应用程序
指定要安装的其他apk文件;用逗号分隔。
### 证书
ssl证书必须位于本地ssl
### cifs域
cifs域
### cifs密码
可选项, smb密码与smb shares密码相同
### cifs用户名
可选项, smb用户名与smb shares用户名相同
### 默认电话区域
定义默认电话区域 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
### 禁用更新
防止插件自动更新应用程序。
### elasticsearch服务器
elasticsearch服务器url
### 启用缩略图
为媒体文件启用几代缩略图(在旧系统中禁用)。
### env_memory_limit
nextcloud可用内存限制(默认为512M)。
### env_post_max_size
nextcloud post文件大小 (默认为512M)。
### env_upload_max_filesize
nextcloud上传大小(默认为512M)。
### 密钥
ssl密钥必须位于本地的ssl。
### 本地磁盘
用逗号分隔要挂载的驱动器的硬件名称或其标签。例如sda1, sdb1, MYNAS…
### 网络磁盘
可选要挂载的smbv2/v3服务器列表以逗号分隔
### 信任域
允许选择信任域。不在此列表中的域将被删除,除了初始配置中使用的第一个域。
### 使用自己的证书
如果为true则使用指定的certfile和keyfile。

38
nextcloud/README.md Normal file
View File

@@ -0,0 +1,38 @@
# 冬瓜甄选addons: Nextcloud
## About
nextcloud个人专属或团队共享的私有云同步网盘该版本在原版nextcloud中增加了Home assistant的优化调整和配置选项。
原始版本来源 : https://github.com/haberda/hassio_addons
这个加载项基于 linuxserver.io中[docker image](https://github.com/linuxserver/docker-nextcloud) 。
### 使用mariadb 作为主要的数据库 (感谢@amaciuc)
如果你在第一次运行webui时,注意以下警告:
```bash
Performance warning
You chose SQLite as database.
SQLite should only be used for minimal and development instances. For production we recommend a different database backend.
If you use clients for file syncing, the use of SQLite is highly discouraged.
```
解决这个问题,请遵循以下步骤:
- 1. 安装 `mariadb` 随机填写信息配置然后启动。为了在网络中能够被“nextcloud”找到成功启动它很重要。
- 2. 安装' nextcloud '插件(或者如果你已经安装了,重新启动它),观察日志,直到你会注意到以下'警告':
```bash
WARNING: MariaDB addon was found! It can't be configured automatically due to the way Nextcloud works, but you can configure it manually when running the web UI for the first time using those values :
Database user : service
Database password : Eangohyuchae6aif7saich2nies8xaivaejaNgaev6gi3yohy8ha2aexaetei6oh
Database name : nextcloud
Host-name : core-mariadb:3306
```
- 3. 回到“mariadb”附加组件用上面的凭据配置它并重新启动它。确保插件正在创建“netxcloud”数据库。G
- 4. 进入web并填写所有必需的信息。下面是一个例子:
![image](./images/nextcloud-1.png)

66
nextcloud/apparmor.txt Normal file
View File

@@ -0,0 +1,66 @@
#include <tunables/global>
profile nextcloud_addon flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
capability,
file,
signal,
mount,
umount,
remount,
network udp,
network tcp,
network dgram,
network stream,
network inet,
network inet6,
network netlink raw,
network unix dgram,
capability setgid,
capability setuid,
capability sys_admin,
capability dac_read_search,
# capability dac_override,
# capability sys_rawio,
# S6-Overlay
/init ix,
/run/{s6,s6-rc*,service}/** ix,
/package/** ix,
/command/** ix,
/run/{,**} rwk,
/dev/tty rw,
/bin/** ix,
/usr/bin/** ix,
/usr/lib/bashio/** ix,
/etc/s6/** rix,
/run/s6/** rix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/init rix,
/var/run/** mrwkl,
/var/run/ mrwkl,
/dev/i2c-1 mrwkl,
# Files required
/dev/fuse mrwkl,
/dev/sda1 mrwkl,
/dev/sdb1 mrwkl,
/dev/nvme0 mrwkl,
/dev/nvme1 mrwkl,
/dev/mmcblk0p1 mrwkl,
/dev/* mrwkl,
/tmp/** mrkwl,
# Data access
/data/** rw,
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
ptrace (trace,read) peer=docker-default,
# docker daemon confinement requires explict allow rule for signal
signal (receive) set=(kill,term) peer=/usr/bin/docker,
}

140
nextcloud/config.json Normal file
View File

@@ -0,0 +1,140 @@
{
"arch": [
"aarch64",
"amd64"
],
"codenotary": "alexandrep.github@gmail.com",
"description": "nextcloud个人专属或团队共享的私有云同步网盘",
"devices": [
"/dev/dri",
"/dev/dri/card0",
"/dev/dri/card1",
"/dev/dri/renderD128",
"/dev/vchiq",
"/dev/video10",
"/dev/video11",
"/dev/video12",
"/dev/video13",
"/dev/video14",
"/dev/video15",
"/dev/video16",
"/dev/ttyUSB0",
"/dev/dri",
"/dev/dri/card0",
"/dev/dri/card1",
"/dev/dri/renderD128",
"/dev/sda",
"/dev/sdb",
"/dev/sdc",
"/dev/sdd",
"/dev/sde",
"/dev/sdf",
"/dev/sdg",
"/dev/nvme",
"/dev/nvme0n1p1",
"/dev/nvme0n1p2",
"/dev/mmcblk",
"/dev/fuse",
"/dev/sda1",
"/dev/sdb1",
"/dev/sdc1",
"/dev/sdd1",
"/dev/sde1",
"/dev/sdf1",
"/dev/sdg1",
"/dev/sda2",
"/dev/sdb2",
"/dev/sdc2",
"/dev/sdd2",
"/dev/sde2",
"/dev/sdf2",
"/dev/sdg2",
"/dev/sda3",
"/dev/sdb3",
"/dev/sda4",
"/dev/sdb4",
"/dev/sda5",
"/dev/sda6",
"/dev/sda7",
"/dev/sda8",
"/dev/nvme0",
"/dev/nvme1",
"/dev/nvme2"
],
"environment": {
"NEXTCLOUD_PATH": "/data/config/www/nextcloud",
"SKIP_DATA_DIRECTORY_PERMISSION_CHECK": "yes"
},
"hassio_api": true,
"image": "ghcr.io/alexbelgium/nextcloud_ocr-{arch}",
"ingress_port": 0,
"init": false,
"map": [
"config:rw",
"share:rw",
"media:rw",
"ssl:rw"
],
"name": "Nextcloud",
"options": {
"Full_Text_Search": false,
"OCR": false,
"OCRLANG": "chi_sim",
"PGID": 1000,
"PUID": 1000,
"additional_apps": "inotify-tools",
"certfile": "fullchain.pem",
"elasticsearch_server": "<ip:port>",
"enable_thumbnails": true,
"keyfile": "privkey.pem",
"trusted_domains": "your-domain, your-domain2",
"use_own_certs": false
},
"panel_icon": "mdi:cloud",
"ports": {
"443/tcp": 8099,
"80/tcp": null
},
"ports_description": {
"443/tcp": "Https Web Interface",
"80/tcp": "Web interface"
},
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": {
"Full_Text_Search": "bool?",
"OCR": "bool?",
"OCRLANG": "str?",
"PGID": "int",
"PUID": "int",
"TZ": "str?",
"additional_apps": "str?",
"certfile": "str",
"cifsdomain": "str?",
"cifspassword": "str?",
"cifsusername": "str?",
"default_phone_region": "match(^[A-Z]{2}$)?",
"disable_updates": "bool?",
"elasticsearch_server": "str?",
"enable_thumbnails": "bool",
"env_memory_limit": "str?",
"env_post_max_size": "str?",
"env_upload_max_filesize": "str?",
"keyfile": "str",
"localdisks": "str?",
"networkdisks": "str?",
"trusted_domains": "str?",
"use_own_certs": "bool"
},
"services": [
"mysql:want"
],
"slug": "nextcloud_ocr",
"uart": true,
"udev": true,
"url": "https://gitcode.com/waxgourd/addons",
"version": "28.0.0",
"webui": "https://[HOST]:[PORT:443]"
}

BIN
nextcloud/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
nextcloud/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@@ -0,0 +1,94 @@
---
configuration:
Full_Text_Search:
name: Full_Text_Search
description: >-
OCR:
name: OCR
description: >-
set to true to install tesseract-ocr capability.
OCRLANG:
name: OCRLANG
description: >-
Any language can be set from this page (always three letters) [here](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016).
PGID:
name: PGID
description: >-
allows setting user.
PUID:
name: PUID
description: >-
allows setting user.
TZ:
name: TZ
description: >-
additional_apps:
name: additional_apps
description: >-
specify additional apk files to install ; separated by commas
certfile:
name: certfile
description: >-
ssl certificate, must be located in /ssl
cifsdomain:
name: cifsdomain
description: >-
cifspassword:
name: cifspassword
description: >-
optional, smb password, same for all smb shares)
cifsusername:
name: cifsusername
description: >-
optional, smb username, same for all smb shares
default_phone_region:
name: default_phone_region
description: >-
Define the default phone region according to https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
disable_updates:
name: disable_updates
description: >-
prevent automatic apps updating along addon
elasticsearch_server:
name: elasticsearch_server
description: >-
enable_thumbnails:
name: enable_thumbnails
description: >-
enable generations of thumbnails for media file (to disable for older systems)
env_memory_limit:
name: env_memory_limit
description: >-
nextcloud usable memory limit (default is 512M)
env_post_max_size:
name: env_post_max_size
description: >-
nextcloud post size (default is 512M)
env_upload_max_filesize:
name: env_upload_max_filesize
description: >-
nextcloud upload size (default is 512M)
keyfile:
name: keyfile
description: >-
sslkeyfile, must be located in /ssl
localdisks:
name: localdisks
description: >-
put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS...
networkdisks:
name: networkdisks
description: >-
optional, list of smbv2/3 servers to mount, separated by commas
trusted_domains:
name: trusted_domains
description: >-
allows to select the trusted domains. Domains not in this lis will be removed, except for the first one used in the initial configuration.
use_own_certs:
name: use_own_certs
description: >-
if true, use the certfile and keyfile specified

View File

@@ -0,0 +1,94 @@
---
configuration:
Full_Text_Search:
name: 全文索引
description: >-
OCR:
name: OCR
description: >-
设置为true以安装tesseract-ocr功能。
OCRLANG:
name: OCR语言
description: >-
任何语言都可以从这个页面设置(总是三个字母),相关查询见配置文档。
PGID:
name: PGID
description: >-
允许设置用户。
PUID:
name: PUID
description: >-
允许设置用户。
TZ:
name: TZ
description: >-
时区设置。
additional_apps:
name: 附加应用程序
description: >-
指定要安装的其他apk文件;用逗号分隔。
certfile:
name: 证书
description: >-
ssl证书必须位于本地ssl。
cifsdomain:
name: cifs域
description: >-
cifspassword:
name: cifs密码
description: >-
可选项, smb密码与smb shares密码相同。
cifsusername:
name: cifs用户名
description: >-
可选项, smb用户名与smb shares用户名相同。
default_phone_region:
name: 默认电话区域
description: >-
定义默认电话区域 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
disable_updates:
name: 禁用更新
description: >-
防止插件自动更新应用程序。
elasticsearch_server:
name: elasticsearch服务器
description: >-
enable_thumbnails:
name: 启用缩略图
description: >-
为媒体文件启用几代缩略图(在旧系统中禁用)。
env_memory_limit:
name: 环境内存限制
description: >-
nextcloud可用内存限制(默认为512M)。
env_post_max_size:
name: env_post_max_size
description: >-
nextcloud post文件大小(默认为512M)。
env_upload_max_filesize:
name: env_upload_max_filesize
description: >-
nextcloud上传大小(默认为512M)。
keyfile:
name: 密钥
description: >-
ssl密钥必须位于本地的ssl。
localdisks:
name: 本地磁盘
description: >-
用逗号分隔要挂载的驱动器的硬件名称或其标签。例如sda1, sdb1, MYNAS…
networkdisks:
name: 网络磁盘
description: >-
可选要挂载的smbv2/v3服务器列表以逗号分隔
trusted_domains:
name: 信任域
description: >-
允许选择信任域。不在此列表中的域将被删除,除了初始配置中使用的第一个域。
use_own_certs:
name: 使用自己的证书
description: >-
如果为true则使用指定的certfile和keyfile。

452
zigbee2mqtt/CHANGELOG.md Normal file
View File

@@ -0,0 +1,452 @@
## 1.34.0-1
- Updated Zigbee2MQTT to version [`1.34.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.34.0)
## 1.33.2-1
- Updated Zigbee2MQTT to version [`1.33.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.33.2)
## 1.33.1-1
- Updated Zigbee2MQTT to version [`1.33.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.33.1)
## 1.33.0-1
- Updated Zigbee2MQTT to version [`1.33.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.33.0)
## 1.32.2-1
- Updated Zigbee2MQTT to version [`1.32.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.32.2)
## 1.32.1-1
- Updated Zigbee2MQTT to version [`1.32.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.32.1)
## 1.32.0-2
- Fix issue with configuration URL
## 1.32.0-1
- Updated Zigbee2MQTT to version [`1.32.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.32.0)
- Enable url setting in order to add Visit button in HA UI
## 1.31.2-1
- Updated Zigbee2MQTT to version [`1.31.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.31.2)
## 1.31.1-1
- Updated Zigbee2MQTT to version [`1.31.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.31.1)
## 1.31.0-1
- Updated Zigbee2MQTT to version [`1.31.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.31.0)
## 1.30.4-1
- Updated Zigbee2MQTT to version [`1.30.4`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.30.4)
## 1.30.3-1
- Updated Zigbee2MQTT to version [`1.30.3`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.30.3)
## 1.30.2-1
- Updated Zigbee2MQTT to version [`1.30.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.30.2)
## 1.30.1-1
- Updated Zigbee2MQTT to version [`1.30.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.30.1)
## 1.30.0-1
- Updated Zigbee2MQTT to version [`1.30.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.30.0)
## 1.29.2-1
- Updated Zigbee2MQTT to version [`1.29.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.29.2)
## 1.29.1-1
- Updated Zigbee2MQTT to version [`1.29.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.29.1)
## 1.29.0-1
- Updated Zigbee2MQTT to version [`1.29.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.29.0)
## 1.28.4-1
- Updated Zigbee2MQTT to version [`1.28.4`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.28.4)
## 1.28.3-1
- Updated Zigbee2MQTT to version [`1.28.3`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.28.3)
## 1.28.2-1
- Updated Zigbee2MQTT to version [`1.28.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.28.2)
## 1.28.1-1
- Updated Zigbee2MQTT to version [`1.28.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.28.1)
## 1.28.0-1
- Updated Zigbee2MQTT to version [`1.28.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.28.0)
- Fix `Can't open config file at null/configuration.yaml` error
## 1.27.2-1
- Updated Zigbee2MQTT to version [`1.27.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.27.2)
## 1.27.1-1
- Updated Zigbee2MQTT to version [`1.27.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.27.1)
- Fix Zigbee2MQTT process being killed instead of stopped when addon is stopped. This prevented the backup on shutdown from happening.
## 1.27.0-1
- Updated Zigbee2MQTT to version [`1.27.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.27.0)
## 1.26.0-1
- Updated Zigbee2MQTT to version [`1.26.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.26.0)
## 1.25.2-1
- Updated Zigbee2MQTT to version [`1.25.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.25.2)
## 1.25.1-2
- Fixes for [s6 v3 update](https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images)
- Pin base image version to 3.14 as 3.15 doesn't work yet
## 1.25.1-1
- Updated Zigbee2MQTT to version [`1.25.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.25.1)
## 1.25.0-1
- Updated Zigbee2MQTT to version [`1.25.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.25.0)
- ⚠️ **Breaking changes**
- Most Zigbee2MQTT configuration is now done in Zigbee2MQTT directly
(either via the UI or by modifying the configuration file, usually
`/config/zigbee2mqtt/configuration.yaml`, directly).
As Zigbee2MQTT won't start with an [MQTT server](https://www.zigbee2mqtt.io/guide/configuration/mqtt.html)
or [serial adapter](https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html)
you must configure these through the add-on configuration page before you
can start Zigbee2MQTT for the first time.
Existing installations should be able to safely remove the Zigbee2MQTT
configuration from the add-on configuration as these values should have
already been persisted to the configuration file.
## 1.24.0-1
- Updated Zigbee2MQTT to version [`1.24.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.24.0)
## 1.23.0-1
- Updated Zigbee2MQTT to version [`1.23.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.23.0)
## 1.22.2-1
- Updated Zigbee2MQTT to version [`1.22.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.22.2)
## 1.22.1-1
- Updated Zigbee2MQTT to version [`1.22.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.22.1)
## 1.22.0-3
- Add availability configuration
## 1.22.0-2
- Fix availability configuration
## 1.22.0-1
- Updated Zigbee2MQTT to version [`1.22.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.22.0)
## 1.21.2-1
- Updated Zigbee2MQTT to version [`1.21.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.21.2)
## 1.21.1-1
- Updated Zigbee2MQTT to version [`1.21.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.21.1)
## 1.21.0-4
- Added `advanced.log_output` config option
## 1.21.0-3
- Added support for `humidity_precision` option under `device_options`
## 1.21.0-2
- Added homeassistant_legacy_entity_attributes option
## 1.21.0-1
- Updated Zigbee2MQTT to version [`1.21.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.21.0)
## 1.20.0-1
- Updated Zigbee2MQTT to version [`1.20.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.20.0)
## 1.19.1-1
- Updated Zigbee2MQTT to version [`1.19.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.19.1)
## 1.19.0-1
- Updated Zigbee2MQTT to version [`1.19.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.19.0)
## 1.18.3-1
- Updated Zigbee2MQTT to version [`1.18.3`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.18.3)
## 1.18.2-1
- Updated Zigbee2MQTT to version [`1.18.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.18.2)
## 1.18.1-2
- Added missing ezsp agapter type for serial
## 1.18.1-1
- Updated Zigbee2MQTT to version [`1.18.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.18.1)
- Fix OTA configuration required when starting
## 1.18.0-1
- Updated Zigbee2MQTT to version [`1.18.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.18.0)
## 1.17.1-4
- Switched socat from `/share/zigbee2mqtt/ttyZ2M` to `/tmp/ttyZ2M`
## 1.17.1-3
- Added back `transmit_power` to `experimental`
## 1.17.1-2
- Fixes #24 for socat
## 1.17.1-1
- Removed `new_api` option as it's now default
- Removed `transmit_power` from `experimental`
- Added support for `legacy_api` option under `advanced`
- Added support for `ikea_ota_use_test_url` option under `advanced`
## 1.17.1
- Updated Zigbee2MQTT to version [`1.17.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.17.1)
- Updated `"auto_uart": true` to use `"uart": true` instead
- Reduced image size - thanks https://github.com/G1K
- Deprecated `devices.js` method for adding support for a new device
## 1.17.0
- Updated Zigbee2MQTT to version [`1.17.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.17.0)
- New configuration options
- `advanced`
- `adapter_delay`
- `serial`
- `adapter: zigate`
## 1.16.2
- Updated Zigbee2MQTT to version [`1.16.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.16.2)
- New configuration options
- `mqtt`
- `force_disable_retain`
- `frontend`
- `host`
- `devices` and `groups` options now accept a comma-separated string of files
## 1.16.1-1
- Allow add-on to start with other mqtt servers not just built in
## 1.16.1
- Updated Zigbee2MQTT to version [`1.16.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.16.1)
## 1.16.0
- Updated Zigbee2MQTT to version [`1.16.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.16.0)
## 1.15.0-3
- Fixed `external_converters` not working
## 1.15.0-2
- ⚠️ **Breaking changes**
- `zigbee_shepherd_debug` removed
- Add-on images are now taken from Docker Hub `zigbee2mqtt` [organisation](https://hub.docker.com/orgs/zigbee2mqtt/repositories)
- Changed `mqtt.server`, `mqtt.user`, `mqtt.password` to be optional
- Added support for mqtt auto discovery (server, user, password)
- Removed `pm2`
- Removed `socat.restartdelay` and `socat.initialdelay`
- Unified Dockerfile into a single common file
- ⚠️ Changed `run.sh` and `socat.sh` to use [s6-overlay](https://github.com/just-containers/s6-overlay)
- Version management now only in `config.json`
- Default `data_path` changed from `/share/` to `/config`
- Changed default logging level to `warn`
- Changed version format to `X.X.X-A`
## 1.15.0
- Updated Zigbee2MQTT to version [`1.15.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.15.0)
- Added support for a [built-in frontend](https://github.com/Koenkk/zigbee2mqtt/issues/4266) using `ingress`. See Documentation tab for more details.
## 1.14.4.2
- Added readme for Edge version
- Added logo on both Edge and Stable version
- Startup for addon moved from `before` to `application`
- Fixed empty changelog in Edge version
- Fixed add-on crash for starting too early for some users
- Fixed `.hash.json` to get properly generated (`commit #unknown` resolved)
## 1.14.4.1
- ⚠️ **Breaking changes**
- `availability_blacklist` renamed to `availability_blocklist` in `advanced`
- `availability_passlist` now required option in `advanced`
- `ban` renamed to `blocklist`
- `whitelist` renamed to `passlist`
Change
```
availability_blacklist: []
```
to
```
availability_blocklist: []
availability_passlist: []
```
Remove
```
ban: []
whitelist: []
```
- Added explicit support for `armv7`
- Added new config options from Zigbee2MQTT:
- `external_converters`
- `mqtt`
- `keepalive`
- `version`
- `advanced`
- `adapter_concurrent`
- `cache_state_persistent`
- `cache_state_send_on_startup`
- `device_options`
- `occupancy_timeout`
- `temperature_precision`
- `legacy`
- `device_options_string`
- `homeassistant_legacy_triggers`
- `log_level`
- `log_rotation`
- `timestamp_format`
- `experimental`
- `output`
- Fixed change log bug for Stable version
- Updated names to reflect Hass.io [rename](https://www.home-assistant.io/blog/2020/01/29/changing-the-home-assistant-brand/) to Home Assistant
## 1.14.4
- Updated Zigbee2MQTT to version [`1.14.4`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.14.4)
## 1.14.3
- Added new config option from Zigbee2MQTT: `adapter` in `serial`
- Updated Zigbee2MQTT to version [`1.14.3`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.14.3)
## 1.14.2
- Updated Zigbee2MQTT to version [`1.14.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.14.2)
## 1.14.1
- Updated Zigbee2MQTT to version [`1.14.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.14.1)
## 1.14.0
- Updated Zigbee2MQTT to version [`1.14.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.14.0)
## 1.13.1
- Added config option `transmit_power` in `experimental`
- Updated Zigbee2MQTT to version [`1.13.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.13.1)
## 1.13.0
- Updated Zigbee2MQTT to version [`1.13.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.13.0)
## 1.12.2
- Updated Zigbee2MQTT to version [`1.12.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.12.2)
## 1.12.1
- Updated Zigbee2MQTT to version [`1.12.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.12.1)
## 1.12.0
- Updated Zigbee2MQTT to version [`1.12.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.12.0)
## 1.11.0
- Updated Zigbee2MQTT to version [`1.11.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.11.0)
## 1.10.1
- Added config options `network_key_string` and `ext_pan_id_string`.
## 1.10.0
- Updated Zigbee2MQTT to version [`1.10.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.10.0)
## 1.9.0
- Added config option `zigbee_herdsman_debug` (`zigbee_shepherd_debug` still supported for now)
- Updated Zigbee2MQTT to version [`1.9.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.9.0)
## 1.8.0
- Updated Zigbee2MQTT to version [`1.8.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.8.0)
## 1.7.1
- Updated Zigbee2MQTT to version [`1.7.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.7.1)
## 1.7.0
- ⚠️ **Breaking changes**: You cannot roll back to 1.6 without repairing all your devices
- ⚠️ Added socat support: leave `enabled` set to `false` to disable.
- Updated Zigbee2MQTT to version [`1.7.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.7.0)
## 1.6.0
- Update Zigbee2MQTT to [`1.6.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.6.0)
## 1.5.1.2
- Create `$DATA_PATH` if it does not already exist
- Fixed [#197](https://github.com/danielwelch/hassio-zigbee2mqtt/issues/197)
## 1.5.1.1
- Added several configuration items:
- `advanced.availability_blacklist`
- `ban`
- `whitelist`
- `queue` (along with `queue.delay` and `queue.simultaneously`)
- `mqtt.key`, `mqtt.ca`, `mqtt.cert`
- `advanced.report`, `advanced.homeassistant_discovery_topic`, `advanced.homeassistant_status_topic`
- Add back `zigbee_shepherd_debug`,`zigbee_shepherd_devices`, and `disable_led`
- Include default network key in default configuration
## 1.5.1
- ⚠️ **Breaking changes**: restructured configuration to more closely mirror Zigbee2MQTT
- Updated Zigbee2MQTT to version [`1.5.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.5.1)
## 1.3.0
- Updated Zigbee2MQTT to version [`1.3.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.3.0)
- Added new config option from zigbee2mqtt:
- `homeassistant_discovery_topic`
- `debounce` (device-specific config)
- Fixed logic bug that prevented configuration from being updated in the add-on ui.
## 1.2.1
- Updated Zigbee2MQTT to version [`1.2.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.2.1)
- Use Node.js 10 as base docker image
- Added new config option from Zigbee2MQTT: `report`
## 1.1.1
- Updated Zigbee2MQTT to version [`1.1.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.1.1)
## 1.1.0.1
- Added `network_key` to options, defaulting to empty list. If left empty, the option will not be passed to zigbee2mqtt.
- Update README to reflect requirements for `devices` and `network_key` options
## 1.1.0
- Updated Zigbee2MQTT to version [`1.0.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.1.0)
- Added new config options from Zigbee2MQTT:
- `soft_reset_timeout`
- `last_seen`
- `elapsed`
- `network_key`
- `devices` (device-specific configuration)
- Added `overwrite` option, which can be set to `false` to prevent the add-on from overwriting corresponding fields on startup that are already set in the `configuration.yaml` file.
## 1.0.1
- Updated Zigbee2MQTT to version [`1.0.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.0.1)
## 1.0.0
- Updated Zigbee2MQTT to version [`1.0.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.0.0)
- Added new or changed options for Zigbee2MQTT:
- `reject_unauthorized`
- `pan_id`
- `channel`
## 0.1.6
- Updated Zigbee2MQTT to version [`0.1.6`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/0.1.6)
## 0.1.5.1
- Fixed [#53](https://github.com/danielwelch/hassio-zigbee2mqtt/issues/53) and [#54](https://github.com/danielwelch/hassio-zigbee2mqtt/issues/54), regarding `log_directory` setting
- Fixed README typo regarding `disable_led`. This option is now called `disable_led` in accordance with zigbe22mqtt. Although this was changed in 0.1.3.1, README was not updated to reflect that.
## 0.1.5
- Updated Zigbee2MQTT to version [`0.1.5`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/0.1.5)
## 0.1.3.1
- Added new or changed options for Zigbee2MQTT:
- `mqtt_client_id`
- `disable_led` (*renamed from `serial_disable_led`*)
- `cache_state`
- `log_directory`
- `log_level`
- `rtscts`
- `zigbee_shepherd_debug`
## 0.1.3
- Updated Zigbee2MQTT to version [`0.1.3`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/0.1.3)
## 0.1.2
- Updated Zigbee2MQTT to version [`0.1.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/0.1.2)
## 0.1.1
- Switch the Edge and Stable `Dockerfiles` so they're actually correct
- Download release archives instead of git cloning the specific branch
- Updated Zigbee2MQTT to version [`0.1.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/0.1.1)
## 0.1.0
- First versioned release of the add-on
- Updated Zigbee2MQTT to version [`0.1.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/0.1.0)

28
zigbee2mqtt/DOCS.md Normal file
View File

@@ -0,0 +1,28 @@
# Zigbee2MQTT
官方Zigbee2MQTT家庭助理插件。
## 配置说明
### mqtt
如果不使用mosquito to broker插件请填写MQTT详细信息(使用mosquito to broker插件时可不填写)。格式可参考下面的实例
```
server: mqtt://localhost:1883
user: Mqtt的账号
password: "Mqtt的密码"
```
注意:如果密码包含某些特殊字符(由yaml规范保留),则需要加上引号。所以我们建议如果日志显示密码错误时,优先考虑加上引号。
### serial
填写串行详细信息(例如USB协调器的端口)。格式可参考下面的实例
```
port: /dev/ttyUSB0
```
如果您不知道详细的端口并且只有一个USB设备连接到您的机器请尝试/dev/ ttyUSB0。否则请查看“配置 - 系统 - 硬件 - 全部硬件”在搜索上输入“tty”查看。

9
zigbee2mqtt/README.md Normal file
View File

@@ -0,0 +1,9 @@
# H冬瓜甄选addons: Zigbee2MQTT
## 关于
官方Zigbee2MQTT家庭助理插件
## 来源
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt

74
zigbee2mqtt/config.json Normal file
View File

@@ -0,0 +1,74 @@
{
"name": "Zigbee2MQTT",
"version": "1.34.0-1",
"slug": "zigbee2mqtt",
"description": "可以自定义ZigBee的接收连接器",
"uart": true,
"url": "https://gitcode.com/waxgourd/addons",
"startup": "application",
"services": [
"mqtt:need"
],
"arch": [
"aarch64",
"amd64",
"armhf",
"armv7",
"i386"
],
"boot": "auto",
"init": false,
"ingress": true,
"timeout": 30,
"panel_icon": "mdi:zigbee",
"map": [
"share:rw",
"config:rw"
],
"ports": {
"8485/tcp": 8485,
"8099/tcp": null
},
"ports_description": {
"8485/tcp": "Socat tcp-listen port",
"8099/tcp": "Frontend tcp-listen port"
},
"options": {
"data_path": "/config/zigbee2mqtt",
"socat": {
"enabled": false,
"master": "pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777",
"slave": "tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5",
"options": "-d -d",
"log": false
},
"mqtt": {},
"serial": {}
},
"schema": {
"zigbee_herdsman_debug": "bool?",
"data_path": "str",
"socat": {
"enabled": "bool?",
"master": "str?",
"slave": "str?",
"options": "str?",
"log": "bool?"
},
"mqtt": {
"server": "str?",
"ca": "str?",
"key": "str?",
"cert": "str?",
"user": "str?",
"password": "str?"
},
"serial": {
"port": "str?",
"adapter": "match(zstack|deconz|zigate|ezsp)?",
"baudrate": "int?",
"rtscts": "bool?"
}
},
"image": "docker.nju.edu.cn/zigbee2mqtt/zigbee2mqtt-{arch}"
}

BIN
zigbee2mqtt/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
zigbee2mqtt/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -0,0 +1,10 @@
---
configuration:
mqtt:
name: mqtt
description: >-
If you are not using the Mosquitto broker addon fill in your MQTT details
serial:
name: serial
description: >-
Fill in the serial details (e.g. port of your USB coordinator). Format can be found here, but skip the initial. e.g.: port: /dev/ttyUSB0

View File

@@ -0,0 +1,10 @@
---
configuration:
mqtt:
name: mqtt
description: >-
如果使用mosquito插件此处可不填写MQTT详细信息。详细查看“文档”页面。
serial:
name: serial
description: >-
填写串行详细信息(例如USB协调器的端口)。详细查看“文档”页面。