Git Product home page Git Product logo

Comments (6)

gndean avatar gndean commented on September 23, 2024 1

@itsjxck Are you happy with the workaround? Setting the schedule times is something I'd like to add in the future, but probably when there is better support from HA for it.

from home-assistant-hypervolt-charger.

BadgerLoaf avatar BadgerLoaf commented on September 23, 2024

As a stop gap, I wonder if the following could help you?

What about if you set an automation that sets the Hypervolt Mode to Super Eco when the price is 12p or higher, and one that sets it to Boost when it is below 12p ?

This would then only charge the car when the price is sub-12p (which I think is your aim?).

Incase you aren't aware, Super Eco means that the charger will only use excess Solar that would otherwise go to the grid charge the car - it doesn't mater if you don't have solar, it just means it will never be able to use it.. the same as at night or a cloudy day.

I do something effectvely the same where I am on Octopus Intelligent, and put the HV into Super Eco mode (i.e. Solar only) when I'm on peak price, allowing the cars to charge from any excess solar but not use any mains elec during peak prices.

Anyhow... just a thought incase it helped!

from home-assistant-hypervolt-charger.

itsjxck avatar itsjxck commented on September 23, 2024

Oh interesting, thank you @BadgerLoaf! I did not know that, but I will investigate; this will probably work fine for me, as my template sensors state updates every half hour with the current period price, I'll just use that as a trigger.

from home-assistant-hypervolt-charger.

BadgerLoaf avatar BadgerLoaf commented on September 23, 2024

I'm def not expert, so maybe this isn't the right way to do it. But I just have the trigger set to detecting when the sensor changes ("the sensor" being a binary sensor that that I have setup for the on-peak / off-peak status)

So for me it changes as soon as it detects that change.

I'm pretty sure you could just set a trigger that activates when HA detects the price drops below (or goes above) the 12p mark, rather than needing to check every 30mins or something. Should make it more reactive.

Edit:
Sorry ignore me.. i misread your message in my haste! And you already basically said what I put above!

from home-assistant-hypervolt-charger.

itsjxck avatar itsjxck commented on September 23, 2024

I did exactly what you said and coupled it with a dropdown helper to allow me to easily change the threshold at which the automation turns on/off the charger. Probably pretty dull for experts but here's the automation:

alias: Automatic charger config based on energy unit price
description: ""
trigger:
  - platform: state
    entity_id:
      - input_select.charge_mode
      - sensor.octopus_agile_tracker
    to: null
condition: []
action:
  - choose:
      - conditions:
          - condition: or
            conditions:
              - condition: state
                entity_id: input_select.charge_mode
                state: Override
                alias: Charge mode is Override
              - condition: and
                alias: Charge mode is 12p or less and unit price is 12p or less
                conditions:
                  - condition: state
                    entity_id: input_select.charge_mode
                    state: 12p or less
                  - condition: numeric_state
                    entity_id: sensor.octopus_agile_tracker
                    below: 0.12000000000001
              - condition: and
                alias: Charge mode is Free and unit price is 0 or less
                conditions:
                  - condition: state
                    entity_id: input_select.charge_mode
                    state: Free
                  - condition: numeric_state
                    entity_id: sensor.octopus_agile_tracker
                    below: 1.e-9
              - condition: numeric_state
                entity_id: sensor.octopus_agile_tracker
                below: 0
                alias: Always charge when negative
        sequence:
          - device_id: 74f9ccae89e17dfdf7ccfe001954ae6f
            domain: select
            entity_id: select.hypervolt_charge_mode
            type: select_option
            option: Boost
    default:
      - device_id: 74f9ccae89e17dfdf7ccfe001954ae6f
        domain: select
        entity_id: select.hypervolt_charge_mode
        type: select_option
        option: Super Eco
mode: single

from home-assistant-hypervolt-charger.

itsjxck avatar itsjxck commented on September 23, 2024

Yes definitely, it works for me until setting a schedule becomes available.

from home-assistant-hypervolt-charger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.