kabbi / zigbee2mqtt-adapter

zigbee2mqtt adapter for WebThings gateway
Mozilla Public License 2.0
21 stars 13 forks source link

Z2M not working after update #40

Closed ben-digitalhive closed 3 years ago

ben-digitalhive commented 3 years ago

I had the Webthings addon set to autoupdate and following an update the following error is seen in the logs and no further transmission with things is possible. It appears that the addon is non-operational.

2021-06-08 15:18:52.116 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-08 15:18:53.946 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-08 15:18:53.992 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:18:54.513 INFO : PageKite connected! 2021-06-08 15:18:54.519 INFO : Starting certificate renewal. 2021-06-08 15:18:54.557 INFO : Certificate not yet due for renewal. 2021-06-08 15:18:55.430 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:18:57.733 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-08 15:18:57.970 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-08 15:18:57.971 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-08 15:18:57.992 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-08 15:18:58.149 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated... 2021-06-08 15:18:58.684 INFO : zigbee2mqtt-adapter: a new official release of zigbee2mqtt is available. Will attempt to upgrade. 2021-06-08 15:19:01.099 INFO : Checking for add-on updates... 2021-06-08 15:19:02.532 INFO : Finished updating add-ons 2021-06-08 15:19:06.882 INFO : zigbee2mqtt-adapter: -----DOWNLOAD COMPLETE, STARTING INSTALL----- ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������2021-06-08 15:20:45.241 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3 2021-06-08 15:20:51.101 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ] 2021-06-08 15:20:51.178 INFO : wifi-setup: waitForWifi: connection found 2021-06-08 15:20:51.316 INFO : HTTPS server listening on port 4443 2021-06-08 15:20:51.318 INFO : Redirector listening on port 8080 2021-06-08 15:20:51.401 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:21:21.945 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:21:25.197 INFO : Loading add-on: power-settings 2021-06-08 15:21:25.203 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-08 15:21:27.053 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-08 15:21:27.102 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:21:27.640 INFO : PageKite connected! 2021-06-08 15:21:27.645 INFO : Starting certificate renewal. 2021-06-08 15:21:27.685 INFO : Certificate not yet due for renewal. 2021-06-08 15:21:28.762 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:21:32.584 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-08 15:21:32.816 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-08 15:21:32.817 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-08 15:21:32.838 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-08 15:21:32.994 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated... 2021-06-08 15:21:34.241 INFO : Checking for add-on updates... 2021-06-08 15:21:35.579 INFO : Finished updating add-ons 2021-06-08 15:21:44.878 ERROR : zigbee2mqtt-adapter: (node:894) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined 2021-06-08 15:21:44.879 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11) 2021-06-08 15:21:44.881 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21) 2021-06-08 15:21:44.883 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9) 2021-06-08 15:21:44.884 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14) 2021-06-08 15:21:44.886 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1) 2021-06-08 15:21:44.887 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30) 2021-06-08 15:21:44.889 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2021-06-08 15:21:44.890 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32) 2021-06-08 15:21:44.891 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2021-06-08 15:21:44.893 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2021-06-08 15:21:44.895 ERROR : zigbee2mqtt-adapter: (node:894) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-06-08 15:21:44.897 ERROR : zigbee2mqtt-adapter: (node:894) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 2021-06-08 15:23:22.790 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3 2021-06-08 15:25:40.835 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ] 2021-06-08 15:25:40.998 INFO : wifi-setup: waitForWifi: connection found 2021-06-08 15:25:41.282 INFO : HTTPS server listening on port 4443 2021-06-08 15:25:41.285 INFO : Redirector listening on port 8080 2021-06-08 15:25:41.435 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:25:42.871 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:25:46.190 INFO : Loading add-on: power-settings 2021-06-08 15:25:46.196 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-08 15:25:48.058 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-08 15:25:48.105 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:25:48.659 INFO : PageKite connected! 2021-06-08 15:25:48.665 INFO : Starting certificate renewal. 2021-06-08 15:25:48.708 INFO : Certificate not yet due for renewal. 2021-06-08 15:25:49.696 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:25:53.562 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-08 15:25:53.794 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-08 15:25:53.796 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-08 15:25:53.817 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-08 15:25:53.972 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated... 2021-06-08 15:25:55.187 INFO : Checking for add-on updates... 2021-06-08 15:25:56.529 INFO : Finished updating add-ons 2021-06-08 15:26:05.984 ERROR : zigbee2mqtt-adapter: (node:898) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined 2021-06-08 15:26:05.987 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11) 2021-06-08 15:26:05.989 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21) 2021-06-08 15:26:05.991 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9) 2021-06-08 15:26:05.993 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14) 2021-06-08 15:26:06.001 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1) 2021-06-08 15:26:06.003 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30) 2021-06-08 15:26:06.004 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2021-06-08 15:26:06.006 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32) 2021-06-08 15:26:06.008 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2021-06-08 15:26:06.010 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2021-06-08 15:26:06.013 ERROR : zigbee2mqtt-adapter: (node:898) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-06-08 15:26:06.014 ERROR : zigbee2mqtt-adapter: (node:898) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 2021-06-08 15:27:39.389 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3 2021-06-08 15:28:15.406 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ] 2021-06-08 15:28:15.484 INFO : wifi-setup: waitForWifi: connection found 2021-06-08 15:28:15.623 INFO : HTTPS server listening on port 4443 2021-06-08 15:28:15.625 INFO : Redirector listening on port 8080 2021-06-08 15:28:15.708 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:28:17.736 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:28:22.063 INFO : Loading add-on: power-settings 2021-06-08 15:28:22.069 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-08 15:28:23.925 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-08 15:28:23.971 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-08 15:28:24.459 INFO : PageKite connected! 2021-06-08 15:28:24.465 INFO : Starting certificate renewal. 2021-06-08 15:28:24.503 INFO : Certificate not yet due for renewal. 2021-06-08 15:28:25.373 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-08 15:28:27.646 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-08 15:28:27.875 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-08 15:28:27.877 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-08 15:28:27.896 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-08 15:28:28.070 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated... 2021-06-08 15:28:31.077 INFO : Checking for add-on updates... 2021-06-08 15:28:32.449 INFO : Finished updating add-ons 2021-06-08 15:28:40.010 ERROR : zigbee2mqtt-adapter: (node:897) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined 2021-06-08 15:28:40.012 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11) 2021-06-08 15:28:40.014 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21) 2021-06-08 15:28:40.016 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9) 2021-06-08 15:28:40.018 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14) 2021-06-08 15:28:40.020 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1) 2021-06-08 15:28:40.021 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30) 2021-06-08 15:28:40.023 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2021-06-08 15:28:40.025 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32) 2021-06-08 15:28:40.027 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2021-06-08 15:28:40.029 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2021-06-08 15:28:40.032 ERROR : zigbee2mqtt-adapter: (node:897) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-06-08 15:28:40.033 ERROR : zigbee2mqtt-adapter: (node:897) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 2021-06-08 21:22:04.195 INFO : Tunnel domain found. Tunnel name is: gw01-digitalhive and tunnel domain is: webthings.io 2021-06-08 21:22:04.200 INFO : Tunnel name is set to: https://gw01-digitalhive.webthings.io 2021-06-08 21:22:04.202 INFO : Local mDNS Service Domain Name is: gateway 2021-06-08 21:22:10.127 ERROR : Failed to get property battery: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.130 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.131 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.133 ERROR : Failed to get property humidity: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.134 ERROR : Failed to get property pressure: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.135 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.136 ERROR : Failed to get property voltage: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-08 21:22:10.138 ERROR : Failed to get property battery: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.139 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.140 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.141 ERROR : Failed to get property humidity: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.143 ERROR : Failed to get property pressure: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.144 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.145 ERROR : Failed to get property voltage: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-08 21:22:10.146 ERROR : Failed to get property state: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.148 ERROR : Failed to get property power: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.149 ERROR : Failed to get property energy: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.150 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.151 ERROR : Failed to get property power_outage_memory: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.153 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.154 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-08 21:22:10.155 ERROR : Failed to get property consumption: getProperty: device: z2m-0x00158d0003539a52 not found.

