Wow now it works i searching for this over 1 Year.
I have a Docker Container with TVHeadend and this Stops TVHeadend every Day for Container Backups. The SATIP Server is in the TV and we turn it off completly (no Power at all) after the Start of the TVHeadend Container TVHeadend cant find a SATIP Server because its turned off.
If i turne the SATIP Power on TVHeadend is already started and as i seen TVHeadend dont search periodically for a SATIP Server only on Start or if you Trigger the SATIP Search in Configuration.
Now i have written a Container Healthcheck which Triggers this SATIP Search periodically and also returns if TVHeadend is healthy, if i switch on my SATIP i have to wait several seconds before the next Healthcheck Triggers the SATIP Search and it works 🙂
healthcheck:
test: curl -f "http://localhost:9981/api/hardware/satip/discover?op=all" --digest -u user:pw || exit 1
interval: 40s
timeout: 20s
retries: 20
I´m so happy, before i always runned to my Computer logged in into TVHeadend and start the Trigger SATIP Server manually.