mirror of https://github.com/bastienwirtz/homer
![]() Add support for Pi-hole v6 API while maintaining v5 compatibility. The component now handles both API versions with proper session-based authentication for v6 and legacy authentication for v5. Includes automated retries, session caching, and proper cleanup. - Add new apiVersion config option (default: 5, accepts: 5,6) - Implement session-based auth with caching for v6 API - Add auto-retry mechanism with configurable attempts - Add periodic status polling for v6 API - Separate v5/v6 API handling logic for better maintenance - Improve error handling and status display - Update documentation with v6 API support details Breaking changes: None. V5 remains default for backward compatibility. V6 mode must be explicitly enabled by setting apiVersion: 6 in config. |
||
---|---|---|
.. | ||
docuseal | ||
freshrss/api/greader.php | ||
gitea | ||
glances/api/4 | ||
immich/api/server-info | ||
octoprint/api | ||
olivetin | ||
openHAB/rest | ||
openweather | ||
peanut/api/v1/devices | ||
pialert/php/server | ||
pihole | ||
proxmox/api2/json/nodes/node1 | ||
qBittorrent/api/v2 | ||
rtorrent | ||
speedtesttracker/api/speedtest | ||
tdarr/api/v2 | ||
traefik/api | ||
wallabag/api | ||
README.md | ||
_headers |
README.md
Dummy data
This directory content makes possible to test custom services cards or create a demo without actually running the service. The principle is simple: save a sample output of the API used in the service in a static file in this directory. The path must be identical as the service endpoint to be used seamlessly.
Start the mock server to expose dummy data
pnpm mock
How to add a new services sample
- create a directory for your service, and any sub-folder existing in the service api path.
- save the api output in a file named after the service endpoint.
Example:
mkdir pihole
curl http://my-pihole.me/admin/api.php -o pihole/api.php # /admin is omitted because for PiHole, the implementation expect it to be in the base url (`url` or `endpoint` property)