flatsiedatsie commented 3 years ago

Could you share some more information about your device type, dongle, etc?

flatsiedatsie commented 3 years ago

And are you using a webthings raspberry pi image, or something else?

flatsiedatsie commented 3 years ago

The problem seems to be with this line.

It's almost as if the configuration file doesn't exist.

Could you install the SeaShell addon and use it so run this command? That will tell us if the configuration file exists.

cat ~/.webthings/data/zigbee2mqtt-adapter/configuration.yaml

ben-digitalhive commented 3 years ago

In response to the above questions:

In regards to the CAT command - I ran it and got no output. I used Putty to go into the device and ran

sudo nano ~/.webthings/data/zigbee2mqtt-adapter/configuration.yaml

It opened a blank file - So it does appear as if the configuration file does not exist.

How do I resolve this? Shall I uninstall and re-install the addon?

ben-digitalhive commented 3 years ago

As a quick update I removed the addon. Re-started the Gateway. Reinstalled the Addon and I got the same error.

2021-06-12 10:09:22.819 INFO : Fetching add-on https://github.com/kabbi/zigbee2mqtt-adapter/releases/download/0.6.1/zigbee2mqtt-adapter-0.6.1.tgz as /tmp/FhWTV4/zigbee2mqtt-adapter.tar.gz 2021-06-12 10:09:24.000 INFO : Expanding add-on /tmp/FhWTV4/zigbee2mqtt-adapter.tar.gz 2021-06-12 10:09:31.735 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-12 10:09:33.526 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-12 10:09:33.571 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-12 10:09:35.161 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-12 10:09:37.930 ERROR : Failed to get property battery: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.933 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.935 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.937 ERROR : Failed to get property humidity: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.940 ERROR : Failed to get property pressure: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.942 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.944 ERROR : Failed to get property voltage: getProperty: device: z2m-0x00158d0004876bbf not found. 2021-06-12 10:09:37.947 ERROR : Failed to get property battery: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.949 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.951 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.953 ERROR : Failed to get property humidity: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.956 ERROR : Failed to get property pressure: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.958 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.960 ERROR : Failed to get property voltage: getProperty: device: z2m-0x00158d0004876b54 not found. 2021-06-12 10:09:37.963 ERROR : Failed to get property state: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.965 ERROR : Failed to get property power: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.967 ERROR : Failed to get property energy: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.970 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.972 ERROR : Failed to get property power_outage_memory: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.974 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.977 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:37.979 ERROR : Failed to get property consumption: getProperty: device: z2m-0x00158d0003539a52 not found. 2021-06-12 10:09:39.169 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-12 10:09:41.003 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-12 10:09:41.005 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-12 10:09:41.025 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-12 10:09:52.582 ERROR : zigbee2mqtt-adapter: (node:919) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined 2021-06-12 10:09:52.584 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11) 2021-06-12 10:09:52.586 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21) 2021-06-12 10:09:52.589 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9) 2021-06-12 10:09:52.591 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14) 2021-06-12 10:09:52.593 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1) 2021-06-12 10:09:52.595 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30) 2021-06-12 10:09:52.597 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2021-06-12 10:09:52.599 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32) 2021-06-12 10:09:52.600 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2021-06-12 10:09:52.602 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2021-06-12 10:09:52.604 ERROR : zigbee2mqtt-adapter: (node:919) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-06-12 10:09:52.606 ERROR : zigbee2mqtt-adapter: (node:919) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

