Скрипт https://github.com/wirenboard/wb-community/tree/main/nxpanel2wb не работает, ругается на последние строки
exports.init = function (deviceName, tasmotaName) {
init(deviceName, tasmotaName);
};
пишет
Script error: ReferenceError: identifier ‘exports’ undefined
duk_js_var.c:1232
anon /etc/wb-rules/nxpanel2wb.js:425 preventsyield
Версия прошивки вайрена:
Wiren Board 6.4.1 (s/n A5NJDLXW), release wb-2207 (as stable)