jason0x43 / hacs-hubitat

A Hubitat integration for Home Assistant
MIT License
189 stars 46 forks source link

Event server doesn’t respond to configured request path #224

Closed JohnathonMohr closed 11 months ago

JohnathonMohr commented 11 months ago

According to the setup instructions, the event server will start listening at the URL and port specified in setup. If a path is specified in the URL (e.g. http://192.168.1.100/event), hacs-hubitat will correctly set that URL in Hubitat (along with whatever port is specified) as the URL to POST to, but the server in the integration will actually only listen to “/“ (not “/event”).

If this behavior is by design, please update the setup guide and clarify in the integration UI (such as rewording to “Home Assistant IP address”, if that’s not reliably attainable by the integration itself).

jason0x43 commented 11 months ago

I wouldn't say the current behavior is intentional; rather, the need to specify arbitrary paths for the event server has just never come up. 😄 In any case, that could be a bit clearer -- I'll update the documentation.

JohnathonMohr commented 11 months ago

Great, thanks!