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

Add options flow to alter, delete and add sensors #4

Open
elden1337 opened this issue Jul 29, 2023 · 6 comments
Open

Add options flow to alter, delete and add sensors #4

elden1337 opened this issue Jul 29, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@elden1337
Copy link
Owner

No description provided.

@elden1337 elden1337 added the enhancement New feature or request label Jul 29, 2023
@groen-sb
Copy link

Just a suggestion for an extra option: It would be great is I could edit the time range (which is now set to 12 hours) per sensor. For some sensors I want my appliance to start within 12 hours, but for others it's no problem to start them tomorrow (so it could use all the hours for which a price is available in Nordpool).

@nord-
Copy link

nord- commented Aug 8, 2023

A service call to alter the sensor would be nice! For the EV I can calculate the amount of energy and time needed (depending on SoC and charge limit) and then call the service to update the sensor.
Also it would be nice to be able to set a time of day to complete before; i.e. the car should always be charged before 06:30…

@elden1337
Copy link
Owner Author

U'r using this to charge? Interesting.

I'll have a look

@elden1337
Copy link
Owner Author

@nord- i don't think i'd make it stick over reboots in that case. That would probably confuse more than help

@nord-
Copy link

nord- commented Aug 8, 2023

U'r using this to charge? Interesting.

I'll have a look

Right now I'm using a template to calculate which hours are the best to charge. I get a start time, just like peaqnext. I use three inputs for the template:

  • Limit SoC - current SoC for Car 1, which gives me the kWh needed --> I then calculate number of hours needed.
  • Limit SoC - current SoC for Car 2, which gives me the kWh needed --> I then calculate number of hours needed.
  • Charge before boundary (06:30) from a time helper value in HA.

The template adds hours car 1 + hours car 2 and finds the cheapest consecutive interval before the departure time.

@elden1337
Copy link
Owner Author

Those could also be forged within peaqev scheduler service going forward.
But, implementing a basic servicecall for this in this repo feels rather small in effort, i'll check

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

No branches or pull requests

3 participants