-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect diyHue with SleepCycle app #981
Comments
Hi, From what i know SSDP traffic cannot be forwarded to docker network, so to have it working you need to use host network mode instead to manually specify the binding ports. |
Ah, thanks for the information. I will try to install diyHue in host mode and and I'll let you know if it works. I have made some progress, but unfortunately I have not been able to solve my problem conclusively. |
Any updates on this? I have the same problem. |
Unfortunately not. I don't know what's the problem, that diyHue is not found by Sleep Cycle but the Philips hue bridge is. I would love to solve the issue. I have such cool automations in mind. Currently SleepCycle only supporting Apple Home scenes when you turn off the alarm, not at the first time, when the wake up window starts. I was trying to solve this by using DiyHue as a light but trigger some other things in my smart home. |
Hi, if you want to connect to diyue does the sleep app ask for philips cloud login? |
No, it just scans for devices in the local network. Hue essentials and alexa are finding those devices, but if i search in the sleep cycle app, it just wont try to get infos from diyHue ( I can see that there is no api request to the config endpoint). If i try it with my real hue bridge, it works instantly. So how could this app spot a difference from the normal hue bridge. Any Ideas? @a-i-ks Exactly the same for me, I also submitted a feature request to sleep cycle that they also add homekit support for when the alarm triggers, but i dont think I am the first one asking, so I dont think they will do this.. |
Probably they use cloud based detection, and diyHue is not registred with Hue cloud servers to work. Maybe if you block the internet temporary you can see some pairing requests? |
How funny to see that there are people who had the same idea to improvise the missing function of SleepCycle. I wouldn't write off completely yet that the developers of Sleep Cycle will add the feature at some point. We just have to nag them long enough. I did that for years with the HomeKit scenes and eventually they got my wish. I think the functionality is partly thanks to my months of begging. Unfortunately, it's not quite as comprehensive as I had hoped.
I will try this in the next days. Thanks for your support @mariusmotea |
First of all thank you. So it should theoratically be possible to override the dns routing locally for discovery.meethue.com to discovery.diyhue.com? Like mentioned in here: #217 ? I dont know really much about network routing, but I assume overriding a dns to another ip should be possible in a router, or? |
Yes im testing this now. |
It is possible with a proxy, it is not easy but the sleepcycle app connects to diyhue.
here some links that i used: |
Thank you very much, I will try this as soon as I am home |
I was able to get it working with your example, but unfortunately it seems that this only works one time, since the app always calls the auto discover endpoint. But I will do more testing on this. But now I know what the problem ist and can think of a solution. Thank you very much |
You can also look if your router can redirect https, NAT port forwarding does not work. |
Could my local Pi-hole DNS server, which I use in my home network for all devices (including my iPhone), be used to redirect the discovery URL? |
dns works with ip addresses and the diyhue discovery serves can not work with ip addresses because it needs to see |
This is the reaction of sleep cycle.
|
Exaclty the same response for me |
I have an other idea to trik the system but dont know if this will last, i will update when i know something |
Sorry what i wanted to do is not possible since version 1.37. |
Issue does not already exist?
I have searched and found no existing issue
Select Environment
Docker
Home Assistant related?
No
Description
I would like to connect my diyHue bridge to the SleepCycle app. The app usually only supports Philips Hue. But since I want to use a non-Hue compatible device to wake me up, I want to use the diyHue bridge for this. Unfortunately, the diyHue bridge is not found in SleepCycle. I have no option there to configure a manual connection via an IP address. An original Philips Hue bridge is found and can be connected.
I assume that the diyHue bridge cannot be found correctly via ssdp. In the Hue Essentials app, only the original Philips Hue Bridge appears via Auto Discovery the first time it is started. However, the diyHue can be connected manually in Hue Essentials.
Errorlog:
Steps to reproduce
Install diyHue, try to connect to SleepCycle App
Please enter your operating system details here
I have started diyHue with the following Docker compose:
What DiyHue version(branch) are you using?
master (latest)
The text was updated successfully, but these errors were encountered: