Add opnsense_leases_url for DHCP sensor
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
# Add these entries to your /config/secrets.yaml
|
||||
# Replace with your actual OPNsense details
|
||||
# Add these to your /config/secrets.yaml
|
||||
|
||||
# Your OPNsense alias API endpoints
|
||||
# Replace "opnsense.hideawaygaming.com.au" with your OPNsense IP or hostname
|
||||
# OPNsense host (replace with your IP or hostname)
|
||||
opnsense_alias_add_url: "https://opnsense.hideawaygaming.com.au/api/firewall/alias_util/add/parental_blocked"
|
||||
opnsense_alias_del_url: "https://opnsense.hideawaygaming.com.au/api/firewall/alias_util/delete/parental_blocked"
|
||||
opnsense_apply_url: "https://opnsense.hideawaygaming.com.au/api/firewall/alias/reconfigure"
|
||||
opnsense_apply_url: "https://opnsense.hideawaygaming.com.au/api/firewall/alias/reconfigure"
|
||||
opnsense_leases_url: "https://opnsense.hideawaygaming.com.au/api/dhcpv4/leases/searchLease"
|
||||
|
||||
# Basic auth header — generate with:
|
||||
# echo -n "YOUR_API_KEY:YOUR_API_SECRET" | base64
|
||||
# Then paste the result in place of the placeholder below:
|
||||
# Generate with: echo -n "APIKEY:APISECRET" | base64
|
||||
opnsense_basic_auth: "Basic REPLACE_WITH_BASE64_OF_APIKEY_COLON_APISECRET"
|
||||
|
||||
Reference in New Issue
Block a user