Zigbee problems with tuya temperature & humidity Sensor

Since I have added the temperature & humidity aensor from tuya I get an segmentation fault error.

sudo nymead -n
Translations: Could not find nymead translations for “en_GB”
“/usr/translations”
“/usr/share/nymea/translations”
I | Application: =====================================
I | Application: nymead 1.2.0+202206160020~bullseye+rpi1 started as root.
I | Application: =====================================
W | default: Cannot find a running Bluez. Please check the Bluez installation.
W | Bluetooth: No bluetooth adapter found. Resource not available.
I | MacAddressDatabase: Database initialized successfully “/usr/share/nymea/nymead/mac-addresses.db”
I | NetworkDeviceDiscovery: Created successfully
I | NetworkDeviceDiscovery: Loading cached network device information from “/var/cache/nymea/network-device-discovery.cache”
I | NetworkDeviceDiscovery: Loaded 0 network device infos from cache.
W | Bluez: Invalid DBus ObjectManager interface.
W | Nuki: Bluetooth not available
W | ThingManager: Plugin for thing “Lampe Esszimmer” “{056de92c-85f9-4de7-9fb6-2f5d995dfd9c}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing “Lampe Esszimmer” “{056de92c-85f9-4de7-9fb6-2f5d995dfd9c}” because the thing class for this thing could not be found.
W | ThingManager: Plugin for thing "Esszimmer rechts " “{2247eb8c-9a8b-4eed-a11f-04e317656fce}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing "Esszimmer rechts " “{2247eb8c-9a8b-4eed-a11f-04e317656fce}” because the thing class for this thing could not be found.
W | ThingManager: Plugin for thing "Esszimmer mitte " “{4f85548f-2e00-484b-967a-d838be3361fa}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing "Esszimmer mitte " “{4f85548f-2e00-484b-967a-d838be3361fa}” because the thing class for this thing could not be found.
W | ThingManager: Plugin for thing “Esszimmer links” “{8b4fbcb9-2627-4223-a94f-5884d14a5f9e}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing “Esszimmer links” “{8b4fbcb9-2627-4223-a94f-5884d14a5f9e}” because the thing class for this thing could not be found.
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | ZigbeeController: Reply timeout InterfaceReply(“Request controller device state”, 0)
W | ZigbeeController: Request Deconz::CommandDeviceState finished with error Deconz::StatusCodeError
W | ZigbeeController: Unhandled interface package received Deconz::CommandDeviceState SQN: 0 Deconz::StatusCodeSuccess Frame length: 7 “0xa6 0x00”
W | nymea.mqtt.server: Rejecting connection due to user validation.
W | nymea.mqtt.server: Rejecting connection due to user validation.
W | ZigbeeNetwork: Received confirmation but could not find any reply. Ignoring the confirmation
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0xd35e, F0:D1:B8:00:00:18:98:5F, LEDVANCE (0x1189), A60 RGBW Value II, End device, RxOn:true)
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0x2583, 00:17:88:01:0C:43:F5:D4, Philips (0x100b), LWG004, End device, RxOn:true)
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0x2d92, 00:17:88:01:0C:43:FA:EC, Philips (0x100b), LWG004, End device, RxOn:true)
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0xcb3d, 00:17:88:01:09:DB:9C:35, Philips (0x100b), LWG004, End device, RxOn:true)
W | AWS: Unhandled subscription received! “ce513f1a-44ff-4c9d-bd38-2eb66e08c51e/pair” “{“id”:2,“idToken”:“eyJraWQiOiJYUXdsN1NVMFNMR0JRdklUbGlxVUlEM2JKSFwvK1RORENxR2JscUhvUkd2az0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGM3MzcwNy1iNGI3LTRjZjYtYWNjOC1mYzBiODY4YTIzOWEiLCJhdWQiOiIzNWR1bGkwYjEzYzdwZXQ1azRiY3Y4cGJ1IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImV2ZW50X2lkIjoiMzNlOTlhYzMtY2ZhNS00MjdmLWI2NjUtYjk4MTdmOTllMjY2IiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2NTY0NDYzODksImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5ldS13ZXN0LTEuYW1hem9uYXdzLmNvbVwvZXUtd2VzdC0xX1daVnNhQnNhWSIsImNvZ25pdG86dXNlcm5hbWUiOiIyODBkZjk4ZC00MTYyLTRjZDItYWU3NS0xMDZkNmE0YjQ3ZTkiLCJleHAiOjE2NTY0NDk5ODksImlhdCI6MTY1NjQ0NjM4OSwiZW1haWwiOiJtLm1lbm5lckB0LW9ubGluZS5kZSJ9.KBaNl3LVshMlLR1wsR8bgQZDnaoM9MGDEUKsoRycItOOOtKxaTr5-M31c-ik-h9hmioTG_kkIE4zHnvmgngKe7I9boWfqmENtBt1Y_ri0waiFoGlU_mGXHN2KBTQe1SfUHxozBK1XC7XkaQK2_9ooLIPbw5X2srGI2umqALxL4rP56HWYjs6kqaumWUm6kcH3kSMRBJM8Mce1e1ITFDKMZHqL6ByqOjcrBc9QSj09XdmdIeUfvwgXutXw1-LvneBDclNuzR0zigUwWrRzQQ1myfdEaF4X8CavfCibzTyVTZM4sgUbncfFsBlFRMLUwlOgkoL5AIsIA8s6RPClntxng”,“timestamp”:1656447128537,“userId”:“280df98d-4162-4cd2-ae75-106d6a4b47e9”}”
W | AWS: Unhandled subscription received! “ce513f1a-44ff-4c9d-bd38-2eb66e08c51e/pair” “{“id”:3,“idToken”:“eyJraWQiOiJYUXdsN1NVMFNMR0JRdklUbGlxVUlEM2JKSFwvK1RORENxR2JscUhvUkd2az0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGM3MzcwNy1iNGI3LTRjZjYtYWNjOC1mYzBiODY4YTIzOWEiLCJhdWQiOiIzNWR1bGkwYjEzYzdwZXQ1azRiY3Y4cGJ1IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImV2ZW50X2lkIjoiMzNlOTlhYzMtY2ZhNS00MjdmLWI2NjUtYjk4MTdmOTllMjY2IiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2NTY0NDYzODksImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5ldS13ZXN0LTEuYW1hem9uYXdzLmNvbVwvZXUtd2VzdC0xX1daVnNhQnNhWSIsImNvZ25pdG86dXNlcm5hbWUiOiIyODBkZjk4ZC00MTYyLTRjZDItYWU3NS0xMDZkNmE0YjQ3ZTkiLCJleHAiOjE2NTY0NDk5ODksImlhdCI6MTY1NjQ0NjM4OSwiZW1haWwiOiJtLm1lbm5lckB0LW9ubGluZS5kZSJ9.KBaNl3LVshMlLR1wsR8bgQZDnaoM9MGDEUKsoRycItOOOtKxaTr5-M31c-ik-h9hmioTG_kkIE4zHnvmgngKe7I9boWfqmENtBt1Y_ri0waiFoGlU_mGXHN2KBTQe1SfUHxozBK1XC7XkaQK2_9ooLIPbw5X2srGI2umqALxL4rP56HWYjs6kqaumWUm6kcH3kSMRBJM8Mce1e1ITFDKMZHqL6ByqOjcrBc9QSj09XdmdIeUfvwgXutXw1-LvneBDclNuzR0zigUwWrRzQQ1myfdEaF4X8CavfCibzTyVTZM4sgUbncfFsBlFRMLUwlOgkoL5AIsIA8s6RPClntxng”,“timestamp”:1656447128599,“userId”:“280df98d-4162-4cd2-ae75-106d6a4b47e9”}”
W | AWS: Unhandled subscription received! “ce513f1a-44ff-4c9d-bd38-2eb66e08c51e/device/users” “{“command”:“getUsers”,“id”:4,“timestamp”:1656447130143}”
Segmentation fault

