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

Added Features #2

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Added Features #2

wants to merge 8 commits into from

Conversation

Welasco
Copy link

@Welasco Welasco commented Jun 10, 2017

Change Log
2017-06-07
Added an option to only turn on the fan during the day (Sun is UP - Between SunRise and SunSet).
Added the option to disable the speed control (If nothing is selected speed control will not be evaluated).
Will only send a device command if the device is not already on that state.

2017-06-03
Added an option to check presence using a presence sensor.

…dded an option to only turn the fan on if there are somebody in home. If speed control is not selected the device will only turn on or off. Stop sending device commands if not necessary.
@Welasco Welasco force-pushed the VictorWelasco branch 3 times, most recently from 1b5ac61 to 9914c7d Compare June 27, 2017 19:22
Checking if the Switch was not physically turned On, if so stop all checks until it's physically turned OFF. Very usefull when you would like to turn the switch on at any time and don't want the switch be truning off on every temperature event change.
INFO: The isPhysical() have a bug and can not be used. (https://community.smartthings.com/t/device-physical-vs-digital-digital-physical-triggers/6229/11)
Workaround: I create a global variable that will control if the app turned the switch on or off.
Fix a bug on sunrise and sunset that was been evaluated all the time, now if is off the check is off we will stop evaluating it.
@Welasco
Copy link
Author

Welasco commented Jun 27, 2017

2017-06-27
Checking if the Switch was not physically turned On, if so stop all checks until it's physically turned OFF. Very usefull when you would like to turn the switch on at any time and don't want the switch be truning off on every temperature event change.
INFO: The isPhysical() have a bug and can not be used. (https://community.smartthings.com/t/device-physical-vs-digital-digital-physical-triggers/6229/11)
Workaround: I create a global variable that will control if the app turned the switch on or off.
Fix a bug on sunrise and sunset that was been evaluated all the time, now if is off the check is off we will stop evaluating it.

… App will only run if the mode is on. by Victor Wealasco
…ngs.com/en/latest/getting-started/first-smartapp.html. by Victor Welasco

             Fixed SunSet SunRise bug, now we are using timeOfDayIsBetween. by Victor Welasco
504e99d2-1906-4031-85dd-86c8a9e423ff 12:45:48 PM: error groovy.lang.MissingMethodException: No signature of method: script1502148515786699900851.motionHandler() is applicable for argument types: (physicalgraph.app.EventWrapper) values: [physicalgraph.app.EventWrapper@5b98e0fa]
It happened because from a runIn call we can't send a parameter to a
method.
I created an auxiliary method to fix it.
Welasco pushed a commit to Welasco/SmartThingsPublic that referenced this pull request Aug 23, 2017
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.

1 participant