zim514 / script.service.hue

Kodi add-on for Philips Hue
MIT License
35 stars 15 forks source link

Make compatible with diyHue #172

Closed jclsn closed 2 years ago

jclsn commented 2 years ago

Is your feature request related to a problem? Please describe. It doesn't find the diyHue bridge, which is found by the official Hue app.

https://diyhue.github.io/

I also can't type an IP. It would be great to be able to connect to this application. It would provide the ability to use cheaper lights than Philips Hues.

zim514 commented 2 years ago

Is this the error you're getting: JSONDecodeError: Expecting value: line 1 column 1 (char 0)

If not, please let me know what it is and provide Kodi logs, and make sure to select 'yes' when asked to report errors.

I don't know anything about diyHue so can't say if it's possible yet but I can investigate

jclsn commented 2 years ago

Yes, either that error or bridge not found.

DiyHue basically emulates a Hue bridge on e.g. a Raspberry Pi. I could get it to connect to Home Assistant and now only need this to sync.

zim514 commented 2 years ago

Ok, I've tried to make that type of discovery work in the past but wasn't able. Entering the IP manually won't work right now but I'll make the changes in a future version

jclsn commented 2 years ago

You could contact the diyHue team and ask what you would need to discover.

Am 10.05.2022 um 01:57 schrieb snapcase @.***>:

 Ok, I've tried to make that type of discovery work in the past but wasn't able. Entering the IP manually won't work right now but I'll make the changes in a future version

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

zim514 commented 2 years ago

The best solution will be to add manual IP entry as an option if the current discovery doesn't work, which should address both this and #173

zim514 commented 2 years ago

Please try this version https://github.com/zim514/script.service.hue/releases/tag/v1.2-dev1

jclsn commented 2 years ago

Yes, I could connect now and see the lights, but they don't react. I am also using Hyperion by now, which supports my whole TV and not only Kodi. They also have problems when using the Hue Entertainment API of diyHue instead of the older API. Do you use that as well?

On Mai 10 2022, at 11:52 pm, snapcase @.***> wrote:

Please try this version https://github.com/zim514/script.service.hue/releases/tag/v1.2-dev1 — Reply to this email directly, view it on GitHub (https://github.com/zim514/script.service.hue/issues/172#issuecomment-1122917532), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AEW47N4EECHXFMUWWISMPWDVJLLBNANCNFSM5VPF3YIQ). You are receiving this because you authored the thread.

zim514 commented 2 years ago

ambilight doesn't work on all hardware so it's possible that's what you're running into. It's a Kodi limitation and not something I can fix unfortunately. What kind of device are you running Kodi on? It doesn't work on RPi, Android or AmLogic devices, possibly others

jclsn commented 2 years ago

Ah okay. Yeah it is a Pi

On Mai 11 2022, at 10:38 pm, snapcase @.***> wrote:

ambilight doesn't work on all hardware so it's possible that's what you're running into. It's a Kodi limitation and not something I can fix unfortunately. What kind of device are you running Kodi on? It doesn't work on RPi, Android or AmLogic devices, possibly others — Reply to this email directly, view it on GitHub (https://github.com/zim514/script.service.hue/issues/172#issuecomment-1124273531), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AEW47N2ALSRD2SQGOHPPHRDVJQLEDANCNFSM5VPF3YIQ). You are receiving this because you authored the thread.