# Deconz node doesn't work

**URL:** https://discourse.nodered.org/t/deconz-node-doesnt-work/22064
**Category:** General
**Created:** [21 February 2020 16:13 UTC](https://discourse.nodered.org/t/deconz-node-doesnt-work/22064 "2020-02-21T16:13:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kanke](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kanke](https://discourse.nodered.org/u/kanke)
#### Post date: [21 February 2020 16:13 UTC](https://discourse.nodered.org/t/deconz-node-doesnt-work/22064/1 "2020-02-21T16:13:15Z")

</div>

using node-red-contrib-deconz

when using "event" node, when a button pressed, there is event like below (from debug)

```auto
2/21/2020, 7:20:47 AMnode: 9cd52f74.75e94
msg.payload : Object
object
e: "changed"
id: "3"
r: "sensors"
state: object
buttonevent: 1000
lastupdated: "2020-02-21T13:20:47"
t: "event"
uniqueid: "00:15:8d:00:03:45:79:e7-01-0006"
2/21/2020, 7:20:47 AMnode: 9cd52f74.75e94
msg.payload : Object
object
e: "changed"
id: "3"
r: "sensors"
state: object
buttonevent: 1001
lastupdated: "2020-02-21T13:20:47"
t: "event"
uniqueid: "00:15:8d:00:03:45:79:e7-01-0006"

```

I don't see the name that I set on deconz web interface, is there anything else I need set to get the name? or I just need to use the uniqueid to identify it?  
The button is xiaomi button, it shows as "sensors", is it correct?

When using "get" node, the "device" field didn't show anything. I did deploy it multiple times, still no device show up.

Thanks for the help!

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [21 February 2020 16:29 UTC](https://discourse.nodered.org/t/deconz-node-doesnt-work/22064/2 "2020-02-21T16:29:17Z")

</div>

> [@kanke](#):
>
> I don't see the name that I set on deconz web interface, is there anything else I need set to get the name? or I just need to use the uniqueid to identify it?

The `id` property is referring to the device, but so is the `uniqueid`. You can use either. I haven't worked out a way to use the name either, but my names so far have been temporarily as I'm preparing a physical move (as rooms and such will be changed)

---

<div class="post-metadata">

### Author: ![kanke](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kanke](https://discourse.nodered.org/u/kanke)
#### Post date: [22 February 2020 00:14 UTC](https://discourse.nodered.org/t/deconz-node-doesnt-work/22064/3 "2020-02-22T00:14:31Z")

</div>

will id or uniqueid change if the device is removed and added again?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [22 February 2020 00:27 UTC](https://discourse.nodered.org/t/deconz-node-doesnt-work/22064/4 "2020-02-22T00:27:56Z")

</div>

Sounds like something you could/should test.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [22 April 2020 00:28 UTC](https://discourse.nodered.org/t/deconz-node-doesnt-work/22064/5 "2020-04-22T00:28:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
