#Something really off with energy cost calculation

1 messages · Page 1 of 1 (latest)

viral hazel
#

I just noticed this, I'm using Nordpool current price entity.

#

Nordpool current price for today. Nothing special to justify gigantic calculated energy cost

#

Only thing I can think of, is my Shelly 3EM gives values in Wh not in kWh. However the energy dashboard seems to convert the values just fine, as the numbers showing up are totally credible. Maybe in calculating prices it still uses Wh as kWh? Also, it usually calculates the costs just fine...

#

Yesterday the calculation was correct.

royal birch
#

The cost is an entity. Can you see what the cost's history looks like for that day?

viral hazel
#

Look at the second image, Nordpool current price.
Also, the energy sensors look very nice, no spikes or anything suspicious

royal birch
#

Not price sensor, a cost sensor

#

It will have the total accumulated costs

viral hazel
#

how do I find that?

shy flame
#

Wait I’m getting that too, I thought there was something wrong with my energy sensors. Import Peak says 0kwh but also shows $2.74 next to it

#
alias: Grid Import TOU
description: Changes grid import tariff based on the time of day.
triggers:
  - trigger: time
    at: "11:00:00"
    id: 11am
    alias: At 11:00am
  - trigger: time
    at: "14:00:00"
    id: 2pm
    alias: At 2:00pm
  - trigger: time
    at: "16:00:00"
    id: 4pm
    alias: At 4:00pm
  - trigger: time
    at: "23:00:00"
    alias: At 11:00pm
  - trigger: homeassistant
    event: start
  - trigger: state
    entity_id:
      - sensor.fronius_smart_meter_real_energy_consumed
    from:
      - unavailable
      - unknown
conditions: []
actions:
  - choose:
      - conditions:
          - condition: or
            conditions:
              - condition: time
                after: "23:00:00"
                before: "11:00:00"
              - condition: time
                after: "14:00:00"
                before: "16:00:00"
        sequence:
          - alias: Change to Off-Peak
            action: select.select_option
            metadata: {}
            data:
              option: Off-Peak
            target:
              entity_id: select.import
        alias: Off-Peak
      - conditions:
          - condition: time
            after: "16:00:00"
            before: "23:00:00"
        sequence:
          - alias: Change to Peak
            action: select.select_option
            metadata: {}
            data:
              option: Peak
            target:
              entity_id: select.import
        alias: Peak
      - conditions:
          - condition: time
            after: "11:00:00"
            before: "14:00:00"
        sequence:
          - alias: Change to Super Off-Peak
            action: select.select_option
            metadata: {}
            data:
              option: Super Off-Peak
            target:
              entity_id: select.import
        alias: Super Off-Peak
mode: single
#

@viral hazel did you want to submit this as a issue on GitHub