I had the same error with Version 1.1.0. After updating to 1.2.0 the error also occurred.

Hey, can you please try with experimental? We’ve fixed something that could relate to this recently.

I have changed the repo to experimental and updated thezigbee lib, but I also get an segmenation fault.

Get:1 Index of /experimental-silo bullseye/rpi armhf libnymea-zigbee1 armhf 1.2.1+202206202333~bullseye+rpi1 [318 kB]

sudo nymead -n
Translations: Could not find nymead translations for “en_GB”
“/usr/translations”
“/usr/share/nymea/translations”
I | Application: =====================================
I | Application: nymead 1.2.1+202206272335~bullseye+rpi1 started as root.
I | Application: =====================================
W | default: Cannot find a running Bluez. Please check the Bluez installation.
W | Bluetooth: No bluetooth adapter found. Resource not available.
I | MacAddressDatabase: Database initialized successfully “/usr/share/nymea/nymead/mac-addresses.db”
I | NetworkDeviceDiscovery: Created successfully
I | NetworkDeviceDiscovery: Loading cached network device information from “/var/cache/nymea/network-device-discovery.cache”
I | NetworkDeviceDiscovery: Loaded 0 network device infos from cache.
W | Bluez: Invalid DBus ObjectManager interface.
W | Nuki: Bluetooth not available
W | ThingManager: Plugin for thing “Lampe Esszimmer” “{056de92c-85f9-4de7-9fb6-2f5d995dfd9c}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing “Lampe Esszimmer” “{056de92c-85f9-4de7-9fb6-2f5d995dfd9c}” because the thing class QUuid("{8d157281-73c0-4d2c-96a0-572d26e9dd4f}") is neither provided by a plugin nor found in the cache.
W | ThingManager: Plugin for thing “Esszimmer rechts " “{2247eb8c-9a8b-4eed-a11f-04e317656fce}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing “Esszimmer rechts " “{2247eb8c-9a8b-4eed-a11f-04e317656fce}” because the thing class QUuid(”{b2eeb554-ca5c-46b5-a897-bc443fb186ea}”) is neither provided by a plugin nor found in the cache.
W | ThingManager: Plugin for thing “Esszimmer mitte " “{4f85548f-2e00-484b-967a-d838be3361fa}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing “Esszimmer mitte " “{4f85548f-2e00-484b-967a-d838be3361fa}” because the thing class QUuid(”{b2eeb554-ca5c-46b5-a897-bc443fb186ea}”) is neither provided by a plugin nor found in the cache.
W | ThingManager: Plugin for thing “Esszimmer links” “{8b4fbcb9-2627-4223-a94f-5884d14a5f9e}” not found. This thing will not be functional until the plugin can be loaded.
W | ThingManager: Not loading thing “Esszimmer links” “{8b4fbcb9-2627-4223-a94f-5884d14a5f9e}” because the thing class QUuid("{b2eeb554-ca5c-46b5-a897-bc443fb186ea}") is neither provided by a plugin nor found in the cache.
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | RuleEngine: Could not load the value type of the state evaluator. The value type will be guessed by QVariant QVariant(Invalid)
W | ZigbeeController: Reply timeout InterfaceReply(“Request controller device state”, 0)
W | ZigbeeController: Request Deconz::CommandDeviceState finished with error Deconz::StatusCodeError
W | ZigbeeController: Unhandled interface package received Deconz::CommandDeviceState SQN: 0 Deconz::StatusCodeSuccess Frame length: 7 “0xa2 0x00”
W | nymea.mqtt.server: Rejecting connection due to user validation.
W | nymea.mqtt.server: Rejecting connection due to user validation.
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0xd35e, F0:D1:B8:00:00:18:98:5F, LEDVANCE (0x1189), A60 RGBW Value II, End device, RxOn:true)
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0x2583, 00:17:88:01:0C:43:F5:D4, Philips (0x100b), LWG004, End device, RxOn:true)
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0x2d92, 00:17:88:01:0C:43:FA:EC, Philips (0x100b), LWG004, End device, RxOn:true)
W | ZigbeeResource: No zigbee handler available to handle node ZigbeeNode(0xcb3d, 00:17:88:01:09:DB:9C:35, Philips (0x100b), LWG004, End device, RxOn:true)
W | AWS: Unhandled subscription received! “ce513f1a-44ff-4c9d-bd38-2eb66e08c51e/pair” “{“id”:2,“idToken”:“eyJraWQiOiJYUXdsN1NVMFNMR0JRdklUbGlxVUlEM2JKSFwvK1RORENxR2JscUhvUkd2az0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGM3MzcwNy1iNGI3LTRjZjYtYWNjOC1mYzBiODY4YTIzOWEiLCJhdWQiOiIzNWR1bGkwYjEzYzdwZXQ1azRiY3Y4cGJ1IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImV2ZW50X2lkIjoiNmE0M2JlY2MtMDVlNi00YjMxLTk4ZDUtNGJhNjA5Y2M1ZDYyIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2NTY0ODMzOTIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5ldS13ZXN0LTEuYW1hem9uYXdzLmNvbVwvZXUtd2VzdC0xX1daVnNhQnNhWSIsImNvZ25pdG86dXNlcm5hbWUiOiIyODBkZjk4ZC00MTYyLTRjZDItYWU3NS0xMDZkNmE0YjQ3ZTkiLCJleHAiOjE2NTY0ODY5OTIsImlhdCI6MTY1NjQ4MzM5MiwiZW1haWwiOiJtLm1lbm5lckB0LW9ubGluZS5kZSJ9.DVnuts1sYk31b4GVo6p7NfrUQWHfAJSaIqFKd1VBMGcsJEdINpZAqKltISKVq5eXYFDU368noH_8pL9AqGfdvCPYi97bw0FqWl1cMN-R6guQFWrLCswIah9PSwH_U-lz3v1awEf_LnjbjCto6z65irEALP4J2QWf024bR8rdcFKkkZXrl3zNUu6Hd8moYZoa_fhLxDcHAfg52ilO1EYQrw_0MXqXFA7_tAyX2fO2smfjtlMiQU8EB2_SPdIzKNipg0tBQ575DZ1rAEnZ3wNVwyc3C7rJUPemKBZ-Y9g8mkqltXXx8P5gKBr2pxUE_YLSTKwgj8V7csjCfPfgoRbS1A”,“timestamp”:1656483918634,“userId”:“280df98d-4162-4cd2-ae75-106d6a4b47e9”}”
W | Platform: Platform plugin does not implement deviceSerialNumber and DEVICE_SERIAL is not set. Cannot determine device serial number.
W | AWS: Unhandled subscription received! “ce513f1a-44ff-4c9d-bd38-2eb66e08c51e/device/users” “{“command”:“getUsers”,“id”:3,“timestamp”:1656483920221}”
W | AWS: Unhandled subscription received! “ce513f1a-44ff-4c9d-bd38-2eb66e08c51e/pair” “{“id”:4,“idToken”:“eyJraWQiOiJYUXdsN1NVMFNMR0JRdklUbGlxVUlEM2JKSFwvK1RORENxR2JscUhvUkd2az0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGM3MzcwNy1iNGI3LTRjZjYtYWNjOC1mYzBiODY4YTIzOWEiLCJhdWQiOiIzNWR1bGkwYjEzYzdwZXQ1azRiY3Y4cGJ1IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImV2ZW50X2lkIjoiNmE0M2JlY2MtMDVlNi00YjMxLTk4ZDUtNGJhNjA5Y2M1ZDYyIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2NTY0ODMzOTIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5ldS13ZXN0LTEuYW1hem9uYXdzLmNvbVwvZXUtd2VzdC0xX1daVnNhQnNhWSIsImNvZ25pdG86dXNlcm5hbWUiOiIyODBkZjk4ZC00MTYyLTRjZDItYWU3NS0xMDZkNmE0YjQ3ZTkiLCJleHAiOjE2NTY0ODY5OTIsImlhdCI6MTY1NjQ4MzM5MiwiZW1haWwiOiJtLm1lbm5lckB0LW9ubGluZS5kZSJ9.DVnuts1sYk31b4GVo6p7NfrUQWHfAJSaIqFKd1VBMGcsJEdINpZAqKltISKVq5eXYFDU368noH_8pL9AqGfdvCPYi97bw0FqWl1cMN-R6guQFWrLCswIah9PSwH_U-lz3v1awEf_LnjbjCto6z65irEALP4J2QWf024bR8rdcFKkkZXrl3zNUu6Hd8moYZoa_fhLxDcHAfg52ilO1EYQrw_0MXqXFA7_tAyX2fO2smfjtlMiQU8EB2_SPdIzKNipg0tBQ575DZ1rAEnZ3wNVwyc3C7rJUPemKBZ-Y9g8mkqltXXx8P5gKBr2pxUE_YLSTKwgj8V7csjCfPfgoRbS1A”,“timestamp”:1656483920631,“userId”:“280df98d-4162-4cd2-ae75-106d6a4b47e9”}”
Segmentation fault

