# Unable to open sensor details of Tuya \_TZ3000\_fllyghyj

**URL:** <https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038>\
**Category:** Bug reports\
**Created:** [May 28, 2022, 10:05am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038 "2022-05-28T10:05:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![shoving](https://forum.phoscon.de/user_avatar/forum.phoscon.de/shoving/32/1893_2.png) [@shoving](https://forum.phoscon.de/u/shoving)\
**Post date:** [May 28, 2022, 10:05am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/1 "2022-05-28T10:05:23Z")

</div>

Device: Tuya \_TZ3000\_fllyghyj  
Platform: Rpi4 8gb with RaspBee II  
Version: 2.16.01 / 4/21/2022

So I recently bought a Tuya temperature and humidity sensor. And it has one of the most interesting name “\_TZ3000\_fllyghyj”. I had some issues connecting it but after some googling and experimenting I figured it out and it now shows in deCONZ and in the Phoscon App.

When I opened the sensor page it showed the entry but did not have a icon. And when I tried to open the sensor details to change the device its name it did not do anything. All I got was a javascript error in the DevTools console.

Being a programmer myself I checked if I could fix it myself. So the problem is that the device does not have an icon. Because it did not have an icon the device details page failed to show.

So I ssh’ed into my rpi and edited the device-sensors.js and I changed

```auto
html = html.replace("{icon}", sg.clone().outerSVG());

```

into

```auto
if (sg !== null)
{
    html = html.replace("{icon}", sg.clone().outerSVG());
}

```

restarted deCONZ and refreshed the webapp and voilà (and there you have it) it worked. I can now rename the device and it show the device details (although limited).

So the technical side:  
There is a dependency between the device icon and opening the device details. Why there is not an icon in the first place I have not investigated and I leave that up to you guys. Having such a dependency makes the webapp bridle (easy to break).

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [May 28, 2022, 10:35am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/2 "2022-05-28T10:35:30Z")

</div>

Ha nice, can be usefull for phoscon dev ^^.  
And BTW about phoscon, there is some new features planned ? Long time we haven’t new about it.

---

<div class="post-metadata">

**Author:** ![michaelblight](https://forum.phoscon.de/user_avatar/forum.phoscon.de/michaelblight/32/2159_2.png) [@michaelblight](https://forum.phoscon.de/u/michaelblight)\
**Post date:** [July 22, 2022, 3:35am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/3 "2022-07-22T03:35:46Z")

</div>

Same issue here with the same device. I’m using the Home Assistant add-on v6.15.0 (deCONZ 2.17.1), which has the `devices-sensors.js` somewhat minified, so it’s difficult to edit.

---

<div class="post-metadata">

**Author:** ![shoving](https://forum.phoscon.de/user_avatar/forum.phoscon.de/shoving/32/1893_2.png) [@shoving](https://forum.phoscon.de/u/shoving)\
**Post date:** [July 22, 2022, 10:29am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/4 "2022-07-22T10:29:42Z")

</div>

@michaelblight what I did was take the minified javascript. And run it through a un-minifier online service like [https://unminify.com](https://unminify.com) and then patch that. And overwrite the un-minified javascript file. But before you blindly overwrite it, I advice you to create a backup of the file.

---

<div class="post-metadata">

**Author:** ![cbrightly](https://forum.phoscon.de/user_avatar/forum.phoscon.de/cbrightly/32/2183_2.png) [@cbrightly](https://forum.phoscon.de/u/cbrightly)\
**Post date:** [July 30, 2022, 8:41pm UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/5 "2022-07-30T20:41:42Z")

</div>

I am also having the issue you described. Is it possible for you to post a copy of the modified devices-sensors.js file? As mentioned, there is some room for error with the minified file etc. and I would like to ensure I don’t foul it up by trying to fix it!

I wonder if the developers are looking into patching this in an upcoming release; end users shouldn’t have to fiddle around with the web app source to use their sensors…

---

<div class="post-metadata">

**Author:** ![cbrightly](https://forum.phoscon.de/user_avatar/forum.phoscon.de/cbrightly/32/2183_2.png) [@cbrightly](https://forum.phoscon.de/u/cbrightly)\
**Post date:** [August 21, 2022, 6:33am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/6 "2022-08-21T06:33:00Z")

</div>

Dear [@Developer](https://forum.phoscon.de/groups/developer),  
pinging you to check status of this  
Much love,  
The End Users

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [August 21, 2022, 6:54am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/7 "2022-08-21T06:54:52Z")

</div>

You mean [@de\_employees](https://forum.phoscon.de/groups/de_employees).

---

<div class="post-metadata">

**Author:** ![cbrightly](https://forum.phoscon.de/user_avatar/forum.phoscon.de/cbrightly/32/2183_2.png) [@cbrightly](https://forum.phoscon.de/u/cbrightly)\
**Post date:** [August 21, 2022, 5:25pm UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/8 "2022-08-21T17:25:38Z")

</div>

I was unaware of that users existence. Many thanks for your (as well as any possible future) reply!

---

<div class="post-metadata">

**Author:** ![ChrisHae](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/c/e5b9ba/32.png) [@ChrisHae](https://forum.phoscon.de/u/ChrisHae)\
**Post date:** [August 24, 2022, 7:42am UTC](https://forum.phoscon.de/t/unable-to-open-sensor-details-of-tuya-tz3000-fllyghyj/2038/9 "2022-08-24T07:42:06Z")

</div>

The fix will be in the next beta release.
