После обновления моего контроллера у меня не работает модуль wb-serial.
Я вернул свои файлы в mnt/data/etc и больше ничего не менял.
файлы с настройками
В интерфейсе:
Error loading the file: Invalid config file
В логе:
8 wirenboard-ARAXKJYF user.notice serial: FATAL: Error parsing config file: Can’t find the template for ‘WBIO-DI-DR-14’ device type.
Oct 11 20:39:28 wirenboard-ARAXKJYF daemon.notice wd_keepalive[3422]: stopping watchdog keepalive daemon (5.15)
Oct 11 20:39:29 wirenboard-ARAXKJYF daemon.info wb-rules[3377]: INFO: [rule info] Rules are loading now…
Oct 11 20:39:29 wirenboard-ARAXKJYF daemon.info wb-rules[3377]: INFO: MQTT connection established
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.notice watchdog[3509]: starting daemon (5.15):
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: int=1s realtime=yes sync=no load=0,0,0 soft=no
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: memory: minimum pages = 256 free, 0 allocatable (4096 byte pages)
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: ping: no machine to check
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: file: /var/log/messages:0
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: pidfile: /var/run/syslogd.pid
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: pidfile: /var/run/sshd.pid
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: pidfile: /var/run/mosquitto.pid
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: pidfile: /var/run/nginx.pid
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: interface: no interface to check
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: temperature: no sensors to check
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: no test binary files
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: no repair binary files
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: error retry time-out = 30 seconds
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: repair attempts = 1
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: alive=/dev/watchdog1 heartbeat=[none] to=[none] no_act=no force=no
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: watchdog now set to 60 seconds
Oct 11 20:39:30 wirenboard-ARAXKJYF daemon.info watchdog[3509]: hardware watchdog identity: GPIO Watchdog
Oct 11 20:40:46 wirenboard-ARAXKJYF daemon.info wb-mqtt-confed[3242]: ERROR: Invalid config file /etc/wb-mqtt-serial.conf
Oct 11 20:40:46 wirenboard-ARAXKJYF daemon.info wb-mqtt-confed[3242]: ERROR: - ports.0.devices.0.slave_id: Must validate one and only one schema (oneOf)
Oct 11 20:40:46 wirenboard-ARAXKJYF daemon.info wb-mqtt-confed[3242]: ERROR: - ports.0.devices.0.slave_id: Does not match pattern ‘^(0x[A-Fa-f\d]+|\d+)$’
Oct 11 20:40:46 wirenboard-ARAXKJYF daemon.info wb-mqtt-confed[3242]: ERROR: - ports.0.devices.0.device_type: ports.0.devices.0.device_type must be one of the following: “DDL24”, “DRB88”, “IVTM-7M-3”, “LC-103”, “MSU21”, “MSU24”, “MSU34”, “MSU34TLHP”, “Mercury 200.02”, "Milur 104/105
Если пишу в serial пустые порты, то модуль запускается:
{
“debug”: false,
“ports”: [
{
“path”: “/dev/ttyAPP1”,
“devices”: ,
“baud_rate”: 9600,
“parity”: “N”,
“data_bits”: 8,
“stop_bits”: 2,
“poll_interval”: 5,
“enabled”: true
},
]
}