I also updated the lib for the remote proxy connection to see if the error is possibly here. But that didn’t solve the problem anyway.

The fixes were in the nymea-plugin-zigbee-tuya and nymea-plugin-zigbee-develco plugins, please upgrade those.

I have upgrade the plugins, but this don’t solved the issue.

Easyupload.io - Upload files for free and transfer big files easily. (here you can find the logs of nymea)

I hope it helps you to locate the error.

Hmm, no, the log doesn’t seem to help much… Are you able to create a crash stack trace perhaps?

  • Install debug symbols with sudo apt-get gdb install libnymea1-dbgsym libnymea-zigbee1-dbgsym nymea-plugin-zigbee-tuya-dbgsym
  • Stop the nymead service with sudo systemctl stop nymead
  • Start gdb with gdb /usr/bin/nymead
  • Once gdb is started, run nymead in there with r -n -p
  • wait for it to crash
  • type t a a bt in gdb to print the stack trace.

Then copy/paste that. It should tell us exactly what happens.

Oh, also, please enable ZigbeeTuya, ZigbeeCluster and ZigbeeNetwork debug prints… That should add enough information to the logs so I may be able to follow the code path with it…

Thread 1 "nymead" received signal SIGSEGV, Segmentation fault.
0xb6599398 in QIODevice::isOpen() const () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
(gdb)  t a a bt

