Efergy Switch in HASS

Any one know where i get the app_token?

Hi mate, I hope you followed the official component documentation for efergyā€¦ In case that document is not clear enough, in brief login to your engage efergy account and then go to settings and select the last menu ā€œApp tokensā€ there. Then you can add token in that pageā€¦ Then copy the token and use in your homeassistant configuration. The efergy link should look like this below:

https://engage.efergy.com/settings/tokens

Ok i must have a hub ā€¦ i have only the Wi-Fi Efergy Egoā€¦

for now Wi-Fi Efergy Ego work fine with HA just on / off

1 Like

Hi,
Can you please explain how did you connect the Efergy Ego to the HA?

Thank You

i use Brodlink SP2 component .

1 Like

So ROme, Paris, etc ā€¦ i utc is +60?

Yesā€¦ I believe soā€¦

Can you post the config code used to set Thi switch up? I have the hub usage working but canā€™t see how to get my two switches working.

Hi, I am a total newbie to HA moving from Smartthingsā€¦
I have the Efergy System so thought Iā€™d try to install but I see nothing anywhere, I assumed I would see something on the home page?
I have followed BertrumUK file structure. I do however get a config error extra keys not allowed @ data[ā€˜groupā€™] I have set up all the files, added Token (which all works in Smartthings) and think I have followed process but no success. It is likely to be a real Newbie error. Any advice appreciated.

You need to paste your code. Paste it between the link above </> to preserve the formatting

That was all in the sensors.yaml

  • platform: efergy
    app_token: as provided
    utc_offset: -600
    monitored_variables:

    • type: instant_readings
    • type: budget
    • type: cost
      period: day
      currency: Ā£
    • type: amount
      period: day
  • platform: yr
    name: Weather
    forecast: 24
    monitored_conditions:
    - temperature
    - symbol
    - precipitation
    - windSpeed
    - pressure
    - windDirection
    - humidity
    - fog
    - cloudiness
    - lowClouds
    - mediumClouds
    - highClouds
    - dewpointTemperature

Can you post the error message as well?

I get the following:
extra keys not allowed @ data[ā€˜groupā€™]
I have copied the Group.yaml as per your example:
Energy Usage:
entities:
- sensor.energy_budget
- sensor.energy_usage
- sensor.energy_consumed
- sensor.energy_cost

default_view:
view: yes
entities:

  • group.energy_usage

I have no entry for Efergy in the Entity area.
Please bear in mind I am absolutely new to HA (from Smartthings) so am probably missing something basic unrelated to the add-on.
Many thanks for your help greatly appreciated.

Itā€™s difficult to see how your code is. Look at the banner at the top of this page to see how to paste your code and logs.

Does your yr sensor work ok?

Yes yr is fine.

Ok then please edit your post to get the formatting correct on your post. It is not possible to check it properly if not formatted correctly as per the top of the page banner.

On HA under developer tools press the 2nd from the left icon < > and confirm that your sensor entries for efergy are there. If all of some are not there then they wonā€™t work in the group card.

Mine has been updated a little since since my posts above but you can only display what you have here on your setup.

  - platform: yr
name: Weather
forecast: 24
monitored_conditions:
  - temperature
  - symbol
  - precipitation
  - windSpeed
  - pressure
  - windDirection
  - humidity
  - fog
  - cloudiness
  - lowClouds
  - mediumClouds
  - highClouds
  - dewpointTemperature 
  • platform: efergy
    app_token: token code
    utc_offset: UTC_OFFSET
    monitored_variables:
    • type: instant_readings
    • type: budget
    • type: cost
      period: day
      currency: $
    • type: amount
      period: day
    • type: current_values

Hopefully the above is correctā€¦
None of those sensors exist - I was checking in the correct area
Heres what the log says:
sensor: [source /config/configuration.yaml:13]
- platform: yr
forecast: 24
monitored_conditions: [source /config/sensors.yaml:4]
- temperature
- symbol
- precipitation
- windSpeed
- pressure
- windDirection
- humidity
- fog
- cloudiness
- lowClouds
- mediumClouds
- highClouds
- dewpointTemperature
name: Weather
- platform: efergy
app_token: token code
monitored_variables: [source /config/sensors.yaml:22]
- type: instant_readings
- type: budget
- currency: $
period: day
type: cost
- period: day
type: amount
- type: current_values
utc_offset: UTC_OFFSET
time_zone: GMT
unit_system: metric
Successful config (partial)
homeassistant:

Also this further up the log after restart:

Testing configuration at /config
Failed config
homeassistant:
- extra keys not allowed @ data[ā€˜groupā€™]
- customize: [source /config/configuration.yaml:11]
sensor.energy_budget: [source /config/customize.yaml:1]
icon: mdi:power-plug
sensor.energy_consumed: [source /config/customize.yaml:3]
icon: mdi:power-plug
sensor.energy_cost: [source /config/customize.yaml:5]
icon: mdi:power-plug
sensor.energy_usage: [source /config/customize.yaml:7]
icon: mdi:power-plug
elevation: 105
group: [source /config/configuration.yaml:12]
Energy Usage: [source /config/groups.yaml:1]
default_view: [source /config/groups.yaml:7]
entities: [source /config/groups.yaml:9]
- group.energy_usage
view: True
entities: [source /config/groups.yaml:2]
- sensor.energy_budget
- sensor.energy_usage
- sensor.energy_consumed
- sensor.energy_cost

The group wonā€™t work until the sensor works and picks up your api key. I would cut or # out all your group data until you get the data working into HA.

If you log into your account on their site does it show the following image for the API token that you generated? You could always try generating a new one to see if that works.

****** I wonder if the key is throwing an error as you have used it before with SmartThings. Generating a new one maybe what you need to do *******

I see the following, I have a few tokens:

12/11/2018 at 14:10:48	"Long token reference"   engage	website	Revoke token

Ive generated new tokens and not using the one for ST. It works fine in ST and on their site I just dont think HA is picking anything up.
Iā€™ve removed all group references.

Search your log file for any errors with the Engage / Efergy platform and paste them here.