Closed ricktendo closed 4 years ago
Hello @ricktendo 👋 - Thanks for opening an issue!
Great idea. Would fit in nicely with the existing status icon.
For now I believe the API does not expose this data. I tried looking for clues in the network manager on http://pi.hole/admin/ to no avail.
That data is indeed not available in the API, however it should be pretty easy to extract it from the HTML with some regular expressions.
For example the temperature:
/<a id="temperature">.*?p:(.*?)</
Load:
/Detected (\d{1,2}) c.*?Load:(.*?)</
That data is indeed not available in the API, however it should be pretty easy to extract it from the HTML with some regular expressions. For example the temperature:
/<a id="temperature">.*?p:(.*?)</
Load:/Detected (\d{1,2}) c.*?Load:(.*?)</
Great idea, I hadn't thought of that. Will try it out!
Mooi gedaan, ziet er goed uit.
Would it be possible to add the ability to display the Pihole statistics (Temp, Load, Memory usage) in the app