Thread 7 (Thread 0xad138380 (LWP 28175) "QNetworkAccessM"):
#0  __GI___poll (timeout=28588, nfds=11, fds=0xac8031a0) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xac8031a0, nfds=11, timeout=28588) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xaf0ff380 (LWP 27705) "QQmlThread"):
#0  __GI___poll (timeout=-1, nfds=1, fds=0xae703b28) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xae703b28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xafa85380 (LWP 27703) "Thread (pooled)"):
#0  0xb6fb7978 in memcmp () from /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so
#1  0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb07ff380 (LWP 26612) "Qt bearer threa"):
#0  __GI___poll (timeout=9989, nfds=1, fds=0xafe03f40) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xafe03f40, nfds=1, timeout=9989) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xb1159380 (LWP 26603) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xb1158cc8, clockid=<optimized out>, expected=0, futex_word=0x119e54) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0xb1158cc8, clockid=<optimized out>, mutex=0x46edde00, cond=0x119e28) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x119e28, mutex=0x46edde00, abstime=0xb1158cc8) at pthread_cond_wait.c:656
#3  0xb648bed4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#4  0xb6488d3c in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#5  0xb6484cec in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#6  0xb63bd300 in start_thread (arg=0xb1159380) at pthread_create.c:477
#7  0xb618c208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb1d19380 (LWP 24426) "QDBusConnection"):
#0  __GI___poll (timeout=-1, nfds=2, fds=0xb140c6e8) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xb140c6e8, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb1f4a040 (LWP 23574) "nymead"):
#0  0xb6599398 in QIODevice::isOpen() const () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#1  0xb5a99f88 in ZigbeeInterfaceDeconz::onError (this=0xc3c10, error=@0x2d9010: QSerialPort::ResourceError) at backends/deconz/interface/zigbeeinterfacedeconz.cpp:202
#2  0xb66b4570 in QObject::event(QEvent*) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#3  0xb6680c2c in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#4  0xb66840f0 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#5  0xb66e8554 in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#6  0xb436872c in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#7  0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

I repeated one and I got different trace:

