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

Improving the code #7

Closed
gidimiz opened this issue May 28, 2017 · 1 comment
Closed

Improving the code #7

gidimiz opened this issue May 28, 2017 · 1 comment
Assignees
Labels
Enhancement New feature or additional function.

Comments

@gidimiz
Copy link

gidimiz commented May 28, 2017

Hi.

Great job!
For ver. 1.08, please add the following that will shut down the TS100 after 30 min of inactivity in SLEEP to COOLING ( I reused your code .. )
Modes.c line: 158
//We need to check the timer for movement in case we need to goto COOLING if (systemSettings.movementEnabled) if (millis() - getLastMovement() > (30 * 60000)) { if (millis() - getLastButtonPress() > (30 * 60000)) { operatingMode = COOLING; return; } }
You can also improve this by adding an option in the OLED to have it on ( 1 -60 ) or off ( 0 ).
Thanks.

@Ralim Ralim self-assigned this May 29, 2017
@Ralim Ralim added the Enhancement New feature or additional function. label May 29, 2017
@Ralim Ralim closed this as completed in 7e1e81c May 29, 2017
@Ralim
Copy link
Owner

Ralim commented May 29, 2017

Hi, let me know if you have any further suggestions. :)

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

No branches or pull requests

2 participants