mjoshd / hyperhdr-ha

HyperHDR custom component for Home Assistant
https://github.com/awawa-dev/HyperHDR
MIT License
59 stars 7 forks source link

Failed to determine if authorization is required #5

Closed jonskoglund closed 2 years ago

jonskoglund commented 2 years ago

Version of the custom_component

V0.0.4

Describe the bug

When setting up the integration the component asks for host and port. This is what I used: host: 192.168.1.155 port: 8090 Then I got the error message: Aborted. Failed to determine if authorization is required.

Debug log

Sorry. Can't provide detailed logs. I tried setting it up but I couldn't make it work. Any tips or code to do this are very welcome.

mjoshd commented 2 years ago

Port 8090 is used for accessing the web UI of HyperHDR with a web browser, not for connecting the integration.

When you begin to set up the integration it should pre-fill the port field with 19444, which is what it should be for 99% of installations (the only time it would be different is if you have customized the JSON Server port in HyperHDR settings). image

Please try setting the integration up again but this time do not change the pre-filled port number, just enter the ip address of your HyperHDR instance. In your case this would be 192.168.1.155

Hopefully this helps.

jonskoglund commented 2 years ago

Yes worked like a charm. Somehow I didn't try the most obvious solution. There still are some other issues with brightness and turning the light on or off in a lovelace card.

mjoshd commented 2 years ago

The best settings for an individual's HyperHDR setup are subjective and will vary greatly but my recommendations are

The page/settings should be at http://IPADDRESS:8090/#processing just replace IPADDRESS with the ip of your HyperHDR instance.