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

Feature/factory reset page #2083

Merged
merged 7 commits into from
Nov 24, 2018
Merged

Conversation

TD-er
Copy link
Member

@TD-er TD-er commented Nov 24, 2018

Added a new factory reset page which allows to keep some settings and also supports some default setup for buttons and relais of off-the-shelf devices like several Sonoff modules.

image

image

Modules in the combobox are disabled when the flash size does not match for those modules.

@jimmys01
Copy link
Contributor

Excellent. Also is there a possibility to add predefined rules to the predefined configurations so you can load the sonoff basic config and have the button work with the relay out of the box?

@TD-er
Copy link
Member Author

TD-er commented Nov 24, 2018

Those will be added automatically when you select a specific version.
The only things setup when selecting a model is:

  • GPIO connected to button => plugin switch configured
  • GPIO connected to relais => plugin switch configured
  • If there is a conflict with default I2C pins, then those are set to no pin assigned for I2C
  • status LED GPIO
  • added rule to combine button and relais.

@TD-er TD-er merged commit 1cc3889 into letscontrolit:mega Nov 24, 2018
@TD-er TD-er deleted the feature/factory_reset_page branch November 24, 2018 22:40
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

Successfully merging this pull request may close these issues.

2 participants