Thread 7 (Thread 0xad138380 (LWP 18374) "QNetworkAccessM"):
#0  __GI___poll (timeout=30447, nfds=7, fds=0xac8031a0) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xac8031a0, nfds=7, timeout=30447) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xaf0ff380 (LWP 17957) "QQmlThread"):
#0  __GI___poll (timeout=-1, nfds=1, fds=0xae703b28) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xae703b28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xafa85380 (LWP 17956) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xafa84cc8, clockid=<optimized out>, expected=0, futex_word=0xbe4c8) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0xafa84cc8, clockid=<optimized out>, mutex=0x77, cond=0xbe4a0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0xbe4a0, mutex=0x77, abstime=0xafa84cc8) at pthread_cond_wait.c:656
#3  0xb648bed4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#4  0xb6488d3c in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#5  0xb6484cec in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#6  0xb63bd300 in start_thread (arg=0xafa85380) at pthread_create.c:477
#7  0xb618c208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb07ff380 (LWP 16837) "Qt bearer threa"):
#0  __GI___poll (timeout=9989, nfds=1, fds=0xafe03f40) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xafe03f40, nfds=1, timeout=9989) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xb1159380 (LWP 16799) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xb1158cc8, clockid=<optimized out>, expected=0, futex_word=0x8c554) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0xb1158cc8, clockid=<optimized out>, mutex=0xab79a500, cond=0x8c528) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x8c528, mutex=0xab79a500, abstime=0xb1158cc8) at pthread_cond_wait.c:656
#3  0xb648bed4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#4  0xb6488d3c in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#5  0xb6484cec in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#6  0xb63bd300 in start_thread (arg=0xb1159380) at pthread_create.c:477
#7  0xb618c208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb1d19380 (LWP 15696) "QDBusConnection"):
#0  __GI___poll (timeout=-1, nfds=2, fds=0xb140c6e8) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xb140c6e8, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb4368988 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb1f4a040 (LWP 14966) "nymead"):
#0  0xb5b06c7c in ZigbeeCluster::readAttributes (this=this@entry=0x0, attributes=..., manufacturerCode=manufacturerCode@entry=0) at zcl/zigbeecluster.cpp:107
#1  0xad7e7cf8 in IntegrationPluginZigbeeTuya::pollEnergyMeters (this=0x3d5198) at integrationpluginzigbeetuya.cpp:192
#2  0xb66c0044 in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#3  0xb6cc2074 in nymeaserver::PluginTimerImplementation::tick (this=0x5652d0) at hardware/plugintimermanagerimplementation.cpp:94
#4  nymeaserver::PluginTimerImplementation::tick (this=0x5652d0) at hardware/plugintimermanagerimplementation.cpp:83
#5  0xb66c0044 in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#6  0xb6ca1144 in nymeaserver::TimeManager::timerEvent (this=0xb140e7e8, event=<optimized out>) at time/timemanager.cpp:92
#7  0xb66b4468 in QObject::event(QEvent*) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#8  0xb6680c2c in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#9  0xb66e6b80 in QTimerInfoList::activateTimers() () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#10 0xb66e75b0 in ?? () from /lib/arm-linux-gnueabihf/libQt5Core.so.5
#11 0xb436872c in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#12 0x00000000 in ?? ()

I think the problem is following function:


void IntegrationPluginZigbeeTuya::pollEnergyMeters()
{
    foreach (Thing *thing, myThings().filterByThingClassId(powerSocketThingClassId)) {
        ZigbeeNode *node = nodeForThing(thing);
        ZigbeeNodeEndpoint *endpoint = node->getEndpoint(0x01);
        ZigbeeClusterElectricalMeasurement *electricalMeasurementCluster = endpoint->inputCluster<ZigbeeClusterElectricalMeasurement>(ZigbeeClusterLibrary::ClusterIdElectricalMeasurement);
        electricalMeasurementCluster->readAttributes(
                    {
                        ZigbeeClusterElectricalMeasurement::AttributeACPhaseAMeasurementActivePower,
                        ZigbeeClusterElectricalMeasurement::AttributeACPhaseAMeasurementRMSCurrent,
                        ZigbeeClusterElectricalMeasurement::AttributeACPhaseAMeasurementRMSVoltage
                    });
        ZigbeeClusterMetering *meteringCluster = endpoint->inputCluster<ZigbeeClusterMetering>(ZigbeeClusterLibrary::ClusterIdMetering);
        meteringCluster->readAttributes({ZigbeeClusterMetering::AttributeCurrentSummationDelivered});
    }
}

I have installed power sockets from Shelley.

in the function all power sockets are gone through.

