Thinking about the orphaned HA Integration:
V6 has a different API location, structure and authentication, vs. V5.
Details about my system:
I have both V5 and V6 running locally so I can experiment/test against them
What I have changed since installing Pi-hole:
not relevant, IMHO...
Is there a smart way for me to connect (e.g. telnet) to/into a pihole and query its version?
Are there already some apps/code out there that handles the check for version, and then the authentication?
Is there any kind of summary of the old vs. new API posted somewhere, or is it just in the code?
Related but slightly off-topic question: There be a sunset/phase-out/EOL for V5? Are there a lot of users out there who perhaps even still use V4? Maybe the V(<5) user number aren't even relevant...
We do not track Pi-hole users, so we don't have any installation counts.
Version information should be available via DNS requests (unless you'd have disabled that), e.g.
dig +short version.FTL chaos txt
v5 output will look like "v5.25.2", while v6 development output is similar to "vDev-18f91b0". Once v6 is released, the latter will change to look more like the v5 version info.