Efergy broken since this morning at 10:00 CET

Hi all,

Efergy energy usage seems broken since this morning.
Energy consumed and cost works as far as I can tell.

I get a lot of:

Log Details (WARNING)
Mon Jan 22 2018 19:05:20 GMT+0100 (W. Europe Standard Time)

Could not update status for Energy Usage

I also received an email this afternoon from efergy stating that they had done some work on their platfrom.
Does anyone else have the same issue?

/Anders

Same here,
I think since they were down for maintenance.
Daily consumption works, Live consumption is unavailable:
image

Unavailable spam in the logs too:


2018-01-22 22:16:01 WARNING (SyncWorker_3) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
2018-01-22 22:16:32 WARNING (SyncWorker_3) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
2018-01-22 22:17:03 WARNING (SyncWorker_1) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
2018-01-22 22:17:32 WARNING (SyncWorker_0) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
2018-01-22 22:18:05 WARNING (SyncWorker_4) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
2018-01-22 22:18:34 WARNING (SyncWorker_1) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
2018-01-22 22:19:06 WARNING (SyncWorker_11) [homeassistant.components.sensor.efergy] Could not update status for Energy Usage
goes on...

See here

https://github.com/home-assistant/home-assistant/issues/11861

Work around it to use “current_values” sensor.

Thanks for the input.
Can you elaborate on the current_values fix?
Step by step please :slight_smile:

Here is my sensor yaml with the new current values added at the bottom. I also modified the name in the customize yaml

  • platform: efergy
    app_token: !secret efergy_token
    utc_offset: 0
    monitored_variables:
    • type: instant_readings
    • type: budget
    • type: cost
      period: day
      currency: ÂŁ
    • type: amount
      period: day
    • type: current_values

It’s fixed now so you should be good again. I have closed my issue on GitHub.

Thanks for your info! I tried the current_values type and that worked perfect.

1 Like

The Current_Values item is broken. Efergy have told me that I should not use that and the “API” is for developers and development stage only!

A bit of investigation led to me discovering that getInstant interface was broken but getCurrentValuesSummary is not. The sensor looks a bit daft now as it called efergy_728324!

The current yaml example for Efergy is incorrect.

Man, I just bought it …

The rest works a treat, Claudio - Just use getCurrentValuesSummary

Where do we use this?
Sry, I’m confused

You need something like this in the config file…

sensor 2:

  • platform: efergy
    app_token: <insert_app_token_here>
    utc_offset: 0
    monitored_variables:
    • type: current_values
    • type: amount
      period: day

You can get the app token from the efergy site by following the instructions here:
https://home-assistant.io/components/sensor.efergy/

where do you put this. Please be more clear, thanks

Hey @anon35356645
Here is my config in case it helps u out:

  # Efergy Engage Monitor
  - platform: efergy
    name: energy_XXXX
    app_token: XXXX
    utc_offset: 120
    monitored_variables:
      - type: current_values
      - type: amount
        period: day
    icon: mdi:flash-outline
    
    
  - platform: efergy
    name: energy_XXX
    app_token: XXXXXX
    utc_offset: 120
    monitored_variables:
      - type: current_values
      - type: amount
        period: month
    icon: mdi:flash-outline
  

Once you set them up, go into the States page (<>) and search for efergy keyword.
It should be something like sensor.efergy_823782
Then take this entity and do it what you wish :slight_smile:

(i have to different account with different efergy accounts that’s why the double entry)
I have another issue though, the second one always works .
The first one some times appears, sometimes not… :slight_smile:

I have the belowsensor popping out ( I have so many sensor, I am not sure they are all from efergy)

  • sensor.energy_budget
  • sensor.energy_consumed
  • sensor.energy_cost
  • sensor.energy_usage
  • sensor.perdevice_usage
  • sensor.efergy_802171

arte they correct, are they all?

My config is

  - platform: efergy
    app_token: g 2bvmfe7Qm
    utc_offset: 60
    monitored_variables:
      - type: instant_readings
      - type: budget
      - type: cost
        period: day
        currency: E
      - type: amount
        period: day
      - type: current_values

I think you can remove the instant_readings
and use the current_values instead.

the sensor.efergy_802171 should be your new instant readings sensor, isn’t it working?

yes is working, as energy consumption (kwh)

The below sensors are unknowbn, are they from efergy?

  • sensor.energy_usage
  • sensor.perdevice_usage

I think the energy_usage is the previous sensor that is broken now, you can remove it i guess.
As for the perdevice_usage, it doesnt work for me either, but i think they might be testing out something similar to Sense energy monitor, that can understand which device is on etc.
Hopefully they will launch it soon.

that will be very cool.

On another issue/request: is it possible to have a daily average use?

If there is not from the Efergy wensite, should not be too difficult to make the average from previous data

Yeah, I don’t thing Efergy will implement something like this anytime soon.
Maybe someone can do it within HA somehow.