DrozmotiX / ioBroker.esphome

Control your ESP8266/ESP32 with simple yet powerful configuration files created and managed by ESPHome
MIT License
30 stars 23 forks source link

Admin tab link hardcoded to http #159

Open r748 opened 1 year ago

r748 commented 1 year ago

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!

DutchmanNL commented 1 year ago

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 commented 11 months ago

@Apollon77 or @UncleSamSwiss ? :)

UncleSamSwiss commented 11 months ago

@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)?

Apollon77 commented 11 months ago

@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? ;-)

DutchmanNL commented 11 months ago

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