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

Restarting the service from the program #422

Open
pr200sd opened this issue Jun 3, 2021 · 4 comments
Open

Restarting the service from the program #422

pr200sd opened this issue Jun 3, 2021 · 4 comments

Comments

@pr200sd
Copy link

pr200sd commented Jun 3, 2021

Good day.

Is it possible to orbinize the restart of the service, without restarting esp32, for example, after erasing the data, I want to be able to pair with the phone again, now I am doing a power reset for this.

@maximkulkin
Copy link
Owner

No, it is not possible at the moment. Implementation is not hard, but I couldn't find any practical use case for this.

@pr200sd
Copy link
Author

pr200sd commented Jun 4, 2021

Got it, thanks for the answer. My use case is as follows: after removing the accessory on the phone and erasing the data in esp32, a new device cannot be added without restarting esp32.

@maximkulkin
Copy link
Owner

Then restart the device.

@pr200sd
Copy link
Author

pr200sd commented Jun 5, 2021

There are no problems to reboot the device, but my esp is used as a gateway for a multichannel relay and controls channels via modbus, https://youtu.be/7YfrBtO3Dos?t=144
and in some cases information will be lost and the relay will be reset. In principle, I have already taken into account this point and now all states are remembered before rebooting, so there are no problems.

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