ioBroker.esphome icon indicating copy to clipboard operation
ioBroker.esphome copied to clipboard

Admin tab link hardcoded to http

Open r748 opened this issue 1 year ago • 5 comments

The admin tab link is hardcoded to use http (io-package.json => http://%ESPHomeDashboardIP%:%ESPHomeDashboardPort%). This leads to the issue, that the ESPHome-Dashboard is not displayed in the iFrame when running ioBroker under https. Loading the dashboard via the direct URL (e.g. https://ESPHomeDashboardIP:6052/) works as expected.

Please add a config option to specify if the %ESPHomeDashboardIP% is http or https. Thanks!

r748 avatar Apr 15 '23 10:04 r748

hmm the problem is I cannot make this setting variable

@Apollon77

Can you please assist here ? How can we deal in io-package with an attribute like the URL from http to https ? Would it be sufficient to just enter the link without http://. or https:// in front of it ?

DutchmanNL avatar Jul 26 '23 16:07 DutchmanNL

@Apollon77 or @UncleSamSwiss ? :)

DutchmanNL avatar Oct 27 '23 23:10 DutchmanNL

@DutchmanNL Why is it not possible to make this setting variable? IP and port seem to be variable, too. Can't you just add another setting for the schema (http or https)?

UncleSamSwiss avatar Oct 28 '23 05:10 UncleSamSwiss

@DutchmanNL naja die erste Frage ist ja um was es genau geht. Also: ist dein extra ui überhaupt über https erreichbar oder nicht? Wenn ja dann bräuchte man etwas wie „adminprotocol“ als variable was ersetzt wird. Wen nicht dann sind wir bei dem Thema was wir mehrfach besprochen hatten und das heißt „Admin muss einen Reverse Proxy haben um solche uis mit „seinem ssl“ durchzuproxien.

Also wat isses? ;-)

Apollon77 avatar Oct 28 '23 08:10 Apollon77

Also wat isses? ;-)

Soweit mir bekannt kam Esphome kein https und hat selber auch keine certificate @r748 bitte korrigieren wen ich falsch liege

Ergo das wird Dan die größere Proxy Geschichte @Apollon77

DutchmanNL avatar Oct 28 '23 09:10 DutchmanNL