foreach (Thing *thing, myThings().filterByThingClassId(powerSocketThingClassId)) {

But since I don’t have any power sockets from tuya it runs into empty.

I uninstalled the tuya plugin and now the system works again.

After the app is working, I see that the temperature Sensor from tuya ist detected as Power Socket (TS0201_TZ300) . This is a bit strange.

Yes… this is a bug that we’ve fixed in experimental and I hoped that would solve it for you: Tuya: Fix handleNode grabbing too much by mzanetti · Pull Request #24 · nymea/nymea-plugins-zigbee · GitHub

I bought temperature sensor (Tuya Temperature & Humidity Sensor (IH-K009) Zigbee compatibility) from Tuya and tried to add it as a Zigbee device.

This sensor does not follow the Zigbee standard. It is detected once as a power socket and once as an unknown device, see screen shoot. The incorrect recognition as a power socket causes a segmentation fault.

I’m not that familiar with Zigbee, would I need to extend the tuya plugin to use the sensor?

Hey, so the incorrect detection as the power socket was a bug in 1.1. Removing the node from the network and re-joining after upgrading to 1.2 or newer should not make the power socket appear any more.

For actually supporting it, yes, there’s the need to do some little work in nymea-plugin-zigbee-tuya.

How this normally works is that you enable the Zigbee, ZigbeeNetwork and ZigbeeCluster logs and monitor them. Then add the device to the network. This will print the complete Cluster list in the logs (here’s an example output from another device so you know what to look for: I | Zigbee: Node added to ZigbeeNetwork(00:15:8D:00:01:EE:22:EA, {1ef6c932-409f - Pastebin.com) and from there the reverse engineering fun begins. Normally it’s reasonably easy tho, even if a device doesn’t follow the spec because ZigBee only has a very limited set of options how data is transferred… I.e. it will most likely still be a ZigBee cluster (perhaps the wrong one, perhaps a “unknown” one) which sill send the attributeChanged() message whenever the temperature changes. If you’re new to ZigBee, that may sound a bit overwhelming atm, I understand that, but if you post the cluster list of the device here, I’m sure we’ll figure it out together.

Hello.

I do also have similiar problems integrating Tuya Zigbee Sensors into my Nymea Zigbee Network with a Conbee II. In my case it is not temperature sensors but the following:

The first one is a Vibration Sensor. It gets recognised by Nymea but as an unknown device (TS0210 -_TZ3000_bmfw9ykl). Therefore, no thing is created.

The second one is Luminance Motion Sensor. This one also gets detected but as a fire sensor thing (TS0601 - _TZE200_3towulqd), which definitely makes no sense. Therefor, the thing has the wrong attributes and doesn’t react to any motion.

I know those Tuya devices are a little bit tricky … and I really don’t know how much effort it is to fix the Nymea-Zigbee-Tuya-Plugin. It’s probably not the highest priority - I fully understand - but maybe you could still have a look if it can be done quick and dirty or if it’s something bigger.

Attached you can find the logs. Let me know if that’s all you need or if you need something else.

Thanks a lot for having a look!

I | Zigbee: Set permit joining in network ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning) to 120 seconds “0xfffc”
I | ZigbeeNetwork: Set permit join for 120 s on “0xfffc”
I | ZigbeeNetwork: Send permit join request “0xfffc” 120 s
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:38, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::MgmtPermitJoinRequest, NWK address:“0xfffc”, Destination EP:“0x00”, Source EP:“0x00”, Radius:30, QFlagsZigbee::ZigbeeTxOption(), “0x26 0x78 0x01”)
I | ZigbeeNetwork: Permit join request finished successfully
I | Zigbee: Network permit join duration changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” true
I | Zigbee: Network permit join remaining changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” true
I | Zigbee: Network permit joining changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” true
I | ZigbeeNetwork: Set permit join configuration request finished Deconz::StatusCodeSuccess
I | ZigbeeNetwork: Device announced “0xcbdb” “A4:C1:38:3D:09:14:24:B6” “0x80”
I | Zigbee: Node joined the network “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” ZigbeeNode(0xcbdb, A4:C1:38:3D:09:14:24:B6, 0x0000, End device, RxOn:false)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:39, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::NodeDescriptorRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x00 0xdb 0xcb”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:40, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::PowerDescriptorRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x01 0xdb 0xcb”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:41, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::ActiveEndpointsRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x02 0xdb 0xcb”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:42, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::SimpleDescriptorRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x03 0xdb 0xcb 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:43, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdBasic, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x2b 0x00 0x04 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:44, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdBasic, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x2c 0x00 0x05 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:45, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdBasic, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x2d 0x00 0x00 0x40”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:46, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x18 0x02 0x0b 0x00 0x00”)
W | ZigbeeCluster: Attribute status record “0x4000” finished with error ZigbeeClusterLibrary::StatusUnsupportedAttribute
I | ZigbeeNetwork: Add node ZigbeeNode(0xcbdb, A4:C1:38:3D:09:14:24:B6, _TZ3000_bmfw9ykl (0x1141), TS0210, End device, RxOn:false)
I | Zigbee: Node added to ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning) ZigbeeNode(0xcbdb, A4:C1:38:3D:09:14:24:B6, _TZ3000_bmfw9ykl (0x1141), TS0210, End device, RxOn:false)
I | Zigbee: → ZigbeeNode(0xcbdb, A4:C1:38:3D:09:14:24:B6, _TZ3000_bmfw9ykl (0x1141), TS0210, End device, RxOn:false)
I | Zigbee: ZigbeeNodeEndpoint(0x01, Zigbee::ZigbeeProfileHomeAutomation, Zigbee::HomeAutomationDeviceIasZone)
I | Zigbee: Manufacturer: “_TZ3000_bmfw9ykl”
I | Zigbee: Model “TS0210”
I | Zigbee: Input clusters ( 3 )
I | Zigbee: - ZigbeeCluster(0x0500, IasZone, Server)
I | Zigbee: - ZigbeeClusterAttribute(0x0013, ZigbeeDataType(Unsigned 8-bit integer, 0x0a))
I | Zigbee: - ZigbeeClusterAttribute(0x0000, ZigbeeDataType(16-bit bitmap, 0x00 0x00))
I | Zigbee: - ZigbeeCluster(0x0001, PowerConfiguration, Server)
I | Zigbee: - ZigbeeCluster(0x0000, Basic, Server)
I | Zigbee: - ZigbeeClusterAttribute(0x0005, ZigbeeDataType(Character string, TS0210))
I | Zigbee: - ZigbeeClusterAttribute(0x0004, ZigbeeDataType(Character string, _TZ3000_bmfw9ykl))
I | Zigbee: Output clusters ( 2 )
I | Zigbee: - ZigbeeCluster(0x0019, OtaUpgrade, Client)
I | Zigbee: - ZigbeeCluster(0x000a, Time, Client)
I | ZigbeeResource: ZigbeeNode(0xcbdb, A4:C1:38:3D:09:14:24:B6, _TZ3000_bmfw9ykl (0x1141), TS0210, End device, RxOn:false) joined the network ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning)
W | ZigbeeLumi: Unhandled Lumi device: “TS0210”
I | ZigbeeGeneric: IAS Zone device found!
I | ZigbeeResource: Node ZigbeeNode(0xcbdb, A4:C1:38:3D:09:14:24:B6, _TZ3000_bmfw9ykl (0x1141), TS0210, End device, RxOn:false) taken by handler “Generic”
W | ZigbeeCluster: Attribute status record “0x4000” finished with error ZigbeeClusterLibrary::StatusUnsupportedAttribute
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:47, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::BindRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x04 0xb6 0x24 0x14 0x09 0x3d 0x38 0xc1 0xa4 0x01 0x01 0x00 0x03 0x40 0xc5 0x06 0xff 0xff 0x2e 0x21 0x00 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:48, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdPowerConfiguration, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x2e 0x06 0x00 0x21 0x00 0x20 0x3c 0x00 0x78 0x00 0x01 0x00 0x3e 0x00 0x20 0x3c 0x00 0x78 0x00 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:49, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x2f 0x00 0x01 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:50, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::MgmtBindRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x05 0x00”)
W | ZigbeeGeneric: Unhandled IAS Zone device type: “0x2d”
I | ZigbeeNetwork: Binding table reply from “0xcbdb” “0500020002b62414093d38c1a40101000340c506ffff2e210001b62414093d38c1a40100050340c506ffff2e210001”
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:51, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::BindRequest, NWK address:“0xcbdb”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x06 0xb6 0x24 0x14 0x09 0x3d 0x38 0xc1 0xa4 0x01 0x00 0x05 0x03 0x40 0xc5 0x06 0xff 0xff 0x2e 0x21 0x00 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:52, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x18 0x04 0x0b 0x00 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:53, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x30 0x06 0x00 0x02 0x00 0x19 0x2c 0x01 0x8c 0x0a 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:54, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x31 0x02 0x10 0x00 0xf0 0x40 0xc5 0x06 0xff 0xff 0x2e 0x21 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:55, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x01 0x32 0x00 0x00 0x42”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:56, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xcbdb”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x18 0x06 0x0b 0x00 0x00”)
I | Zigbee: Set permit joining in network ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning) to 254 seconds “0xfffc”
I | ZigbeeNetwork: Set permit join for 254 s on “0xfffc”
I | ZigbeeNetwork: Send permit join request “0xfffc” 254 s
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:74, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::MgmtPermitJoinRequest, NWK address:“0xfffc”, Destination EP:“0x00”, Source EP:“0x00”, Radius:30, QFlagsZigbee::ZigbeeTxOption(), “0x4a 0xfe 0x01”)
I | ZigbeeNetwork: Permit join request finished successfully
I | Zigbee: Network permit join duration changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” true
I | Zigbee: Network permit join remaining changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” true
I | ZigbeeNetwork: Set permit join configuration request finished Deconz::StatusCodeSuccess
W | ZigbeeNetwork: Received a ZCL indication from an unrecognized node. Checking IEEE address for this node APSDE-DATA.indication(NWK address:“0x0000”, Destination EP:“0x01”, Source EP:“0x01”, Source NWK address:“0x0cc5”, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterId(61184), ASDU: “0x09 0x42 0x02 0x00 0x03 0x01 0x04 0x00 0x01 0x00”, LQI: 255, RSSI: -41dBm)
I | ZigbeeNetwork: Start verify process for unrecognized node ZigbeeNode(0x0cc5, 00:00:00:00:00:00:00:00, 0x0000, End device, RxOn:false)
I | ZigbeeNetwork: Request IEEE address from unrecognized node ZigbeeNode(0x0cc5, 00:00:00:00:00:00:00:00, 0x0000, End device, RxOn:false)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:75, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::IeeeAddressRequest, NWK address:“0x0cc5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x00 0xc5 0x0c 0x00 0x00”)
W | ZigbeeNetwork: Could not find any node with IEEE address “A4:C1:38:89:B5:EA:3D:31” Requesting node to leave the network “0x0cc5”
I | ZigbeeNetwork: Request unrecognized ZigbeeNode(0x0cc5, A4:C1:38:89:B5:EA:3D:31, 0x0000, End device, RxOn:false) to leave the newtork
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:76, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::MgmtLeaveRequest, NWK address:“0x0cc5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x01 0x31 0x3d 0xea 0xb5 0x89 0x38 0xc1 0xa4 0x00”)
I | ZigbeeNetwork: Removed unrecognized node successfully from the network ZigbeeNode(0x0cc5, A4:C1:38:89:B5:EA:3D:31, 0x0000, End device, RxOn:false)
I | ZigbeeNetwork: Device announced “0xe1e5” “A4:C1:38:89:B5:EA:3D:31” “0x80”
I | Zigbee: Node joined the network “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” ZigbeeNode(0xe1e5, A4:C1:38:89:B5:EA:3D:31, 0x0000, End device, RxOn:false)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:77, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::NodeDescriptorRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x00 0xe5 0xe1”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:78, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::PowerDescriptorRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x01 0xe5 0xe1”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:79, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::ActiveEndpointsRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x02 0xe5 0xe1”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:80, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::SimpleDescriptorRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x03 0xe5 0xe1 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:81, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdBasic, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x33 0x00 0x04 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:82, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdBasic, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x34 0x00 0x05 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:83, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdBasic, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x35 0x00 0x00 0x40”)
W | ZigbeeCluster: Attribute status record “0x4000” finished with error ZigbeeClusterLibrary::StatusUnsupportedAttribute
I | ZigbeeNetwork: Add node ZigbeeNode(0xe1e5, A4:C1:38:89:B5:EA:3D:31, _TZE200_3towulqd (0x1141), TS0601, End device, RxOn:false)
I | Zigbee: Node added to ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning) ZigbeeNode(0xe1e5, A4:C1:38:89:B5:EA:3D:31, _TZE200_3towulqd (0x1141), TS0601, End device, RxOn:false)
I | Zigbee: → ZigbeeNode(0xe1e5, A4:C1:38:89:B5:EA:3D:31, _TZE200_3towulqd (0x1141), TS0601, End device, RxOn:false)
I | Zigbee: ZigbeeNodeEndpoint(0x01, Zigbee::ZigbeeProfileHomeAutomation, Zigbee::HomeAutomationDeviceIasZone)
I | Zigbee: Manufacturer: “_TZE200_3towulqd”
I | Zigbee: Model “TS0601”
I | Zigbee: Input clusters ( 4 )
I | Zigbee: - ZigbeeCluster(0x0500, IasZone, Server)
I | Zigbee: - ZigbeeCluster(0xef00, Unknown, Server)
I | Zigbee: - ZigbeeCluster(0x0001, PowerConfiguration, Server)
I | Zigbee: - ZigbeeCluster(0x0000, Basic, Server)
I | Zigbee: - ZigbeeClusterAttribute(0x0005, ZigbeeDataType(Character string, TS0601))
I | Zigbee: - ZigbeeClusterAttribute(0x0004, ZigbeeDataType(Character string, _TZE200_3towulqd))
I | Zigbee: Output clusters ( 2 )
I | Zigbee: - ZigbeeCluster(0x0019, OtaUpgrade, Client)
I | Zigbee: - ZigbeeCluster(0x000a, Time, Client)
I | ZigbeeResource: ZigbeeNode(0xe1e5, A4:C1:38:89:B5:EA:3D:31, _TZE200_3towulqd (0x1141), TS0601, End device, RxOn:false) joined the network ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning)
W | ZigbeeLumi: Unhandled Lumi device: “TS0601”
I | ZigbeeGeneric: IAS Zone device found!
I | ZigbeeResource: Node ZigbeeNode(0xe1e5, A4:C1:38:89:B5:EA:3D:31, _TZE200_3towulqd (0x1141), TS0601, End device, RxOn:false) taken by handler “Generic”
W | ZigbeeCluster: Attribute status record “0x4000” finished with error ZigbeeClusterLibrary::StatusUnsupportedAttribute
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:84, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::BindRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x04 0x31 0x3d 0xea 0xb5 0x89 0x38 0xc1 0xa4 0x01 0x01 0x00 0x03 0x40 0xc5 0x06 0xff 0xff 0x2e 0x21 0x00 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:85, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdPowerConfiguration, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x36 0x06 0x00 0x21 0x00 0x20 0x3c 0x00 0x78 0x00 0x01 0x00 0x3e 0x00 0x20 0x3c 0x00 0x78 0x00 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:86, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x37 0x00 0x01 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:87, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::MgmtBindRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x05 0x00”)
I | ZigbeeGeneric: Fire sensor thing
I | ZigbeeNetwork: Binding table reply from “0xe1e5” “0500010001313deab58938c1a40101000340c506ffff2e210001”
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:88, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::BindRequest, NWK address:“0xe1e5”, Destination EP:“0x00”, Source EP:“0x00”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x06 0x31 0x3d 0xea 0xb5 0x89 0x38 0xc1 0xa4 0x01 0x00 0x05 0x03 0x40 0xc5 0x06 0xff 0xff 0x2e 0x21 0x00 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:89, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x38 0x06 0x00 0x02 0x00 0x19 0x2c 0x01 0x8c 0x0a 0x01”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:90, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x10 0x39 0x02 0x10 0x00 0xf0 0x40 0xc5 0x06 0xff 0xff 0x2e 0x21 0x00”)
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:91, Zigbee::ZigbeeProfileHomeAutomation, ZigbeeClusterLibrary::ClusterIdIasZone, NWK address:“0xe1e5”, Destination EP:“0x01”, Source EP:“0x01”, Radius:0, QFlagsZigbee::ZigbeeTxOption(ZigbeeTxOptionAckTransmission), “0x01 0x3a 0x00 0x00 0x42”)
I | Zigbee: Set permit joining in network ZigbeeNetwork(00:21:2E:FF:FF:06:C5:40, {0bc1c632-5364-4cce-96ed-9ab4d7feb35c}, Zigbee::ZigbeeBackendTypeDeconz, Channel: 15, ZigbeeNetwork::StateRunning) to 0 seconds “0xfffc”
I | ZigbeeNetwork: Disable permit join on “0xfffc”
I | ZigbeeNetwork: Send permit join request “0xfffc” 0 s
I | ZigbeeNetwork: Network request sent successfully to device Request(ID:92, Zigbee::ZigbeeProfileDevice, ZigbeeDeviceProfile::MgmtPermitJoinRequest, NWK address:“0xfffc”, Destination EP:“0x00”, Source EP:“0x00”, Radius:30, QFlagsZigbee::ZigbeeTxOption(), “0x5c 0x00 0x01”)
I | ZigbeeNetwork: Permit join request finished successfully
I | Zigbee: Network permit join duration changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” false
I | Zigbee: Network permit join remaining changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” false
I | Zigbee: Network permit joining changed “{0bc1c632-5364-4cce-96ed-9ab4d7feb35c}” false
I | ZigbeeNetwork: Set permit join configuration request finished Deconz::StatusCodeSuccess

@plasmediaX, both of those should be supported with the next experimental build. Please give them a test and report back if everything works as expected.

@mzanetti
Good Morning,
both of the devices are now recognized correctly as vibration and presence sensor.
The vibration sensor thing is not under sensors but can be found under uncategorized.
It seems like once a vibration is detected, the Vibration detected event shortly flashes green, what would be correct. but it is not possible to see it under protocols or to select the vibration detected event via magic. Here you only have access to the states.

The presence sensor looks good at a first glance but does not react to any kind of movement or light.

I will send you the logs via pm.

Thanks for your help.