maxbec / hassio-diyHue

Fully configurable diyHue add-on for home-assistant.
30 stars 17 forks source link

can't discover deconz on port 8080 #14

Closed sidequestboy closed 3 years ago

sidequestboy commented 3 years ago

I have deconz server running at 127.0.0.1 on port 8080 for the web api and port 8081 for the websocket api, but there's no configuration option here for specifying a different deconz port. So I stopped diyhue, went into the config.json and edited this section:

    "deconz": {
        "enabled": true,
        "lights": {},
        "port": 8080,
        "sensors": {}
    },

restarted diyhue, tried the "pairing process" which is,

1 - go into deconz web interface and choose gateway->advanced->authenticate app 2 - go to diyhue's webserver at /deconz

but nothing is happening, lights aren't added although they exist in deconz, none discoverable on my paired Philips Hue android app.

any chance to support alternate ports? am I doing anything wrong?

sidequestboy commented 3 years ago

I found out that diyhue defaults to looking at 8080, I deleted my config and reinstalled add-on and did the pairing process and it worked without manually editing the config file.