Replies: 2 comments 2 replies
-
Any suggestions? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Never mind, I found the problem. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am trying to install an unknown (tuya) device using an external converter. I followed these guides:
https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html#_1-pairing-the-device-with-zigbee2mqtt
and this one
https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html#instructions
My main issue at the moment is, that when I add this:
to the configuration.yaml, z2m fails to start.
Z2M version: 1.25.2 commit: 9b2a921
Configuration.yaml:
Logging:
opt/zigbee2mqtt/data $ sudo journalctl -u zigbee2mqtt.service -f
-- Journal begins at Tue 2022-04-19 09:20:01 CEST. --
Jun 30 10:55:06 autohome systemd[1]: Stopping zigbee2mqtt...
Jun 30 10:55:06 autohome npm[20462]: Zigbee2MQTT:info 2022-06-30 10:55:06: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'offline'
Jun 30 10:55:06 autohome npm[20462]: Zigbee2MQTT:info 2022-06-30 10:55:06: Disconnecting from MQTT server
Jun 30 10:55:06 autohome npm[20462]: Zigbee2MQTT:info 2022-06-30 10:55:06: Stopping zigbee-herdsman...
Jun 30 10:55:16 autohome npm[20462]: Zigbee2MQTT:info 2022-06-30 10:55:16: Stopped zigbee-herdsman
Jun 30 10:55:16 autohome npm[20462]: Zigbee2MQTT:info 2022-06-30 10:55:16: Stopped Zigbee2MQTT
Jun 30 10:55:17 autohome systemd[1]: zigbee2mqtt.service: Succeeded.
Jun 30 10:55:17 autohome systemd[1]: Stopped zigbee2mqtt.
Jun 30 10:55:17 autohome systemd[1]: zigbee2mqtt.service: Consumed 2min 18.166s CPU time.
Jun 30 10:55:17 autohome systemd[1]: Started zigbee2mqtt.
Jun 30 10:55:20 autohome npm[593]: > [email protected] start /opt/zigbee2mqtt
Jun 30 10:55:20 autohome npm[593]: > node index.js
Jun 30 10:55:29 autohome npm[607]: (node:607) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected identifier
Jun 30 10:55:29 autohome npm[607]: (Use
node --trace-warnings ...
to show where the warning was created)Jun 30 10:55:29 autohome npm[607]: (node:607) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)Jun 30 10:55:29 autohome npm[607]: (node:607) [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.
Jun 30 10:55:29 autohome systemd[1]: zigbee2mqtt.service: Succeeded.
Jun 30 10:55:29 autohome systemd[1]: zigbee2mqtt.service: Consumed 10.778s CPU time.
Jun 30 10:55:30 autohome systemd[1]: zigbee2mqtt.service: Scheduled restart job, restart counter is at 1.
Jun 30 10:55:30 autohome systemd[1]: Stopped zigbee2mqtt.
Jun 30 10:55:30 autohome systemd[1]: zigbee2mqtt.service: Consumed 10.778s CPU time.
Jun 30 10:55:30 autohome systemd[1]: Started zigbee2mqtt.
Jun 30 10:55:32 autohome npm[622]: > [email protected] start /opt/zigbee2mqtt
Jun 30 10:55:32 autohome npm[622]: > node index.js
Jun 30 10:55:39 autohome npm[634]: (node:634) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected identifier
Jun 30 10:55:39 autohome npm[634]: (Use
node --trace-warnings ...
to show where the warning was created)Jun 30 10:55:39 autohome npm[634]: (node:634) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)Jun 30 10:55:39 autohome npm[634]: (node:634) [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.
Jun 30 10:55:39 autohome systemd[1]: zigbee2mqtt.service: Succeeded.
Jun 30 10:55:39 autohome systemd[1]: zigbee2mqtt.service: Consumed 10.329s CPU time.
Jun 30 10:55:40 autohome systemd[1]: zigbee2mqtt.service: Scheduled restart job, restart counter is at 2.
Jun 30 10:55:40 autohome systemd[1]: Stopped zigbee2mqtt.
Jun 30 10:55:40 autohome systemd[1]: zigbee2mqtt.service: Consumed 10.329s CPU time.
Jun 30 10:55:40 autohome systemd[1]: Started zigbee2mqtt.
Beta Was this translation helpful? Give feedback.
All reactions