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

Prototype: HomeTemp Command via Email #38

Open
wurstbroteater opened this issue Apr 14, 2024 · 0 comments
Open

Prototype: HomeTemp Command via Email #38

wurstbroteater opened this issue Apr 14, 2024 · 0 comments
Assignees
Labels
concept Reseach or creating ideas/concepts enhancement New feature or request

Comments

@wurstbroteater
Copy link
Owner

wurstbroteater commented Apr 14, 2024

As a user i want the ability to send commands to HomeTemp to trigger certain actions because it increaes the usage.

Commands

The first commands should allow:

  • Trigger Sending New Measurement Plot from External
  • ? Adding new receiver ?
  • ? Removing receiver ?
  • ...

Commanding Service

Currently, it is sufficient to add commanding to email client. Thie service has to check if an received email is from the list of allowed commanders and if so perform actions.

Command Email Structure

Mapping of email items to command

  • commander = sender email
  • subject = command
  • body = additional command info

The subject has to start with: (case insensitive) HomeTempCommand, HomeTempCmd or HTCmd followed by the command, e.g., htcmd plot which draws a measurment plot with the current data and sends it to the commander. The body may contain data for, e.g., time ranges or used plot data. The implementation of this is out of scope for tthis prototype.

1.Update

  • Prototypic implementation done in CommandService but most of its functionality should be moved to EmailDistributor
@wurstbroteater wurstbroteater added enhancement New feature or request concept Reseach or creating ideas/concepts labels Apr 14, 2024
@wurstbroteater wurstbroteater pinned this issue Apr 14, 2024
@wurstbroteater wurstbroteater self-assigned this Apr 14, 2024
wurstbroteater added a commit that referenced this issue Apr 14, 2024
wurstbroteater added a commit that referenced this issue Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept Reseach or creating ideas/concepts enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

1 participant