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

If a devices or sensors is already registered it should return 200 with the existing UUID, instead of 209 (already registered), because easier to manage when you update firmwares reflashing it #4

Open
Ks89 opened this issue Dec 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Ks89
Copy link
Member

Ks89 commented Dec 10, 2022

No description provided.

@Ks89 Ks89 added the enhancement New feature or request label Dec 10, 2022
@Ks89
Copy link
Member Author

Ks89 commented Dec 10, 2022

If I format the ESP32 and try to register it again, it will give me status 209 and will no longer get the UUID trying to boot it with no UUID in memory and no way to get it, unless removing the device by hand from the DB and then restarting the 'esp. Actually, 209 should be used to always return the UUID, or directly return 200 with an "already registered" warning message and the UUID!!!!

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

No branches or pull requests

1 participant