Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended way in dealing with resets? #178

Open
KaiRoehr opened this issue Dec 17, 2020 · 4 comments
Open

Recommended way in dealing with resets? #178

KaiRoehr opened this issue Dec 17, 2020 · 4 comments

Comments

@KaiRoehr
Copy link

KaiRoehr commented Dec 17, 2020

Hi there,

very frequently my Hue Bridge seems to reset. Sometimes it is due to power loss, sometimes I don't know. After that, the username stored in the .python_hue is not longer valid and I have to reregister. I can deal with a changing IP address, but this is causing me a real headache.

Is there a way to prevent this? What is the recommended way of dealing with resets? In my case this is particularly annoying, since I am running my program as a scheduled task during startup and shutdown of the computer, which seems to use a different registration file (that I've yet to find) or something. So in order for this to work, I have to time the push of the button correctly with the startup of my machine.

Any ideas? Thank you very much.

@natcl
Copy link
Member

natcl commented Dec 17, 2020 via email

@KaiRoehr
Copy link
Author

The lamps I have connected don't seem to lose their registration. Only the python script seems to stop working.

@natcl
Copy link
Member

natcl commented Dec 17, 2020

And the python_hue file is still there ?

@KaiRoehr
Copy link
Author

KaiRoehr commented Jan 3, 2021

The file is still there. What I don't understand is why it makes a difference if I run the script regularly vs running the script as a scheduled task. Running the script regularly doesn't cause any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants