rgruebel / ha_zigbee2mqtt_networkmap

Custom Component for Homeassistant to show zigbee2mqtt Networkmap
169 stars 43 forks source link

Change webhook URLs with IDs in generated settings.js file #31

Closed droscy closed 4 years ago

droscy commented 4 years ago

If you run Home Assistant behind a webserver, the URLs provided by hass.components.webhook are not working outside local network, so I create the file settings.js with webhook IDs instead of URLs. The main map.html file will then make XMLHttpRequest using those IDs and the browser base url.

rgruebel commented 4 years ago

Thank you