flatsiedatsie commented 3 years ago

Yes, removing addons doesn't remove all their data, it's really annoying.

You could try running this command using the SeaShell addon:

~/.webthings/data/zigbee2mqtt-adapter

it will remove the addon's data directory.

Still, it's strange. If I remember correctly the addon should create the settings file if it doesn't exist.

Over here the adon has updated to the latest version without issue, but my development version it a little ahead.

ben-digitalhive commented 3 years ago

OK so I removed the addon, deleted the directory as suggested.  Restarted and re-installed the addon.

The configuration of the addon was restored (the UI configuration) so I assume that must be stored somewhere else?

The ~/.webthings/data/zigbee2mqtt-adapter/configuration.yaml was empty still.

Error still exists:

2021-06-13 08:19:24.596 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-13 08:19:26.177 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-13 08:19:26.224 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-13 08:19:27.609 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-13 08:19:29.957 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-13 08:19:30.213 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-13 08:19:30.215 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-13 08:19:30.242 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-13 08:19:41.562 ERROR : zigbee2mqtt-adapter: (node:1148) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined 2021-06-13 08:19:41.564 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11) 2021-06-13 08:19:41.565 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21) 2021-06-13 08:19:41.567 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9) 2021-06-13 08:19:41.568 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14) 2021-06-13 08:19:41.570 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1) 2021-06-13 08:19:41.572 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30) 2021-06-13 08:19:41.573 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2021-06-13 08:19:41.575 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32) 2021-06-13 08:19:41.576 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2021-06-13 08:19:41.578 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2021-06-13 08:19:41.581 ERROR : zigbee2mqtt-adapter: (node:1148) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-06-13 08:19:41.584 ERROR : zigbee2mqtt-adapter: (node:1148) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

