# Problem with Sonoff Zigbee Tasmota Flash Device

**URL:** <https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518>\
**Category:** Dashboard\
**Created:** [21 January 2021 22:06 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518 "2021-01-21T22:06:16Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Markus667](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@Markus667](https://discourse.nodered.org/u/Markus667)\
**Post date:** [23 January 2021 12:19 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/22 "2021-01-23T12:19:25Z")

</div>

You are right.  
So I changed the following:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/e/5ef0c971ef09a62ab863ad3b1bd971573b6f3fd9.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb6c29ae7fd1b91a3bc7cb6d2c0bab4c99faca03.png)

And I think this is working well.

---

<div class="post-metadata">

**Author:** ![Markus667](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@Markus667](https://discourse.nodered.org/u/Markus667)\
**Post date:** [23 January 2021 12:20 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/23 "2021-01-23T12:20:23Z")

</div>

The change Node is:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/5/5590df8ae079627ca6c3bbcc634696f21993f267.png)

so it reports only the value

---

<div class="post-metadata">

**Author:** ![Markus667](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@Markus667](https://discourse.nodered.org/u/Markus667)\
**Post date:** [23 January 2021 12:33 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/24 "2021-01-23T12:33:27Z")

</div>

Now the gauges are showing the Right value every time.  
Cool THX a lot.

But when I connect another Sensor with the same Nodes and customized code I got an other Error and the new gauges are showing 0

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/b/2bd723a4bee58ef6705f8ba3d5d5f86628c64bcd.png)

"TypeError: Cannot read property 'hasOwnProperty' of undefined"  
Is it necessary to connect the 2nd switch to another Mqtt in Node or JSON node ?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 January 2021 12:43 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/25 "2021-01-23T12:43:00Z")

</div>

> Is it necessary to connect the 2nd switch to another Mqtt in Node or JSON node ?

No.

How are your debug nodes configured ? Set them to "complete msg object".  
What data arrives at the switch node that you get an error ?

---

<div class="post-metadata">

**Author:** ![Markus667](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@Markus667](https://discourse.nodered.org/u/Markus667)\
**Post date:** [23 January 2021 12:48 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/26 "2021-01-23T12:48:40Z")

</div>

{"topic":"tele/tasmota\_zigbee-1/SENSOR","payload":{"ZbReceived":{"ZTempWohnzimmer":{"Device":"0x1EA1","Name":"ZTempWohnzimmer","Temperature":24.39,"Endpoint":1,"LinkQuality":63}}},"qos":0,"retain":false,"\_topic":"tele/tasmota\_zigbee-1/SENSOR","\_msgid":"518495d1.38e3cc"}

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [23 January 2021 13:08 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/27 "2021-01-23T13:08:38Z")

</div>

You need an additional `switch-node` after mqtt-in/json to select your device.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 January 2021 13:54 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/28 "2021-01-23T13:54:03Z")

</div>

You are only showing a single message, while you receive multiple. And this is a different device.

---

<div class="post-metadata">

**Author:** ![Markus667](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@Markus667](https://discourse.nodered.org/u/Markus667)\
**Post date:** [23 January 2021 22:23 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/29 "2021-01-23T22:23:48Z")

</div>

I got everything working with the hint of an additional switch-node.  
Perfect THX a lot to all who thought about my problem.

---

<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 February 2021 22:24 UTC](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518/30 "2021-02-22T22:24:40Z")

</div>

Closed on 22 February 2021 22:24 UTC

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

[Previous page](https://discourse.nodered.org/t/problem-with-sonoff-zigbee-tasmota-flash-device/39518.md?page=1)
