zigbeefordomoticz / Domoticz-Zigbee

Zigbee plugin for Domoticz. Allow to connect various zigbee controllers like Zigate but also Texas Instrument CC2531, CC13x2, CC26x2 ; Silicon-Labs; deConz based chipset to be connected to Domoticz
GNU General Public License v3.0
99 stars 43 forks source link

New option: WebUI IP #1633

Closed jf67-07 closed 11 months ago

jf67-07 commented 1 year ago

Hi,

There is already an option "WebUI Port" to set the port of the z4d dashboard.

Would it be possible to add an option "WebUI IP" or" WebUI Interface" ? The default value would be 0.0.0.0, so the server would listen on all interfaces (as today), but it would be possible to set 127.0.0.1 to restrict the interface and to secure the access to the dashboard (by putting an auth proxy in front of z4d or by using a ssh redirection). Thanks.

pipiche38 commented 1 year ago

I like the idea. Adding an extra parameters would be challenging, but we could probably change parameters WebUI to be

or So if you have only a port number then we will bind on 0.0.0.0 and if the pare meter has the format x.y.z.a:pppp then we will bind port pppp on ip x.y.z.a If that makes sense I'll see to implement it
pipiche38 commented 1 year ago

Unfortunatly not so easy with Domoticz

https://www.domoticz.com/forum/viewtopic.php?t=40629

jf67-07 commented 1 year ago

Hi, Sure, it makes sense to use the current WebUI Port. Let's wait for a solution from the Domoticz team. Thanks

pipiche38 commented 11 months ago

looks like there is not much willingness on the Domoticz side. Sorry for that