# Ubisys S1 is falsely shown as a plug

**URL:** <https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339>\
**Category:** Bug reports\
**Created:** [December 18, 2023, 4:29pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339 "2023-12-18T16:29:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jensflorian](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jensflorian/32/1214_2.png) [@jensflorian](https://forum.phoscon.de/u/jensflorian)\
**Post date:** [December 18, 2023, 4:29pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/1 "2023-12-18T16:29:45Z")

</div>

The in-wall switch Ubisys S1 (5501) is incorrectly shown in phoscon as plug, while all Ubisys S2 and S2-R devices are correctly assigned as lights (however both are labelled the same as “Leistungsschalter S2”).

---

<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:** [December 18, 2023, 4:38pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/2 "2023-12-18T16:38:09Z")

</div>

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

---

<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:** [December 19, 2023, 7:14am UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/3 "2023-12-19T07:14:13Z")

</div>

Indeed, it is incorrectly shown as a plug because of its model type “plugin\_unit”…  
I’ll fix that.

Or perhaps the DDF needs to be fixed…? The S2 switches have type “on\_off\_output”

so what is correct?

Solution: The type “on\_off\_plugin\_unit” is wrong. I’m fixing the DDF. So in one of the next deCONZ versions, when you pair the switch again it should be displayed correctly in the Phoscon App.

---

<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:** [December 19, 2023, 2:13pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/4 "2023-12-19T14:13:55Z")

</div>

Hi Chris,

Would you be able to provide the info somewhere on the wiki on how Phoscon works with this? Just so this can be taken into account with development on deCONZ side.

Thanks 🙂

---

<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:** [December 19, 2023, 2:32pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/5 "2023-12-19T14:32:10Z")

</div>

It’s just that Phoscon handles every device with the type “SMART\_PLUG” which is common for Aqara smart plugs and “…PLUGIN\_UNIT” which is e.g. the case on Tuya devices as smart plugs.

I think it is the wrong type for a switch. And other ubisys switch also have the correct type “…OUTPUT”

So essentially there is nothing more to account for then setting the correct device type in the DDF.

---

<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:** [December 19, 2023, 2:39pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/6 "2023-12-19T14:39:48Z")

</div>

But it would be nice to have these things documented 😉

---

<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:** [December 19, 2023, 2:51pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/7 "2023-12-19T14:51:08Z")

</div>

Can you give me a link where I can write somethink?

---

<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:** [December 19, 2023, 3:23pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/8 "2023-12-19T15:23:53Z")

</div>

> **[Home](https://github.com/dresden-elektronik/deconz-rest-plugin/wiki)**
>
> deCONZ REST-API plugin to control ZigBee devices. Contribute to dresden-elektronik/deconz-rest-plugin development by creating an account on GitHub.

Feel free to create a page and add it to the index 🙂

---

<div class="post-metadata">

**Author:** ![jensflorian](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jensflorian/32/1214_2.png) [@jensflorian](https://forum.phoscon.de/u/jensflorian)\
**Post date:** [December 19, 2023, 4:16pm UTC](https://forum.phoscon.de/t/ubisys-s1-is-falsely-shown-as-a-plug/4339/9 "2023-12-19T16:16:14Z")

</div>

Yes it’s an on\_off\_output.
