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.) 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
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.
1 Like
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
I’m fairly new to DIYHue, can you explain how to add dummy lights?
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.
From the web interface go to lights and click on the + sign.
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.
Hi, you want to use samsung smartthings? you cannot use samsung smartthings with diyhue. smartthings requires a philips cloud account.
The diyHue is showing up just fine in Smartthings, and so are any devices that are connected to DiyHue.
(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.
And how is that service called?
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
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?
Try adding a wiz device with ip 172.0.0.1
This is what you wanted?
Im doing some more test to make this reliable and have minimal impact.
This weekend it wil be ready.
Sorry, I haven’t had a chance to try it, and will have some time later next week.
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.