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

[Longpulse] Add repeat option + improve accuracy #4299

Merged
merged 4 commits into from Oct 16, 2022

Conversation

TD-er
Copy link
Member

@TD-er TD-er commented Oct 15, 2022

ESP8266 does support sending a "wave form" with quite accurate timings.
It allows timings upto 15+ seconds "high" and "low" timings including some set repeat option.

These accurate timing functions are not present for ESP32.
But the ESPEasy scheduler can still achieve quite accurate timings, depending on the system load.

The longpulse and longpulse_ms commands now have optionally 2 extra parameters, to allow for low frequency PWM which was not possible with the normal PWM commands.
For example blinking a LED at 0.5 Hz is now a single command without the need for a looptimer in rules.

Emulating some power meter over S0 is now also a single command in rules.

@TD-er TD-er merged commit fad8b3c into letscontrolit:mega Oct 16, 2022
@TD-er TD-er deleted the feature/longpulse_repeat branch October 16, 2022 08:56
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.

None yet

1 participant