Wb-rules и wb-zigbee2mqtt ошибки в логах

Заметил в логах такие ошибки:

Oct 14 08:13:26 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:13:26 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:13:26 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:13:26 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:13:26 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:13:26 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:13:29 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:29 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:30 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:32 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:32 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:34 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:34 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:13:35 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:29:02 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] Error in getting device: Device with given ID doesn't exist
Oct 14 08:32:44 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield
Oct 14 08:32:44 IQ930000 daemon.info wb-rules[24356]: ERROR: [rule error] ECMAScript error: SyntaxError: invalid json 	duk_bi_json.c:73 	parse  native strict preventsyield 	anon /usr/share/wb-rules-system/rules/wb-zigbee2mqtt.js:134 preventsyield

Добрый день.
На какой из топиков zigbee ругается - непонятно? Покажите все, посмотрим. Может от какого-то устройства осталось retained и не может распарсить.

Можете подсказать куда смотреть? zigbee2mqtt/# ?

root@IQ930000:/etc/wb-rules# mosquitto_sub -t zigbee2mqtt/# -v
zigbee2mqtt/bridge/state online
zigbee2mqtt/bridge/config {"commit":"unknown","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":15,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.18.1"}
zigbee2mqtt/bridge/Permit join 1
zigbee2mqtt/bridge/Log {"message":[{"dateCode":"20201128","friendly_name":"Coordinator","ieeeAddr":"0x00124b001f3d62b3","lastSeen":1634127354560,"networkAddress":0,"softwareBuildID":"zStack12","type":"Coordinator"},{"description":"-","friendly_name":"0x00124b001fb4b86b","ieeeAddr":"0x00124b001fb4b86b","lastSeen":1633970445568,"manufacturerID":4447,"networkAddress":46145,"type":"Router","vendor":"-"},{"description":"Aqara temperature, humidity and pressure sensor","friendly_name":"0x00158d00067d9442","ieeeAddr":"0x00158d00067d9442","lastSeen":1633960499464,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":56022,"powerSource":"Battery","type":"EndDevice","vendor":"Xiaomi"},{"description":"MiJia wireless switch","friendly_name":"0x00158d000456dea1","ieeeAddr":"0x00158d000456dea1","lastSeen":1633965440934,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WXKG01LM","modelID":"lumi.sensor_switch","networkAddress":36690,"powerSource":"Battery","type":"EndDevice","vendor":"Xiaomi"},{"description":"-","friendly_name":"0x00158d00070b802f","ieeeAddr":"0x00158d00070b802f","lastSeen":1634043750316,"networkAddress":22953,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0x00158d0007068d51","ieeeAddr":"0x00158d0007068d51","lastSeen":1634043131674,"networkAddress":18077,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0x00158d0007064cb0","ieeeAddr":"0x00158d0007064cb0","lastSeen":1634043973865,"networkAddress":11757,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0x00158d00070b8103","ieeeAddr":"0x00158d00070b8103","lastSeen":1634044263043,"networkAddress":17129,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0x00158d000705d808","ieeeAddr":"0x00158d000705d808","lastSeen":1634044260681,"networkAddress":33522,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0x00158d000705d852","ieeeAddr":"0x00158d000705d852","lastSeen":1634044050715,"networkAddress":16189,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0xec1bbdfffeb38bf1","ieeeAddr":"0xec1bbdfffeb38bf1","lastSeen":1634095539596,"networkAddress":45883,"type":"Unknown","vendor":"-"},{"dateCode":"","description":"-","friendly_name":"0x847127fffec2e962","ieeeAddr":"0x847127fffec2e962","lastSeen":1634127073597,"manufacturerID":4098,"networkAddress":65513,"type":"EndDevice","vendor":"-"},{"description":"-","friendly_name":"0x00158d0007068b2b","ieeeAddr":"0x00158d0007068b2b","lastSeen":1634122053763,"networkAddress":55965,"type":"Unknown","vendor":"-"},{"description":"-","friendly_name":"0x00158d00070b7ee8","ieeeAddr":"0x00158d00070b7ee8","lastSeen":1634121353022,"networkAddress":33843,"type":"Unknown","vendor":"-"}],"type":"devices"}
zigbee2mqtt/bridge/Log level info
zigbee2mqtt/bridge/State offline
zigbee2mqtt/bridge/Version 1.18.1
zigbee2mqtt/bridge/info {"commit":"unknown","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_timeout":30,"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":15,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"homeassistant_discovery_topic":"homeassistant","homeassistant_legacy_triggers":true,"homeassistant_status_topic":"hass/status","last_seen":"epoch","legacy_api":true,"log_directory":"/var/log/zigbee2mqtt/","log_file":"log.txt","log_level":"debug","log_output":["console","file"],"log_rotation":true,"log_syslog":{},"pan_id":6754,"report":false,"rtscts":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"ban":[],"blocklist":[],"device_options":{},"devices":{"0x00158d000315e43d":{"friendly_name":"0x00158d000315e43d"},"0x00158d0004069897":{"friendly_name":"0x00158d0004069897"},"0x00158d00067cf428":{"friendly_name":"0x00158d00067cf428"},"0x00158d00067d9442":{"friendly_name":"0x00158d00067d9442"},"0x00158d0006c57092":{"friendly_name":"0x00158d0006c57092"},"0x847127fffec2e962":{"friendly_name":"0x847127fffec2e962"}},"experimental":{"output":"json"},"external_converters":[],"groups":{},"homeassistant":false,"map_options":{"graphviz":{"colors":{"fill":{"coordinator":"#e04e5d","enddevice":"#fff8ce","router":"#4ea3e0"},"font":{"coordinator":"#ffffff","enddevice":"#000000","router":"#ffffff"},"line":{"active":"#009900","inactive":"#994444"}}}},"mqtt":{"base_topic":"zigbee2mqtt","force_disable_retain":false,"include_device_information":false,"server":"mqtt://localhost"},"ota":{"disable_automatic_update_check":false,"update_check_interval":10},"passlist":[],"permit_join":true,"serial":{"disable_led":false,"port":"/dev/ttyMOD1"},"whitelist":[]},"config_schema":{"definitions":{"device":{"properties":{"debounce":{"description":"Debounces messages of this device","title":"Debounce","type":"number"},"debounce_ignore":{"description":"Protects unique payload values of specified payload properties from overriding within debounce time","examples":["action"],"items":{"type":"string"},"title":"Ignore debounce","type":"array"},"filtered_attributes":{"description":"Allows to prevent certain attributes from being published","examples":["temperature","battery","action"],"items":{"type":"string"},"title":"Filtered attributes","type":"array"},"friendly_name":{"description":"Used in the MQTT topic of a device. By default this is the device ID","readOnly":true,"title":"Friendly name","type":"string"},"optimistic":{"description":"Publish optimistic state after set (default true)","title":"Optimistic","type":"boolean"},"qos":{"descritption":"QoS level for MQTT messages of this device","title":"QoS","type":"number"},"retain":{"description":"Retain MQTT messages of this device","title":"Retain","type":"boolean"},"retention":{"description":"Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5","title":"Retention","type":"number"}},"required":["friendly_name"],"type":"object"},"group":{"properties":{"devices":{"items":{"type":"string"},"type":"array"},"filtered_attributes":{"items":{"type":"string"},"type":"array"},"friendly_name":{"type":"string"},"optimistic":{"type":"boolean"},"qos":{"type":"number"},"retain":{"type":"boolean"}},"required":["friendly_name"],"type":"object"}},"properties":{"advanced":{"properties":{"adapter_concurrent":{"description":"Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)","requiresRestart":true,"title":"Adapter concurrency","type":["number","null"]},"adapter_delay":{"description":"Adapter delay","requiresRestart":true,"title":"Adapter delay","type":["number","null"]},"availability_blacklist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability blacklist (deprecated, use availability_blocklist)","type":"array"},"availability_blocklist":{"description":"Prevent devices from being checked for availability","items":{"type":"string"},"requiresRestart":true,"title":"Availability Blocklist","type":"array"},"availability_passlist":{"description":"Only enable availability check for certain devices","items":{"type":"string"},"requiresRestart":true,"title":"Availability passlist","type":"array"},"availability_timeout":{"default":0,"description":"Availability timeout in seconds when enabled, devices will be checked if they are still online. Only AC powered routers are checked for availability","minimum":0,"requiresRestart":true,"title":"Availability Timeout","type":"number"},"availability_whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability whitelist (deprecated, use passlist)","type":"array"},"baudrate":{"description":"Baudrate for serial port, default: 115200 for Z-Stack, 38400 for Deconz","examples":[38400,115200],"requiresRestart":true,"title":"Baudrate","type":"number"},"cache_state":{"default":true,"description":"MQTT message payload will contain all attributes, not only changed ones. Has to be true when integrating via Home Assistant","title":"Cache state","type":"boolean"},"cache_state_persistent":{"default":true,"description":"Persist cached state, only used when cache_state: true","title":"Persist cache state","type":"boolean"},"cache_state_send_on_startup":{"default":true,"description":"Send cached state on startup, only used when cache_state: true","title":"Send cached state on startup","type":"boolean"},"channel":{"default":11,"description":"Zigbee channel, changing requires repairing all devices! (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)","examples":[11,15,20,25],"maximum":26,"minimum":11,"requiresRestart":true,"title":"ZigBee channel","type":"number"},"elapsed":{"default":false,"description":"Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg","title":"Elapsed","type":"boolean"},"ext_pan_id":{"description":"Zigbee extended pan ID, changing requires repairing all devices!","items":{"type":"number"},"requiresRestart":true,"title":"Ext Pan ID","type":"array"},"homeassistant_discovery_topic":{"description":"Home Assistant discovery topic","examples":["homeassistant"],"requiresRestart":true,"title":"Homeassistant discovery topic","type":"string"},"homeassistant_legacy_triggers":{"default":true,"description":"Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd","title":"Home Assistant legacy triggers","type":"boolean"},"homeassistant_status_topic":{"description":"Home Assistant status topic","examples":["homeassistant/status"],"requiresRestart":true,"title":"Home Assistant status topic","type":"string"},"ikea_ota_use_test_url":{"default":false,"description":"Use IKEA TRADFRI OTA test server, see OTA updates documentation","requiresRestart":true,"title":"IKEA TRADFRI OTA use test url","type":"boolean"},"last_seen":{"default":"disable","description":"Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message","enum":["disable","ISO_8601","ISO_8601_local","epoch"],"title":"Last seen","type":"string"},"legacy_api":{"default":true,"description":"Disables the legacy api (false = disable)","requiresRestart":true,"title":"Legacy API","type":"boolean"},"log_directory":{"description":"Location of log directory","examples":["data/log/%TIMESTAMP%"],"requiresRestart":true,"title":"Log directory","type":"string"},"log_file":{"default":"log.txt","description":"Log file name, can also contain timestamp","examples":["zigbee2mqtt_%TIMESTAMP%.log"],"requiresRestart":true,"title":"Log file","type":"string"},"log_level":{"default":"info","description":"Logging level","enum":["info","warn","error","debug"],"title":"Log level","type":"string"},"log_output":{"description":"Output location of the log, leave empty to supress logging","items":{"enum":["console","file","syslog"],"type":"string"},"requiresRestart":true,"title":"Log output","type":"array"},"log_rotation":{"default":true,"description":"Log rotation","requiresRestart":true,"title":"Log rotation","type":"boolean"},"log_syslog":{"properties":{"app_name":{"default":"Zigbee2MQTT","description":"The name of the application (Default: Zigbee2MQTT).","title":"Localhost","type":"string"},"eol":{"default":"/n","description":"The end of line character to be added to the end of the message (Default: Message without modifications).","title":"eol","type":"string"},"host":{"default":"localhost","description":"The host running syslogd, defaults to localhost.","title":"Host","type":"string"},"localhost":{"default":"localhost","description":"Host to indicate that log messages are coming from (Default: localhost).","title":"Localhost","type":"string"},"path":{"default":"/dev/log","description":"The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).","examples":["/dev/log","/var/run/syslog"],"title":"Path","type":"string"},"pid":{"default":"process.pid","description":"PID of the process that log messages are coming from (Default process.pid).","title":"PID","type":"string"},"port":{"default":123,"description":"The port on the host that syslog is running on, defaults to syslogd's default port.","title":"Port","type":"number"},"protocol":{"default":"tcp4","description":"The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).","examples":["tcp4","udp4","tls4","unix","unix-connect"],"title":"Protocol","type":"string"},"type":{"default":"5424","description":"The type of the syslog protocol to use (Default: BSD, also valid: 5424).","title":"Type","type":"string"}},"title":"syslog","type":"object"},"network_key":{"description":"Network encryption key, changing requires repairing all devices!","oneOf":[{"title":"Network key(string)","type":"string"},{"items":{"type":"number"},"title":"Network key(array)","type":"array"}],"requiresRestart":true,"title":"Network key"},"pan_id":{"description":"ZigBee pan ID, changing requires repairing all devices!","oneOf":[{"title":"Pan ID (string)","type":"string"},{"title":"Pan ID (number)","type":"number"}],"requiresRestart":true,"title":"Pan ID"},"report":{"description":"Enables report feature (deprecated)","readOnly":true,"requiresRestart":true,"title":"Reporting","type":"boolean"},"rtscts":{"description":"RTS / CTS Hardware Flow Control for serial port","requiresRestart":true,"title":"RTS / CTS","type":"boolean"},"soft_reset_timeout":{"description":"Soft reset ZNP after timeout","minimum":0,"readOnly":true,"requiresRestart":true,"title":"Soft reset timeout (deprecated)","type":"number"},"timestamp_format":{"description":"Log timestamp format","examples":["YYYY-MM-DD HH:mm:ss"],"requiresRestart":true,"title":"Timestamp format","type":"string"}},"title":"Advanced","type":"object"},"ban":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Ban (deprecated, use blocklist)","type":"array"},"blocklist":{"description":"Block devices from the network (by ieeeAddr)","items":{"type":"string"},"requiresRestart":true,"title":"Blocklist","type":"array"},"device_options":{"type":"object"},"devices":{"patternProperties":{"^.*$":{"$ref":"#/definitions/device"}},"propertyNames":{"pattern":"^0x[\\d\\w]{16}$"},"type":"object"},"experimental":{"properties":{"output":{"description":"Examples when 'state' of a device is published json: topic: 'zigbee2mqtt/my_bulb' payload '{\"state\": \"ON\"}' attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON' attribute_and_json: both json and attribute (see above)","enum":["attribute_and_json","attribute","json"],"title":"MQTT output type","type":"string"},"transmit_power":{"description":"Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)","requiresRestart":true,"title":"Transmit power","type":["number","null"]}},"title":"Experimental","type":"object"},"external_converters":{"description":"You can define external converters to e.g. add support for a DiY device","examples":["DIYRuZ_FreePad.js"],"items":{"type":"string"},"requiresRestart":true,"title":"External converters","type":"array"},"frontend":{"properties":{"auth_token":{"description":"Enables authentication, disabled by default","requiresRestart":true,"title":"Auth token","type":["string","null"]},"host":{"default":" 0.0.0.0","description":"Frontend binding host","requiresRestart":true,"title":"Bind host","type":"string"},"port":{"default":8080,"description":"Frontend binding port","requiresRestart":true,"title":"Port","type":"number"}},"title":"Frontend","type":"object"},"groups":{"patternProperties":{"^.*$":{"$ref":"#/definitions/group"}},"propertyNames":{"pattern":"^[\\w].*$"},"type":"object"},"homeassistant":{"default":false,"description":"Home Assistant integration (MQTT discovery)","title":"Home Assistant integration","type":"boolean"},"map_options":{"properties":{"graphviz":{"properties":{"colors":{"properties":{"fill":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"font":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"line":{"properties":{"active":{"type":"string"},"inactive":{"type":"string"}},"type":"object"}},"type":"object"}},"type":"object"}},"title":"Networkmap","type":"object"},"mqtt":{"properties":{"base_topic":{"description":"MQTT base topic for Zigbee2MQTT MQTT messages","examples":["zigbee2mqtt"],"requiresRestart":true,"title":"Base topic","type":"string"},"ca":{"description":"Absolute path to SSL/TLS certificate of CA used to sign server and client certificates","examples":["/etc/ssl/mqtt-ca.crt"],"requiresRestart":true,"title":"Certificate authority","type":"string"},"cert":{"description":"Absolute path to SSL/TLS certificate for client-authentication","examples":["/etc/ssl/mqtt-client.crt"],"requiresRestart":true,"title":"SSL/TLS certificate","type":"string"},"client_id":{"description":"MQTT client ID","examples":["MY_CLIENT_ID"],"requiresRestart":true,"title":"Client ID","type":"string"},"force_disable_retain":{"default":false,"description":"Disable retain for all send messages. ONLY enable if you MQTT broker doesn't support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform). Enabling will break the Home Assistant integration","requiresRestart":true,"title":"Force disable retain","type":"boolean"},"include_device_information":{"default":false,"description":"Include device information to mqtt messages","title":"Include device information","type":"boolean"},"keepalive":{"default":60,"description":"MQTT keepalive in second","requiresRestart":true,"title":"Keepalive","type":"number"},"key":{"description":"Absolute path to SSL/TLS key for client-authentication","examples":["/etc/ssl/mqtt-client.key"],"requiresRestart":true,"title":"SSL/TLS key","type":"string"},"password":{"description":"MQTT server authentication password","examples":["ILOVEPELMENI"],"requiresRestart":true,"title":"Password","type":"string"},"reject_unauthorized":{"default":true,"description":"Disable self-signed SSL certificate","requiresRestart":true,"title":"Reject unauthorized","type":"boolean"},"server":{"description":"MQTT server URL (use mqtts:// for SSL/TLS connection)","examples":["mqtt://localhost:1883"],"requiresRestart":true,"title":"MQTT server","type":"string"},"user":{"description":"MQTT server authentication user","examples":["johnnysilverhand"],"requiresRestart":true,"title":"User","type":"string"},"version":{"default":4,"description":"MQTT protocol version","examples":[4,5],"requiresRestart":true,"title":"Version","type":["number","null"]}},"required":["base_topic","server"],"title":"MQTT","type":"object"},"ota":{"properties":{"disable_automatic_update_check":{"default":false,"description":"Zigbee devices may request a firmware update, and do so frequently, causing Zigbee2MQTT to reach out to third party servers. If you disable these device initiated checks, you can still initiate a firmware update check manually.","title":"Disable automatic update check","type":"boolean"},"update_check_interval":{"default":10,"description":"Your device may request a check for a new firmware update. This value determines how frequently third party servers may actually be contacted to look for firmware updates. The value is set in minutes, and the default is 10.","title":"Update check interval","type":"number"}},"title":"OTA updates","type":"object"},"passlist":{"description":"Allow only certain devices to join the network (by ieeeAddr). Note that all devices not on the passlist will be removed from the network!","items":{"type":"string"},"requiresRestart":true,"title":"Passlist","type":"array"},"permit_join":{"default":false,"description":"Allow new devices to join (re-applied at restart)","title":"Permit join","type":"boolean"},"serial":{"properties":{"adapter":{"description":"Adapter type, not needed unless you are experiencing problems","enum":["deconz","zstack","zigate"],"requiresRestart":true,"title":"Adapter","type":["string","null"]},"disable_led":{"default":false,"description":"Disable LED of the adapter if supported","requiresRestart":true,"title":"Disable led","type":"boolean"},"port":{"description":"Location of the adapter. To autodetect the port, set null","examples":["/dev/ttyACM0"],"requiresRestart":true,"title":"Port","type":["string","null"]}},"title":"Serial","type":"object"},"whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Whitelist (deprecated, use passlist)","type":"array"}},"required":["mqtt"],"type":"object"},"coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":15,"extended_pan_id":"0xdddddddddddddddd","pan_id":6754},"permit_join":true,"restart_required":false,"version":"1.18.1"}
zigbee2mqtt/bridge/devices [{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"10":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"11":{"bindings":[],"clusters":{"input":["ssIasAce"],"output":["ssIasZone","ssIasWd"]},"configured_reportings":[]},"110":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"12":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]},"configured_reportings":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"4":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"47":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"5":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"6":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"8":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]}},"friendly_name":"Coordinator","ieee_address":"0x00124b001fb2fd0a","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"Measured electrical potential value","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"WSDCGQ01LM","supports_ota":false,"vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]},"configured_reportings":[]},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]},"configured_reportings":[]},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]},"configured_reportings":[]}},"friendly_name":"0x00158d000315e43d","ieee_address":"0x00158d000315e43d","interview_completed":true,"interviewing":false,"model_id":"lumi.sensor_ht","network_address":32639,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara temperature, humidity and pressure sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"The measured atmospheric pressure","name":"pressure","property":"pressure","type":"numeric","unit":"hPa"},{"access":1,"description":"Measured electrical potential value","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"WSDCGQ11LM","supports_ota":false,"vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","msTemperatureMeasurement","msPressureMeasurement","msRelativeHumidity"],"output":["genBasic","genGroups"]},"configured_reportings":[]}},"friendly_name":"0x00158d00067d9442","ieee_address":"0x00158d00067d9442","interview_completed":true,"interviewing":false,"model_id":"lumi.weather","network_address":60095,"supported":true,"type":"EndDevice"},{"date_code":"20191205","definition":{"description":"Aqara temperature, humidity and pressure sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"The measured atmospheric pressure","name":"pressure","property":"pressure","type":"numeric","unit":"hPa"},{"access":1,"description":"Measured electrical potential value","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"WSDCGQ11LM","supports_ota":false,"vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","msTemperatureMeasurement","msPressureMeasurement","msRelativeHumidity"],"output":["genBasic","genGroups"]},"configured_reportings":[]}},"friendly_name":"0x00158d00067cf428","ieee_address":"0x00158d00067cf428","interview_completed":true,"interviewing":false,"model_id":"lumi.weather","network_address":99,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"","definition":{"description":"Temperature & humidity sensor with display","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"Measured electrical potential value","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"TS0201","supports_ota":false,"vendor":"TuYa"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genPowerCfg","msTemperatureMeasurement","msRelativeHumidity"],"output":["genOta"]},"configured_reportings":[]}},"friendly_name":"0x847127fffec2e962","ieee_address":"0x847127fffec2e962","interview_completed":true,"interviewing":false,"model_id":"TS0201","network_address":44705,"power_source":"Battery","supported":true,"type":"EndDevice"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"Measured electrical potential value","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"WSDCGQ01LM","supports_ota":false,"vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]},"configured_reportings":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]}},"friendly_name":"0x00158d0004069897","ieee_address":"0x00158d0004069897","interview_completed":true,"interviewing":false,"model_id":"lumi.sensor_ht","network_address":39586,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]}},"friendly_name":"0x00158d0006693fb3","ieee_address":"0x00158d0006693fb3","interview_completed":false,"interviewing":false,"network_address":4952,"supported":false,"type":"Unknown"},{"definition":null,"endpoints":{},"friendly_name":"0xec1bbdfffeb38bf1","ieee_address":"0xec1bbdfffeb38bf1","interview_completed":false,"interviewing":false,"network_address":45883,"supported":false,"type":"Unknown"}]
zigbee2mqtt/bridge/groups []
zigbee2mqtt/bridge/extensions []
zigbee2mqtt/0x00158d000315e43d/availability online
zigbee2mqtt/0x00158d00067d9442/availability online
zigbee2mqtt/0x00158d00067cf428/availability online
zigbee2mqtt/0x847127fffec2e962/availability online
zigbee2mqtt/0x00158d0004069897/availability online
zigbee2mqtt/0xec1bbdfffeb38bf1/availability online
zigbee2mqtt/0x00158d0006693fb3/availability online

Еще вижу такие ошибки:

daemon.info wb-rules[22392]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value duk_hobject_props.c:2000 anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield

И еще ошибки:

Oct 19 12:48:13 IQ930000 daemon.info wb-rules[2949]: INFO: driver is created
Oct 19 12:48:13 IQ930000 daemon.info wb-rules[2949]: INFO: [wbgo_mqtt] rules-IQ930000-2949: MQTT connection established
Oct 19 12:48:13 IQ930000 daemon.info wb-rules[2949]: WARNING: [wbgo_mqtt] MQTT connection lost
Oct 19 12:48:13 IQ930000 daemon.info wb-rules[2949]: INFO: [wbgo_mqtt] rules-IQ930000-2949: MQTT connection established
Oct 19 12:48:23 IQ930000 daemon.info wb-rules[2949]: ERROR: [wbgo_mqtt] MQTT token wait timeout: *mqtt.SubscribeToken (&{{{{0 0} 0 0 0 0} 0x1c45500 false <nil>} [] map[]})
Oct 19 12:48:33 IQ930000 daemon.info wb-rules[2949]: ERROR: [wbgo_mqtt] MQTT token wait timeout: *mqtt.SubscribeToken (&{{{{0 0} 0 0 0 0} 0x1c45540 false <nil>} [] map[]})
Oct 19 12:48:43 IQ930000 daemon.info wb-rules[2949]: ERROR: [wbgo_mqtt] MQTT token wait timeout: *mqtt.SubscribeToken (&{{{{0 0} 0 0 0 0} 0x1c45580 false <nil>} [] map[]})
Oct 19 12:48:53 IQ930000 daemon.info wb-rules[2949]: ERROR: [wbgo_mqtt] MQTT token wait timeout: *mqtt.SubscribeToken (&{{{{0 0} 0 0 0 0} 0x1c455c0 false <nil>} [/devices/+/meta/driver] map[]})

Что происходит с wb-rules?

Всплыла старая проблема:

Oct 19 13:03:27 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:03:28 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:03:28 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:03:48 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:03:48 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:03:48 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:04:08 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:04:08 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control
Oct 19 13:04:08 IQ930000 daemon.info wb-rules[8883]: ERROR: failed to SetValue for unexisting control

Я давно писал по этому поводу, просил добавить хотя бы более подробное логирование. Устройств сотни, какого control нет непонятно. Но у меня больше мнение, что wb-rules не смог подключиться к mosquitto.

По вочдогу перезапустился, заработал, но 20 минут был в отключке.

Попросил коллег посмотреть.
Тут крайне подозрительно то, что соединение с брокером рвалось. Сам москито не перезапускался?

Я просто перезагрузил контроллер по питанию.

root@IQ930000:~# grep -a Booting /var/log/messages
Oct 19 12:47:42 IQ930000 user.info kernel: [    0.000000] Booting Linux on physical CPU 0x0
root@IQ930000:~# ps -aux | grep mosquitto

mosquit+   381  3.3  1.1  10252  5888 ?        Ss   12:47   4:22 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf

Судя по времени старта сервисов, последовательность правильная.

Падает много вот таких ошибок.
Наши скрипты вроде работают.

|Oct 21 10:59:20 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|
|---|---|---|
|Oct 21 10:59:25 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|
|Oct 21 10:59:31 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|
|Oct 21 10:59:32 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|
|Oct 21 10:59:43 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|
|Oct 21 10:59:45 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|
|Oct 21 10:59:53 IQ930000 daemon.info wb-rules[3237]: ERROR: [rule error] ECMAScript error: TypeError: invalid base value |duk_hobject_props.c:2000 |anon /usr/share/wb-rules-system/scripts/lib.js:233 preventsyield|

Очень похоже на переполнение стека. А нету рекурсивного вызова функции из функции или таймера из таймера, без сброса родителя?
Можно скрипты в личку, попробую сам?
И wb-rules 2.8.1?

Версия wb-rules 2.6.3