Добрый день.
Столкнулся с проблемой воспроизведения записанных команд из памяти, при попытке воспроизвести команды ничего не происходит.
До этого модули были на прошивке 4.15.1 и команды работали нормально, но после нескольких месяцев от модулей перестала приходить информация (отслеживал по напряжению модуля, оно было одним и тем же). По описанию из вики - это был баг прошивки (ERRWB-MS0005: Зависание устройства после полутора месяцев непрерывной работы).
Я обновил прошивку до версии 4.16.7, данные от модулей стали приходить, но при попытке воспроизвести команды ничего не происходит.
Подписался на топик:
mosquitto_sub -v -t /devices/IR_94_Mansard/#
получаю ответ:
/devices/IR_94_Mansard/controls/Play from ROM1/meta/order 2
/devices/IR_94_Mansard/controls/Play from ROM1/meta/readonly 0
/devices/IR_94_Mansard/controls/Play from ROM1/meta/type pushbutton
/devices/IR_94_Mansard/controls/Play from ROM2/meta/order 3
/devices/IR_94_Mansard/controls/Play from ROM2/meta/readonly 0
/devices/IR_94_Mansard/controls/Play from ROM2/meta/type pushbutton
/devices/IR_94_Mansard/controls/Play from ROM3/meta/order 4
/devices/IR_94_Mansard/controls/Play from ROM3/meta/readonly 0
/devices/IR_94_Mansard/controls/Play from ROM3/meta/type pushbutton
/devices/IR_94_Mansard/controls/Internal Temperature Sensor 25
/devices/IR_94_Mansard/controls/Internal Temperature Sensor/meta/order 5
/devices/IR_94_Mansard/controls/Internal Temperature Sensor/meta/readonly 0
/devices/IR_94_Mansard/controls/Internal Temperature Sensor/meta/type temperature
/devices/IR_94_Mansard/controls/Input Voltage 27.178
/devices/IR_94_Mansard/controls/Input Voltage/meta/order 1
/devices/IR_94_Mansard/controls/Input Voltage/meta/readonly 1
/devices/IR_94_Mansard/controls/Input Voltage/meta/type voltage
/devices/IR_94_Mansard/controls/Input 1-wire 1
/devices/IR_94_Mansard/controls/Input 1-wire/meta/order 6
/devices/IR_94_Mansard/controls/Input 1-wire/meta/readonly 1
/devices/IR_94_Mansard/controls/Input 1-wire/meta/type switch
/devices/IR_94_Mansard/meta/driver wb-modbus
/devices/IR_94_Mansard/meta/name IR 94 Mansard
/devices/IR_94_Mansard/controls/Input Voltage 27.053
/devices/IR_94_Mansard/controls/Input Voltage 26.998
пытаюсь воспроизвести команды из памяти:
/devices/IR_94_Mansard/controls/Play from ROM1/on 1
/devices/IR_94_Mansard/controls/Play from ROM1 1
/devices/IR_94_Mansard/controls/Play from ROM1/on 1
/devices/IR_94_Mansard/controls/Play from ROM1 1
/devices/IR_94_Mansard/controls/Play from ROM2/on 1
/devices/IR_94_Mansard/controls/Play from ROM2 1
/devices/IR_94_Mansard/controls/Play from ROM2/on 1
/devices/IR_94_Mansard/controls/Play from ROM2 1
/devices/IR_94_Mansard/controls/Play from ROM2/on 1
/devices/IR_94_Mansard/controls/Play from ROM2 1
/devices/IR_94_Mansard/controls/Play from ROM3/on 1
/devices/IR_94_Mansard/controls/Play from ROM3 1
/devices/IR_94_Mansard/controls/Play from ROM3/on 1
/devices/IR_94_Mansard/controls/Play from ROM3 1
/devices/IR_94_Mansard/controls/Play from ROM3/on 1
/devices/IR_94_Mansard/controls/Play from ROM3 1
/devices/IR_94_Mansard/controls/Input Voltage 27.167
/devices/IR_94_Mansard/controls/Play from ROM1/meta/error r
/devices/IR_94_Mansard/controls/Play from ROM2/meta/error r
/devices/IR_94_Mansard/controls/Play from ROM3/meta/error r
/devices/IR_94_Mansard/controls/Input Voltage 27.171
/devices/IR_94_Mansard/controls/Play from ROM3/on 1
/devices/IR_94_Mansard/controls/Play from ROM3 1
/devices/IR_94_Mansard/controls/Play from ROM3/on 1
/devices/IR_94_Mansard/controls/Play from ROM3 1
Включил debug logging:
May 17 22:18:45 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: WARNING: [driver] Failed to accept ‘/meta/order’ on control ‘IR_94_Mansard/Input 1-wire’: strconv.Atoi: parsing “”: invalid syntax, ignored
May 17 22:18:45 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: WARNING: [driver] Failed to accept ‘/meta/order’ on control ‘IR_94_Mansard/Internal Temperature Sensor’: strconv.Atoi: parsing “”: invalid syntax, ignored
May 17 22:18:45 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: WARNING: [driver] Failed to accept ‘/meta/order’ on control ‘IR_94_Mansard/Input Voltage’: strconv.Atoi: parsing “”: invalid syntax, ignored
May 17 22:18:45 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: WARNING: [driver] Failed to accept ‘/meta/order’ on control ‘IR_94_Mansard/Play from ROM2’: strconv.Atoi: parsing “”: invalid syntax, ignored
May 17 22:18:45 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: WARNING: [driver] Failed to accept ‘/meta/order’ on control ‘IR_94_Mansard/Play from ROM1’: strconv.Atoi: parsing “”: invalid syntax, ignored
May 17 22:18:45 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: WARNING: [driver] Failed to accept ‘/meta/order’ on control ‘IR_94_Mansard/Play from ROM3’: strconv.Atoi: parsing “”: invalid syntax, ignored
May 17 22:42:47 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: ERROR: control IR_94_Mansard/Play from ROM1 SetValue() error: can’t convert control value ‘true’ (type bool) to datatype ‘’
May 17 22:44:36 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: ERROR: control IR_94_Mansard/Play from ROM1 SetValue() error: can’t convert control value ‘true’ (type bool) to datatype ‘’
May 17 22:45:12 wirenboard-AFU7YHZU daemon.info wb-rules[1624]: ERROR: control IR_94_Mansard/Play from ROM1 SetValue() error: can’t convert control value ‘true’ (type bool) to datatype ‘’
Единственное что пока не делал - не перезапускал модули по питанию (объект удаленный).
Всего в системе 8 модулей WB-MIR из них:
Работают без проблем с прошивкой 4.13.0 - 5 штук.
Проблемные с прошивкой 4.16.7 - 3 штуки.
Wirenboard 6
4.9.22-wb6 #2 SMP Sat Apr 18 17:58:18 UTC 2020 armv7l GNU/Linux
Package: wb-mqtt-serial
Version: 2.7.1