---- On Sun, 13 Jun 2021 05:49:44 +1200 flatsiedatsie @.***> wrote ----

Yes, removing addons doesn't remove all their data, it's really annoying.

You could try running this command using the SeaShell addon:

~/.webthings/data/zigbee2mqtt-adapter

it will remove the addon's data directory.

— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/kabbi/zigbee2mqtt-adapter/issues/40#issuecomment-860086673, or https://github.com/notifications/unsubscribe-auth/AL6EPZZWL2PE23HWINCAXDTTSOM3RANCNFSM46NH7BZQ.

flatsiedatsie commented 3 years ago

Ok. let's just recreate the file then. Run this command in SeaShell:

wget http://www.privacydesign.nl/configuration.yaml -P /home/pi/.webthings/data/zigbee2mqtt-adapter/

It will download a copy that I've placed online for you. I'll also have a look at the code, and find out why that file may not be regenerated.

ben-digitalhive commented 3 years ago

Thanks I did this.

But it seems to be very unstable - rebooting all the time so I have rebuilt the device.  Downloaded a fresh image of Webthings.  Formatted the SD Card. Reflashed the CC2531 and re-set up again.  The log is clear now.

But now I have it running I see that the SSH console seems rather slow (putty) - considering it is not doing much its very slow.  I also cant add devices - the add button in Webthings works but trying to re-pair my Aqara temp sensors is not working.  Something just doesn't seem right.

Where else can I look to see what is going on. 

2021-06-14 08:58:04.022 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3 2021-06-14 08:58:09.901 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ] 2021-06-14 08:58:09.980 INFO : wifi-setup: waitForWifi: connection found 2021-06-14 08:58:10.118 INFO : HTTPS server listening on port 4443 2021-06-14 08:58:10.120 INFO : Redirector listening on port 8080 2021-06-14 08:58:10.200 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-14 08:58:11.534 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-14 08:58:43.138 INFO : Loading add-on: power-settings 2021-06-14 08:58:43.663 ERROR : Failed to load add-on thing-url-adapter: Error: Add-on not enabled: thing-url-adapter at AddonManager.loadAddon (/home/pi/webthings/gateway/build/webpack:/src/addon-manager.js:668:1) 2021-06-14 08:58:43.667 ERROR : Failed to load add-on zigbee-adapter: Error: Add-on not enabled: zigbee-adapter at AddonManager.loadAddon (/home/pi/webthings/gateway/build/webpack:/src/addon-manager.js:668:1) 2021-06-14 08:58:43.670 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-14 08:58:43.674 ERROR : Failed to load add-on zwave-adapter: Error: Add-on not enabled: zwave-adapter at AddonManager.loadAddon (/home/pi/webthings/gateway/build/webpack:/src/addon-manager.js:668:1) 2021-06-14 08:58:45.429 INFO : PageKite connected! 2021-06-14 08:58:45.435 INFO : Starting certificate renewal. 2021-06-14 08:58:45.474 INFO : Certificate not yet due for renewal. 2021-06-14 08:58:45.504 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-14 08:58:45.549 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-14 08:58:45.868 INFO : Checking for add-on updates... 2021-06-14 08:58:47.329 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-14 08:58:47.369 INFO : Finished updating add-ons 2021-06-14 08:58:51.106 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-14 08:58:51.339 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-14 08:58:51.341 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-14 08:58:51.366 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-14 09:02:36.802 INFO : Opened a new things socket 2021-06-14 09:02:36.945 INFO : About to call startPairing on ZigbeeMqttAdapter 2021-06-14 09:03:33.556 INFO : Opened a new things socket

PRESSED CANCEL

Ben

---- On Mon, 14 Jun 2021 19:35:12 +1200 flatsiedatsie @.***> wrote ----

Ok. let's just recreate the file then. Run this command in SeaShell:

wget http://www.privacydesign.nl/configuration.yaml -P /home/pi/.webthings/data/zigbee2mqtt-adapter/

It will download a copy that I've placed online for you. I'll also have a look at the code, and find out why that file may not be regenerated.

— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/kabbi/zigbee2mqtt-adapter/issues/40#issuecomment-860456668, or https://github.com/notifications/unsubscribe-auth/AL6EPZ44TD7PXBJGGKMBXVTTSWWLBANCNFSM46NH7BZQ.

ben-digitalhive commented 3 years ago

