에너지모니터링(Efergy)


Efergy 미터기 정보를 Home Assistant에 연동하십시오.

셋업

앱 토큰을 얻으려면 :

  1. Log in to your efergy account
  2. Go to the Settings page
  3. Click on App tokens
  4. Click “Add token”

설정

센서를 활성화하려면 configuration.yaml에 다음 줄을 추가하십시오 :

# Example configuration.yaml entry
sensor:
  - platform: efergy
    app_token: APP_TOKEN
    utc_offset: UTC_OFFSET
    monitored_variables:
      - type: instant_readings
      - type: budget
      - type: cost
        period: day
        currency: $
      - type: amount
        period: day
      - type: current_values

Configuration Variables

app_token

(string)(Required)

The App Token for your account.

utc_offset

(string)(Optional)

Some variables (currently only the daily_cost) require that the negative number of minutes your timezone is ahead/behind UTC time.

Default value:

0

monitored_variables

(list)(Required)

Variables to monitor.

type

(list)(Required)

Name of the variable.

instant_readings

Instant energy consumption.

budget

Monthly budget.

cost

The cost for energy consumption (with the tariff that has been set in Efergy) over a given period.

amount

The amount of energy consumed over a given period.

current_values

This returns the current energy usage of each device on your account, as efergy_\<sid of device\>. If you only have one device in your account, this is effectively the same as instant_readings.

period

(string)(Optional)

Some variables take a period argument. Valid options are “day”, “week”, “month”, and “year”.

Default value:

year

currency

(string)(Optional)

This is used to display the cost/period as the unit when monitoring the cost. It should correspond to the actual currency used in your dashboard.