You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the ip of the bridge is hardcoded inside the python file.
Maybe there should be a better errorhandling for this than a stack trace:
Traceback (mostrecentcalllast):
File"/usr/lib/python3.6/site-packages/phue.py", line736, inconnectwithopen(self.config_file_path) asf:
FileNotFoundError: [Errno2] Nosuchfileordirectory: '/home/lukas/.python_hue'Duringhandlingoftheaboveexception, anotherexceptionoccurred:
Traceback (mostrecentcalllast):
File"wherearehue.py", line6, in<module>b=Bridge('10.1.2.4')
File"/usr/lib/python3.6/site-packages/phue.py", line629, in__init__self.connect()
File"/usr/lib/python3.6/site-packages/phue.py", line752, inconnectself.register_app()
File"/usr/lib/python3.6/site-packages/phue.py", line720, inregister_app'The link button has not been pressed in the last 30 seconds.')
phue.PhueRegistrationException: (101, 'The link button has not been pressed in the last 30 seconds.')```
The text was updated successfully, but these errors were encountered:
At the moment the ip of the bridge is hardcoded inside the python file.
Maybe there should be a better errorhandling for this than a stack trace:
The text was updated successfully, but these errors were encountered: