From 7c258e731eb1c90124591f95f4df17cca0868b99 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Sat, 16 May 2026 15:10:11 +1000 Subject: [PATCH] Add opnsense_leases_url for DHCP sensor --- secrets_example.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/secrets_example.yaml b/secrets_example.yaml index 93e7e0a..ecc8199 100644 --- a/secrets_example.yaml +++ b/secrets_example.yaml @@ -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"