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

Dynamic time trigger starting at random intervals #28

Open
msnapka opened this issue Oct 6, 2024 · 2 comments
Open

Dynamic time trigger starting at random intervals #28

msnapka opened this issue Oct 6, 2024 · 2 comments

Comments

@msnapka
Copy link

msnapka commented Oct 6, 2024

Hi, thanks for all the good work around the project.

I have set up a notification containing the rank of the current hour whenever my automation starts the boiler based on the dynamic trigger. I am using 2,5 hour interval.

Sometimes the boiler is started even in the 22nd cheapest hour...which is a bit useless and counter-productive as it's actually doing quite the opposite of what it should be doing :)

I think the problems occur whenever:

  1. negative prices appear (imho even for the following day)
  2. Home Assistant is restarted

I will gather more data and add it here, but i had to already write something because the note is on my desk already for longer than a few months and i need to stop procrastinating... O:-)

I am using the prices for Austria.

Thanks.

Marek

@mampfes
Copy link
Owner

mampfes commented Oct 7, 2024

Which service provider are you using? If it is Epex Spot Web Scraper, then you don't get prices from the past - which could cause issues if HA is restarted.

@msnapka
Copy link
Author

msnapka commented Oct 8, 2024

I am using your HACS integration, followed the manual for implementation.

Boiler switch logs show very interesting data - there seem to be some data issues when the sensor falls into an unknown state. Afterwards the length is not followed.

2024-10-08 08_44_52-Settings – Home Assistant – Brave

2024-10-08 08_42_52-History – Home Assistant – Brave

  • `October 7, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 4:00:00 AM - Yesterday
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 2:00:00 AM - Yesterday
  • October 6, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 3:51:00 PM - 2 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 1:00:00 PM - 2 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 12:00:00 PM - 2 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler became unknown
  • 12:00:00 AM - 2 days ago
  • October 5, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 3:00:00 PM - 3 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 1:00:00 PM - 3 days ago
  • October 4, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 2:00:00 PM - 4 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 1:00:00 PM - 4 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 5:00:00 AM - 4 days ago
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 4:00:00 AM - 4 days ago
  • October 3, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 5:00:00 AM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 3:00:00 AM - Last week
  • October 2, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 5:00:00 AM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 3:00:00 AM - Last week
  • October 1, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 4:00:00 AM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 2:00:00 AM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 12:00:00 AM - Last week
  • September 30, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 10:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 2:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 1:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 4:00:00 AM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 3:00:00 AM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 12:00:00 AM - Last week
  • September 29, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 11:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 10:02:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 10:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 5:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 4:40:16 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 3:00:00 PM - Last week
  • EPEX Spot Binary Sensor - dynamic time - boiler turned on
  • 1:00:00 PM - Last week
  • September 28, 2024
  • EPEX Spot Binary Sensor - dynamic time - boiler turned off
  • 3:00:00 PM - 2 weeks ago`

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

No branches or pull requests

2 participants