mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-15 16:18:30 +00:00
Documentation
This commit is contained in:
27
HTTP_Headers.md
Normal file
27
HTTP_Headers.md
Normal file
@ -0,0 +1,27 @@
|
||||
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Glance](examples/Glance.md) | [Background Service](BackgroundService.md) | [Wi-Fi](Wi-Fi.md) | [HTTP Headers](HTTP_Headers.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
|
||||
|
||||
# User Specified Custom HTTP Headers
|
||||
|
||||
Principally for those who use Home Assistant add-on [Cloudflared](https://github.com/brenner-tobias/addon-cloudflared) in order to provide additional security via Cloudflare's Web Application Firewall (WAF). But the solution is generic enough for other use cases.
|
||||
|
||||
Please let us know if this solution is found to be useful for other situations.
|
||||
|
||||
## Setup
|
||||
|
||||
The main settings includes a sub-menu for the user supplied HTTP header.
|
||||
|
||||
<img src="images/http_header_submenu_item.png" width="400" title="Application Settings"/>
|
||||
|
||||
The sub-menu contains two options for users to specify both the HTTP header name and the value as two free form strings.
|
||||
|
||||
<img src="images/http_header_settings.png" width="400" title="Application Settings"/>
|
||||
|
||||
## Support
|
||||
|
||||
**None!**
|
||||
|
||||
The authors of the Garmin Home Assistant application do not use, and hence do not know, the [Cloudflared](https://github.com/brenner-tobias/addon-cloudflared) add-on. While we have enabled the HTTP headers to support using this add-on, it does mean _you support yourself_. Please do not raise issues about this functionality unless you are supplying the answers for any required changes too!
|
||||
|
||||
## Credits
|
||||
|
||||
With thanks to Lars Pöpperl ([@tispokes](https://github.com/tispokes)) for contributing to this solution.
|
Reference in New Issue
Block a user