API Temperature?
Opened this issue · 5 comments
cmora111 commented
Can you get the temperature during usage as well?
cmora111 commented
Also, where did you get the API info, I've been trying to get it from GMP to no avail
Thanks
Carlos
802GrnMtnBoy commented
in api.py, add "temp": 'f' to the get request in the "get_usage" definition (first screenshot). Then in the usage class add additional variable placeholders for the response values you are looking for (second screenshot).
To find the API info, simply log into the Green Mountain Power website with your credentials and inspect the network traffic (press F12) as the page loads. It will show you all the response values etc.
cmora111 commented
That was fast!! Thank you
Carlos
… On 06/02/2023 3:00 PM EDT 802GrnMtnBoy ***@***.***> wrote:
in api.py, add "temp": 'f' to the get request in the "get_usage" definition (first screenshot). Then in the usage class add additional variable placeholders for the response values you are looking for (second screenshot).
To find the API info, simply log into the Green Mountain Power website with your credentials and inspect the network traffic (press F12) as the page loads. It will show you all the response values etc.
[Screenshot 2023-06-02 144735] https://user-images.githubusercontent.com/81392495/242967943-9e75bb6c-bf45-430a-9ce2-18a907a25598.png
[Screenshot 2023-06-02 145318] https://user-images.githubusercontent.com/81392495/242968238-355ab112-4c17-4ffb-85f6-db92563d5ae4.png
—
Reply to this email directly, view it on GitHub #5 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/AD23OIIS64YLHUGDEKKTYHTXJIZ5DANCNFSM6AAAAAAYGAW7UI.
You are receiving this because you authored the thread.Message ID: ***@***.***>
cmora111 commented
It appears greenmountainpower stopped working any ideas?
Carlos
… On 06/02/2023 3:00 PM EDT 802GrnMtnBoy ***@***.***> wrote:
in api.py, add "temp": 'f' to the get request in the "get_usage" definition (first screenshot). Then in the usage class add additional variable placeholders for the response values you are looking for (second screenshot).
To find the API info, simply log into the Green Mountain Power website with your credentials and inspect the network traffic (press F12) as the page loads. It will show you all the response values etc.
[Screenshot 2023-06-02 144735] https://user-images.githubusercontent.com/81392495/242967943-9e75bb6c-bf45-430a-9ce2-18a907a25598.png
[Screenshot 2023-06-02 145318] https://user-images.githubusercontent.com/81392495/242968238-355ab112-4c17-4ffb-85f6-db92563d5ae4.png
—
Reply to this email directly, view it on GitHub #5 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/AD23OIIS64YLHUGDEKKTYHTXJIZ5DANCNFSM6AAAAAAYGAW7UI.
You are receiving this because you authored the thread.Message ID: ***@***.***>
cmora111 commented
It appears greenmountainpower stopped working any ideas?
Carlos
… On 06/02/2023 3:00 PM EDT 802GrnMtnBoy ***@***.***> wrote:
in api.py, add "temp": 'f' to the get request in the "get_usage" definition (first screenshot). Then in the usage class add additional variable placeholders for the response values you are looking for (second screenshot).
To find the API info, simply log into the Green Mountain Power website with your credentials and inspect the network traffic (press F12) as the page loads. It will show you all the response values etc.
[Screenshot 2023-06-02 144735] https://user-images.githubusercontent.com/81392495/242967943-9e75bb6c-bf45-430a-9ce2-18a907a25598.png
[Screenshot 2023-06-02 145318] https://user-images.githubusercontent.com/81392495/242968238-355ab112-4c17-4ffb-85f6-db92563d5ae4.png
—
Reply to this email directly, view it on GitHub #5 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/AD23OIIS64YLHUGDEKKTYHTXJIZ5DANCNFSM6AAAAAAYGAW7UI.
You are receiving this because you authored the thread.Message ID: ***@***.***>