更新 'repository.yaml'

This commit is contained in:
2025-11-06 11:33:12 +00:00
committed by admin@cnod.net
parent 2f5067f5e3
commit 32d8b84bbe
501 changed files with 13838 additions and 1 deletions

8
knxd-wg/CHANGELOG.md Normal file
View File

@@ -0,0 +1,8 @@
# Changelog
### 0.5.2-1 (2024-11-27)
- 增加connect_device配置项设置此项后device项失效主要解决多个usb时device只能选择/dev/ttyUSB0的问题
### 0.5.2 (2024-11-22)
- 首次推出

84
knxd-wg/DOCS.md Normal file
View File

@@ -0,0 +1,84 @@
# KNXD daemon (波特率版)
## 特别说明
1. 配置中设置connect_device后device项忽略主要解决多个usb时device只能选择/dev/ttyUSB0的问题
## 安装
按照以下步骤在您的系统上安装插件:
1. 找到“KNXD daemon (波特率版)”插件并单击它。
1. 点击“安装”按钮。
## 配置
附加组件配置:
```yaml
"address": "0.0.1",
"client_address": "0.0.2:8",
"interface": "tpuart",
"device": "/dev/ttyACM0",
"usb_filters": "",
"custom_config": ""
"baudrate": "19200"
"connect_device": ""
```
### 选项:
这些选项的描述部分复制自“knxd”[文档][documentation](https://githubcom/knxd/knxd/blob/master/doc/inifile.rst)。
您将在那里找到更多示例和详细信息。
#### 选项: `address`
knxd deamon本身的KNX地址。例如用于源自组缓存的请求。
#### 选项: `client_address`
要分配给客户端连接的地址范围。请注意,长度参数表示要分配的地址数量。
例如: 1.2.3:5 (示例1.2.3:5这将地址1.2.3到1.2.7分配给knxd的客户端。)
#### 选项: `interface`
驱动程序“knxd”应用作与KNX总线通信的接口。此插件的典型用例中最常见的是
- `tpuart` (用于基于UART的KNX接口如Busware.de中的接口)
- `usb` (用于商用USB KNX接口)
有关所有可能选项的完整列表请参阅knxd文档的驱动程序部分。
#### 选项: `device` (某些接口可选)
nux中适配器的物理设备地址。例子:
- **TPUART interface**: `/dev/ttyACM0` ### 物理设备地址 ; 实体装置位址
- **USB interface**: 可以尝试将此留空,以便`knxd`自动检测您的设备。如果空白时不起作用,请尝试指定一个设备地址,如“/dev/ttyAMA0”。
请注意这些地址仅为示例可能因您的设备而异。要找出设备地址您必须通过SSH连接到主机操作系统**不是**主管!),并检查连接到那里的设备。
#### 选项: `usb_filters` (optional)
使用USB接口时您可以指定要使用的其他过滤器。请参阅[过滤器部分](https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters) 官方“knxd”文件。
#### 选项: `custom_config` (optional)
允许您编写自己的自定义“knxd”ini配置而不是使用此插件中准备好的模板该模板使用了上述所有其他配置选项。
您的自定义配置将替换此插件提供的默认配置,因此上述所有其他配置选项都将被忽略。请参阅[knxd文档](https://github.com/knxd/knxd/blob/master/doc/inifile.rst)对于所有可能的配置选项。
#### 选项: `baudrate` (optional)
波特率(仅适用于tpuart、ft12、ft12cemi、ncn5120)
#### 选项: `connect_device` (optional)
设置此项后device项忽略主要解决多个usb时device只能选择/dev/ttyUSB0的问题
## 支持
如果您有任何问题请随时加入HomeAssistant社区并在[附加线程]中提问(https://community.home-assistant.io/t/knxd插件将knx usb接口转换为ha/38108/38可以使用的ip接口).
如果你发现了一个bug请随时在 [Github](https://github.com/da-anda/hass-io-addons/issues)

16
knxd-wg/README.md Normal file
View File

@@ -0,0 +1,16 @@
# 冬瓜甄选Addons: KNXD daemon (波特率版)
![Supports aarch64 Architecture][aarch64-shield]
![Supports amd64 Architecture][amd64-shield]
## 关于
`knxd`是一个linux工具可以用作路由器/网关与KNX总线上的设备进行通信。此插件提供knxd守护进程您可以使用它从家庭安装中使用TPUART或USB总线适配器创建KNX/IP网关。因此它基本上可以将UART/USB接口转换为KNX IP接口然后您可以在HomeAssistant中使用这些接口或者通过以太网上的ETS对KNX设备进行编程。有关更多详细信息请参阅https://github.com/knxd/knxd.
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
## 源
https://github.com/da-anda/hass-io-addons/tree/main/knxd

51
knxd-wg/apparmor.txt Normal file
View File

@@ -0,0 +1,51 @@
#include <tunables/global>
profile knxdaddon flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Capabilities
file,
signal (send) set=(kill,term,int,hup,cont),
# S6-Overlay
/init ix,
/bin/** ix,
/usr/bin/** ix,
/run/{s6,s6-rc*,service}/** ix,
/package/** ix,
/command/** ix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/run/{,**} rwk,
/dev/tty rw,
# Bashio
/usr/lib/bashio/** ix,
/tmp/** rwk,
# Access to options.json and other files within your addon
/data/** rw,
# Start new profile for service
/usr/sbin/knxd cx -> knxd,
/usr/sbin/knxtool cx -> knxd,
profile knxd-wg flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Receive signals from S6-Overlay
signal (receive) peer=*_example,
# Access to options.json and other files within your addon
/data/** rw,
/etc/knxd.ini r,
/usr/sbin/knxd r,
/usr/sbin/knxtool r,
/bin/bash rix,
/bin/echo ix,
/etc/passwd r,
/dev/tty rw,
}
}

46
knxd-wg/config.yaml Normal file
View File

@@ -0,0 +1,46 @@
# https://gitcode.com/waxgourd/addons
name: KNXD daemon (波特率版)
version: "0.5.2-1"
slug: knxd-wg
description: KNXD守护进程可用于通过TPUART或USB总线适配器创建KNX/IP网关
url: https://gitcode.com/waxgourd/addons
arch:
- aarch64
- amd64
init: false
startup: services
host_network: true
privileged:
- SYS_MODULE
- SYS_RAWIO
options:
address: "0.0.1"
client_address: "0.0.2:8"
interface: usb
log_error_level: warning
usb_filters: single
dest_port: "99"
connect_device: ""
baudrate: "19200"
schema:
address: "match(^\\d+\\.\\d+.\\d+$)"
client_address: "match(^\\d+\\.\\d+.\\d+\\:\\d+$)"
interface: "list(tpuart|tpuart-ip|usb|ft12|ft12cemi|ncn5120|ncn5120-ip|ipt|dummy)"
device: "device?"
log_error_level: "list(warning|error|fatal|note|info|debug)"
usb_filters: "str?"
ip_address: "str?"
dest_port: "port?"
baudrate: "str?"
connect_device: "str?"
custom_config: "str?"
watchdog: "tcp://[HOST]:[PORT:6720]"
ports:
"6720/tcp": 6720
"3671/udp": 3671
ports_description:
"6720/tcp": "knx接口要求能够通过ETS访问knx总线"
"3671/udp": "knx接口要求能够通过ETS访问knx总线"
image: "r.hassbus.com/wghaos/{arch}-knxd"
uart: true
usb: true

BIN
knxd-wg/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
knxd-wg/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -0,0 +1,44 @@
configuration:
address:
name: Bus Address for KNXD
description: The KNX address for the knxd deamon itself. Used e.g. for requests originating at the group cache.
client_address:
name: Bus Address Pool for KNXD Clients
description: >
Address range to be distributed to client connections. Note that the length parameter indicates the number of addresses to be allocated.
Example: 1.2.3:5 (This assigns addresses 1.2.3 through 1.2.7 to knxd's clients.)
interface:
name: Interface Driver
description: >
The driver knxd should use as interface to talk to the KNX bus. The most common ones for the typical usecase of this add-on are:
tpuart (for UART based KNX interfaces, like the one from Busware.de)
usb (for commercial USB KNX interfaces)
ipt (for connecting to existing IP tunneling interface)
device:
name: Device to use for connection
description: >
The physical device address of your adapter in linux.
You can try leaving this blank in order for knxd to auto-detect your device.
usb_filters:
name: usb_filters
description: When using an USB interface, you can specify additional filters to use. See the filters[https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters] section of the official knxd documentation.
custom_config:
name: Complete custom config
description: >
Allows you to write your own, custom knxd ini configuration instead of using the prepared template from this add-on that makes use of all the other config options above.
Your custom configuration will replace the default configuration provided by this add-on and thus all the other config options above will be ignored. See the knxd documentation for all possible configuration options.
log_error_level:
name: KNXD Loglevel
description: Define the loglevel of knxd.
ip_address:
name: Interface IP-Address
description: IP address the IP based interface should use (only for tpuart-ip, ncn5120-ip and ipt)
dest_port:
name: Interface port
description: network port the IP based interface should use (only for tpuart-ip, ncn5120-ip and ipt)
connect_device:
name: connect_device
description: Device to use for connection,After setting this option, the device option becomes invalid, mainly to solve the problem that the device can only select/dev/ttyUSB0 when there are multiple USBs
baudrate:
name: baudrate
description: baudrate(only for tpuart、ft12、ft12cemi、ncn5120)

View File

@@ -0,0 +1,45 @@
---
configuration:
address:
name: KNXD巴士地址
description: knxd deamon本身的KNX地址。例如用于源自组缓存的请求。
client_address:
name: KNXD客户端总线地址池
description: >-
分配给客户端连接的地址范围。请注意,长度参数表示要分配的地址数量。
示例1.2.3:5这将地址1.2.3到1.2.7分配给knxd的客户端。
interface:
name: 接口驱动程序
description: >-
驱动程序knxd应用作与KNX总线通信的接口。此插件的典型用例中最常见的是
tpuart用于基于UART的KNX接口如Busware.de中的接口
usb用于商用usb KNX接口
ipt用于连接到现有的IP隧道接口
device:
name: 用于连接的设备
description: >-
linux中适配器的物理设备地址。
您可以尝试将此留空以便knxd自动检测您的设备。
usb_filters:
name: usb过滤器
description: 使用USB接口时您可以指定要使用的其他过滤器。查看过滤器[https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters]knxd官方文件的一部分。
custom_config:
name: 完成自定义配置
description: >-
允许您编写自己的自定义knxd ini配置而不是使用此插件中准备好的模板该模板使用了上述所有其他配置选项。
您的自定义配置将替换此插件提供的默认配置因此上述所有其他配置选项都将被忽略。有关所有可能的配置选项请参阅knxd文档。
log_error_level:
name: KNXD日志级别
description: 定义knxd的日志级别。
ip_address:
name: 接口IP地址
description: 基于IP的接口应使用的IP地址仅适用于tpuart IP、ncn5120 IP和ipt
dest_port:
name: 接口端口
description: 基于IP的接口应使用的网络端口仅适用于tpuart IP、ncn5120 IP和ipt
connect_device:
name: connect_device
description: 连接设备设置此项后device项失效主要解决多个usb时device只能选择/dev/ttyUSB0的问题
baudrate:
name: 波特率
description: 波特率(仅适用于tpuart、ft12、ft12cemi、ncn5120)