解决部分已知bug

This commit is contained in:
2025-02-27 11:36:40 +08:00
parent 593d7758bf
commit 8780f8555e
14 changed files with 96 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
location: wushan
point: 2
location: wushan # 项目名称
point: 2 # 点位
relay:
maxTimeout: 60 # 单位 s必须大于 0
log:
@@ -17,26 +17,27 @@ aliyun:
accessKeySecret:
appKey:
timeout: 10 # 单位 s
voice: zhifeng_emo
volume: 200 # 音量
voice: zhifeng_emo # 发音人
speechRate: 50 # 语速
game:
# addr: /dev/ttyUSB0 # 点位 5 的串口地址
pushGroups: # 点位 4 的发卡器配置
- name: gpiochip0
read: /dev/ttyUSB0
outOK: 21
lower: 20
error: 16
empty: 12
push: 13
reset: 19
pull: 26
- name: gpiochip0
read: /dev/ttyUSB0
outOK: 7
lower: 8
error: 25
empty: 24
push: 10
reset: 9
pull: 11
#game:
# addr: /dev/ttyUSB0 # 点位 11 的串口地址
# pushGroups: # 点位 10 的发卡器配置
# - name: gpiochip0
# read: /dev/ttyUSB0
# outOK: 21
# lower: 20
# error: 16
# empty: 12
# push: 13
# reset: 19
# pull: 26
# - name: gpiochip0
# read: /dev/ttyUSB0
# outOK: 7
# lower: 8
# error: 25
# empty: 24
# push: 10
# reset: 9
# pull: 11