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

switch: New mode PUSHON (13) #7912

Merged
merged 1 commit into from
Mar 14, 2020
Merged

Conversation

BASM
Copy link
Contributor

@BASM BASM commented Mar 14, 2020

Just turn it on, if the switch is on. Switch off by PulseTime.
For a simple implementation processing of PIR sensors.

Description:

For using PIR sensors you need make Rule (https://github.com/arendst/Tasmota/wiki/PIR-Motion-Sensors). These are unnecessary difficulties.

Need to add the ON mode, without turning OFF. You may switch OFF by PulseTimer.

Moreover, this mode is already supported by the ExecuteCommandPower().

Checklist:

  • The pull request is done against the latest dev branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR.
  • The code change is tested and works on core Tasmota_core_stage
  • The code change pass travis tests. Your PR cannot be merged unless tests pass
  • I accept the CLA.

Just turn it on, if the switch is on. Switch off by PulseTime.
For a simple implementation processing of PIR sensors.
@arendst arendst merged commit a664278 into arendst:development Mar 14, 2020
arendst added a commit that referenced this pull request Mar 14, 2020
- Add commands ``SwitchMode 13`` PushOn and ``SwitchMode 14`` PushOnInverted (#7912)
- Refactor support_switche.ino
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