# Beginners question: does diyHue also support "SW-devices"

**URL:** <https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409>\
**Category:** Support\
**Created:** [January 3, 2022, 7:13pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409 "2022-01-03T19:13:49Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernie\_68](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/bernie_68/32/208_2.png) [@Bernie\_68](https://diyhue.discourse.group/u/Bernie_68)\
**Post date:** [January 3, 2022, 7:13pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/1 "2022-01-03T19:13:49Z")

</div>

Hello All,  
I’m new to diyHue but very delighted that I found this place!

If my question is missplaced, pls correct!

I’m using so far HA-Bridge ([GitHub - bwssytems/ha-bridge: Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.](https://github.com/bwssytems/ha-bridge)) which is a Software Implementation running on a RPI Zero in my case to extend my SmartHome environment provided by Deutsche Telekom. HA-Bridge connects to my smart home pretending to be Hue-Bridge. In HA-Bridge I’ve written simple Python scripts which are exposed as Hue-lights to my SmartHome environment through HA-Bridge.

Is it possible to sumply use a Python Script and define it as a Hue-light with diyHue?

I’m looking forward to your feedback.

Best regards

Bernhard

---

<div class="post-metadata">

**Author:** ![mariusmotea](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/mariusmotea/32/13_2.png) [@mariusmotea](https://diyhue.discourse.group/u/mariusmotea)\
**Post date:** [January 10, 2022, 9:39am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/2 "2022-01-10T09:39:54Z")

</div>

I’m not sure that i understand correctly the goal you try to achieve. In DiyHue you can create dummy lights and control them using REST HUE api, but you can also import all the lights from HA-Bridge if this replicate a Hue Bridge by pairing it in DiyHue like an original bridge.

---

<div class="post-metadata">

**Author:** ![Bernie\_68](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/bernie_68/32/208_2.png) [@Bernie\_68](https://diyhue.discourse.group/u/Bernie_68)\
**Post date:** [October 15, 2022, 2:19pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/3 "2022-10-15T14:19:17Z")

</div>

Hi everyone,  
a couple of months later I come back to diyHue for the following reason and with the following question:

Reason:  
I’ve implemented ways to control floor heating and blinders in my house with the usage of shellys which are controled by HA-Bridge as lights and integrated with my main homeautomation system from Deutsche Telekom (Magenta Smarthome = MSH).

HA-Bridge is somewhat outdated and it seems there is now update to current requirements. HA-Bridge has only implemented Hue API V1 (V1.17.0) and as of Aug 15 MSH has stopped supporting Hue API V1 all my integrations between shellys and the physics controlled by the shellys (floor heating & blinds) on one hand and MSH on the other hand are broken.

Here comes my question:  
Can I connect HA-Bridge which only emulates a Hue bridge running Hue API V1 to diyHUE and use diyHue as a kind of proxy offfering a Hue API V2?

If yes i could connect my HA-Brdige (running Hue API V1) to diyHUE (running Hue APi V2) and connect diyHUE with the connected HA-Brdige to MSH. What do you think, could that work?

I’m looking forward to your feedback!

Best regards

Bernhard

---

<div class="post-metadata">

**Author:** ![TylerDurden](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TylerDurden](https://diyhue.discourse.group/u/TylerDurden)\
**Post date:** [November 17, 2024, 11:24pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/4 "2024-11-17T23:24:10Z")

</div>

I’m fairly new to DIYHue, can you explain how to add dummy lights?

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 18, 2024, 4:01am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/5 "2024-11-18T04:01:24Z")

</div>

Hi, in the webui go to lights and on the top you see a button add light, if you press this a popup appears, now you can add a light with fake configs, the light will have a label offline but you can interact with it. Not sure why you want this? Because it is also easy to make a diyhue light with esp8266 and have a real light to test with.

---

<div class="post-metadata">

**Author:** ![mariusmotea](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/mariusmotea/32/13_2.png) [@mariusmotea](https://diyhue.discourse.group/u/mariusmotea)\
**Post date:** [November 18, 2024, 7:13am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/6 "2024-11-18T07:13:51Z")

</div>

From the web interface go to lights and click on the + sign.

---

<div class="post-metadata">

**Author:** ![TylerDurden](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TylerDurden](https://diyhue.discourse.group/u/TylerDurden)\
**Post date:** [November 25, 2024, 1:08am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/8 "2024-11-25T01:08:37Z")

</div>

Maybe this doesn’t accomplish my goal…

I will explain the problem I am trying to solve using DIYHue…

I have a Logitech Harmony Hub that can (could) control SmartThings devices. However, this integration stopped working and it is an issue between the SmartThings and Harmony platforms that will likely never be fixed.

Harmony will still work worth Hue.l, and Smartthings works with Hue. I do not own any Hue devices and am not trying to control any. What I want to do, if possible, is create some virtual on/off lights on the DIYHue hub. I want to be able to expose these lights to my Harmony hub and my Smartthings hub. I think this much can be accomplished just adding a light with a “bad” ip address. However, I need DIYHue to be able to toggle and retain the state of this light so that both Smartthings and Harmony can see when it changes and can control the state. I can then set up rules in my Smartthings that controls devices based on the state of these lights that were controlled by my Harmony hub. Essentially, I want DIYHue to act as a “man in the middle” to communicate between Harmony and Smartthings.

Perhaps I need to define my own light type(?) so that it can change/track the light state without sending network commands to a physical device? If so, I would appreciate being pointed in the right direction to do that.

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 25, 2024, 1:29am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/9 "2024-11-25T01:29:14Z")

</div>

Hi, you want to use samsung smartthings? you cannot use samsung smartthings with diyhue. smartthings requires a philips cloud account.

---

<div class="post-metadata">

**Author:** ![TylerDurden](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TylerDurden](https://diyhue.discourse.group/u/TylerDurden)\
**Post date:** [November 25, 2024, 3:54am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/10 "2024-11-25T03:54:51Z")

</div>

The diyHue is showing up just fine in Smartthings, and so are any devices that are connected to DiyHue.

 ![Screenshot_20241124_231436_SmartThings](https://global.discourse-cdn.com/free1/uploads/diyhue/original/1X/18d8e130fce1026cbb81ffb5890a285e67269e6e.jpeg)

(There is a driver available for Smartthings that can do local connection to Hue bridges.)

Unfortunately, since the dummy light (Test) shows offline in Smartthings, it can’t act as a man in the middle for integration purposes.

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 25, 2024, 6:57am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/11 "2024-11-25T06:57:17Z")

</div>

And how is that service called?

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 25, 2024, 11:29am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/12 "2024-11-25T11:29:19Z")

</div>

I did some research and harmony and smartthings do not work together, its a fault of harmony, they dont have there stuff together.  
I found a thread with a posible solution. [[EDGE DEVICE] Simple Harmony Bridge \*\*Alpha Testing\*\* - Community Created Device Types - SmartThings Community](https://community.smartthings.com/t/edge-device-simple-harmony-bridge-alpha-testing/237389)

---

<div class="post-metadata">

**Author:** ![TylerDurden](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TylerDurden](https://diyhue.discourse.group/u/TylerDurden)\
**Post date:** [November 25, 2024, 5:50pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/13 "2024-11-25T17:50:16Z")

</div>

Yes. I know about the harmony/smartthings integration issue. I mentioned it in my post. I’m trying to use diyHue to work around this issue. I just need to know if I can add a virtual light to the diyHue bridge. All this light would need to do is keep track of and controll an off/on state, it would not actually control a physical device.

It looks like I would need to add a new protocol py script to the diyhue code that sets the on/off state without sending any network request to a device?

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 25, 2024, 7:04pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/14 "2024-11-25T19:04:36Z")

</div>

Try adding a wiz device with ip 172.0.0.1

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 25, 2024, 7:41pm UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/15 "2024-11-25T19:41:41Z")

</div>

you want something like this. [diyHue/BridgeEmulator/lights/protocols/dummy.py at 3ee18bfee2061f081ba3ca90836769bddda05043 · hendriksen-mark/diyHue · GitHub](https://github.com/hendriksen-mark/diyHue/blob/3ee18bfee2061f081ba3ca90836769bddda05043/BridgeEmulator/lights/protocols/dummy.py)

 ![Scherm­afbeelding 2024-11-25 om 20.44.53](https://global.discourse-cdn.com/free1/uploads/diyhue/original/1X/b85b5495efb8f8080496375518d24269f8b03573.png)

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [November 28, 2024, 8:37am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/16 "2024-11-28T08:37:46Z")

</div>

This is what you wanted?  
Im doing some more test to make this reliable and have minimal impact.  
This weekend it wil be ready.

---

<div class="post-metadata">

**Author:** ![TylerDurden](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@TylerDurden](https://diyhue.discourse.group/u/TylerDurden)\
**Post date:** [November 30, 2024, 12:37am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/17 "2024-11-30T00:37:28Z")

</div>

Sorry, I haven’t had a chance to try it, and will have some time later next week.

---

<div class="post-metadata">

**Author:** ![hendriksen-mark](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/hendriksen-mark/32/384_2.png) [@hendriksen-mark](https://diyhue.discourse.group/u/hendriksen-mark)\
**Post date:** [December 1, 2024, 11:05am UTC](https://diyhue.discourse.group/t/beginners-question-does-diyhue-also-support-sw-devices/409/18 "2024-12-01T11:05:13Z")

</div>

New version is online, go to webui\> lights\> add light\> protocol\> dummy. Set the name to something you want and ip to dummy and choose a light type.
