Add cpu_temp property to fritz status
I added the cpu_temp property that returns an integer with the current CPU temperature and the call_http_query() method that lets you do custom requests to the query.lua endpoint.
Thanks for your contribution, providing another URL for queries. At least by the interface-documentation from AVM this seems not to be covered. Do you have any references?
Then there are some issues (beside a minor PEP 8) with the code: in the FritzConnection class the aha-interface is owerwritten, the cpu-temperature is returned as string instead as a number and there is a lot of code-duplication.
From my point of view the integration of a third query-endpoint needs some refactoring in the existing code.
For future pull-requests I have created a new development-branch at github.
I would also love to see this feature added to the integration. Is there any chance we can get this PR fixed and merged soon? Can anyone support with anything? What are the blockers right now?
A variation of the code (for better integration) is already in the development-branch – however marked as experimental, as the api is not officially documented. It will be part of the FritzStatus library which currently is under a rewrite.
This PR will not get merged because of code-issues. However the feature itself based on the idea and the provided link has been integrated in version 1.15.0