Pyhiveapi
Pyhiveapi copied to clipboard
v1: tweak session and hive_auth and create demo tester
This is being tested and running autonomously OUTSIDE home assistant. auto_poll.py is a test rig to poll the Hive every minute and upload to an influx db. It still needs to be tested within hass ... but you can see what the suggestion is. Logic: Replaces token refresh with a fresh login on token expiry. Does not require 2FA/device login which appears to be currently broken in IoS.