Open
Description
on Python 3.6
I have installed the library: pip install sonoff-python
and requirements websocket,requests, websocket-client
running the example "Usage"
i get below error:
File "S:\Development\Python_Scripts\teste_nevalidate\sonofflan_test-1.py", line 4, in
s = sonoff.Sonoff(config.username, config.password, config.api_region, config.user_apikey, config.bearer_token)
AttributeError: module 'config' has no attribute 'username'
Do I missed something?
Dan
Metadata
Metadata
Assignees
Labels
No labels