OK Hurrah I think I have found more information!

  1. I had changed the power supply so I think that there was an issue with the supply hence the instability.

  2. Once I reverted the supply I got stability back and enabled the DEBUG in the addon configuration.  I now see a failed to start zigbee-herdsman error as per below:

-- Do you think this is related to the code update or is it possibly to do with a failure during the build/setup of the PI (with poor power supply) and I need to rebuild from scratch again?

2021-06-14 20:43:30.073 INFO : Loading add-on: zigbee2mqtt-adapter 2021-06-14 20:43:31.634 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3 2021-06-14 20:43:31.680 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType 2021-06-14 20:43:33.065 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType 2021-06-14 20:43:35.438 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-06-14 20:43:35.654 INFO : zigbee2mqtt-adapter: Debugging is enabled 2021-06-14 20:43:35.657 INFO : zigbee2mqtt-adapter: { local_zigbee2mqtt: true, 2021-06-14 20:43:35.659 INFO : zigbee2mqtt-adapter: auto_update: false, 2021-06-14 20:43:35.661 INFO : zigbee2mqtt-adapter: mqtt: 'mqtt://localhost', 2021-06-14 20:43:35.663 INFO : zigbee2mqtt-adapter: prefix: 'zigbee2mqtt', 2021-06-14 20:43:35.664 INFO : zigbee2mqtt-adapter: serial_port: '', 2021-06-14 20:43:35.666 INFO : zigbee2mqtt-adapter: channel: '11', 2021-06-14 20:43:35.667 INFO : zigbee2mqtt-adapter: ikea_test_server: false, 2021-06-14 20:43:35.669 INFO : zigbee2mqtt-adapter: debug: true } 2021-06-14 20:43:35.671 INFO : zigbee2mqtt-adapter: OS: linux 2021-06-14 20:43:35.673 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH 2021-06-14 20:43:35.675 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-06-14 20:43:35.694 INFO : zigbee2mqtt-adapter: line: total 0 2021-06-14 20:43:35.697 INFO : zigbee2mqtt-adapter: line: lrwxrwxrwx 1 root root 13 Jun 14 20:39 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00193B1876-if00 -> ../../ttyACM0 2021-06-14 20:43:35.698 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0 2021-06-14 20:43:35.700 INFO : zigbee2mqtt-adapter: line: 2021-06-14 20:43:35.829 INFO : zigbee2mqtt-adapter: this.zigbee2mqtt_data_dir_path = /home/pi/.webthings/data/zigbee2mqtt-adapter 2021-06-14 20:43:35.833 INFO : zigbee2mqtt-adapter: this.config.local_zigbee2mqtt = true 2021-06-14 20:43:35.838 INFO : zigbee2mqtt-adapter: zigbee2mqtt folder existed. 2021-06-14 20:43:35.841 INFO : zigbee2mqtt-adapter: in run_zigbee2mqtt 2021-06-14 20:43:35.843 INFO : zigbee2mqtt-adapter: Checking if config file exists 2021-06-14 20:43:45.853 INFO : zigbee2mqtt-adapter: starting zigbee2MQTT using: node /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js 2021-06-14 20:43:45.854 INFO : zigbee2mqtt-adapter: initial this.config.serial_port = /dev/ttyACM0 2021-06-14 20:43:45.856 INFO : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_devices_file_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/devices.yaml 2021-06-14 20:43:45.858 INFO : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_log_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/log 2021-06-14 20:43:45.859 INFO : zigbee2mqtt-adapter: Using IKEA test server for firmware updates? false 2021-06-14 20:43:50.179 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:debug 2021-06-14 20:43:50: Can't load state from file /home/pi/.webthings/data/zigbee2mqtt-adapter/state.json (doesn't exist) 2021-06-14 20:43:50.190 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:info  2021-06-14 20:43:50: Logging to console and directory: '/home/pi/.webthings/data/zigbee2mqtt-adapter/log' filename: Zigbee2MQTT-adapter-2021-06-14.20-43-47.txt 2021-06-14 20:43:50.259 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:info  2021-06-14 20:43:50: Starting Zigbee2MQTT version 1.19.1 (commit #9bd4693) 2021-06-14 20:43:50.264 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:info  2021-06-14 20:43:50: Starting zigbee-herdsman (0.13.111) 2021-06-14 20:43:50.268 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:debug 2021-06-14 20:43:50: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/home/pi/.webthings/data/zigbee2mqtt-adapter/coordinator_backup.json","databaseBackupPath":"/home/pi/.webthings/data/zigbee2mqtt-adapter/database.db.backup","databasePath":"/home/pi/.webthings/data/zigbee2mqtt-adapter/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}' 2021-06-14 20:43:50.335 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:error 2021-06-14 20:43:50: Error while starting zigbee-herdsman 2021-06-14 20:43:50.337 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:error 2021-06-14 20:43:50: Failed to start zigbee 2021-06-14 20:43:50.340 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:error 2021-06-14 20:43:50: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions 2021-06-14 20:43:50.342 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:error 2021-06-14 20:43:50: Exiting... 2021-06-14 20:43:50.346 INFO : zigbee2mqtt-adapter: Zigbee2MQTT:error 2021-06-14 20:43:50: Error: Could not locate the bindings file. Tried: 2021-06-14 20:43:50.348 INFO : zigbee2mqtt-adapter: → @./bindings/build/bindings.node 2021-06-14 20:43:50.349 INFO : zigbee2mqtt-adapter: → @./bindings/build/Debug/bindings.node 2021-06-14 20:43:50.351 INFO : zigbee2mqtt-adapter: → @./bindings/build/Release/bindings.node 2021-06-14 20:43:50.353 INFO : zigbee2mqtt-adapter: → @./bindings/out/Debug/bindings.node 2021-06-14 20:43:50.355 INFO : zigbee2mqtt-adapter: → @./bindings/Debug/bindings.node 2021-06-14 20:43:50.357 INFO : zigbee2mqtt-adapter: → @./bindings/out/Release/bindings.node 2021-06-14 20:43:50.359 INFO : zigbee2mqtt-adapter: → @./bindings/Release/bindings.node 2021-06-14 20:43:50.360 INFO : zigbee2mqtt-adapter: → @./bindings/build/default/bindings.node 2021-06-14 20:43:50.362 INFO : zigbee2mqtt-adapter: → @./bindings/compiled/10.23.0/linux/arm/bindings.node 2021-06-14 20:43:50.368 INFO : zigbee2mqtt-adapter: → @./bindings/addon-build/release/install-root/bindings.node 2021-06-14 20:43:50.369 INFO : zigbee2mqtt-adapter: → @./bindings/addon-build/debug/install-root/bindings.node 2021-06-14 20:43:50.370 INFO : zigbee2mqtt-adapter: → @./bindings/addon-build/default/install-root/bindings.node 2021-06-14 20:43:50.372 INFO : zigbee2mqtt-adapter: → @./bindings/lib/binding/node-v64-linux-arm/bindings.node 2021-06-14 20:43:50.373 INFO : zigbee2mqtt-adapter: at bindings (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:126:9) 2021-06-14 20:43:50.375 INFO : zigbee2mqtt-adapter: at Object. @./bindings/lib/linux.js:2:36) 2021-06-14 20:43:50.376 INFO : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30) 2021-06-14 20:43:50.377 INFO : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2021-06-14 20:43:50.378 INFO : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32) 2021-06-14 20:43:50.380 INFO : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2021-06-14 20:43:50.381 INFO : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2021-06-14 20:43:50.382 INFO : zigbee2mqtt-adapter: at Module.require (internal/modules/cjs/loader.js:692:17) 2021-06-14 20:43:50.384 INFO : zigbee2mqtt-adapter: at require (internal/modules/cjs/helpers.js:25:18) 2021-06-14 20:43:50.385 INFO : zigbee2mqtt-adapter: at Object. @.***/bindings/lib/index.js:14:22)

Ben

---- On Mon, 14 Jun 2021 19:35:12 +1200 flatsiedatsie @.***> wrote ----

Ok. let's just recreate the file then. Run this command in SeaShell:

wget http://www.privacydesign.nl/configuration.yaml -P /home/pi/.webthings/data/zigbee2mqtt-adapter/

It will download a copy that I've placed online for you. I'll also have a look at the code, and find out why that file may not be regenerated.

— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/kabbi/zigbee2mqtt-adapter/issues/40#issuecomment-860456668, or https://github.com/notifications/unsubscribe-auth/AL6EPZ44TD7PXBJGGKMBXVTTSWWLBANCNFSM46NH7BZQ.

ben-digitalhive commented 3 years ago

OK so after an exhausting discovery I have rebuilt the whole gateway and configured all again to confirm this was a power supply issue! Sorry...

The update must have failed because of a power issue and/or just incorrect operation due to not enough quality power meaning it just wasnt working.

Thanks for your patience and great work!