Skip to content

[BUG] #109

Description

@garethfrance-lab

Describe the bug
Using the example code provided in the documentation results in an error message when attempting to log in using device authentication.

Original exception was:
Traceback (most recent call last):
File "/home/eternity/Documents/Miner/miner.py", line 72, in
session = Hive(
^^^^^
TypeError: Hive.init() got an unexpected keyword argument 'deviceGroupKey'

Expected behavior
The program should complete logging in and continue to provide a temperature reading from my thermostat. If I log in using 2fa instead it does work.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Additional context
session = Hive(
username="myme@here.com",
password="MyPassword",
deviceGroupKey="GroupKey",
deviceKey="DeviceKey",
devicePassword="",
)
session.deviceLogin()
session.startSession()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions