Hi,
i hvae configured my EDIMAX SP2101W.
I can turn on and off but i can’t see the energy values.
The following Template is used:
template:
- sensor:
- name: Edimax Current power consumption
unit_of_measurement: "W"
state: "{{ state_attr('switch.edimax_smart_plug', 'current_power_w') | default(0, true) }}"
- name: Edimax Accumulated daily power consumption
unit_of_measurement: "kWh"
state: "{{ state_attr('switch.edimax_smart_plug', 'today_energy_kwh') | default(0, true) }}"
Has anybody an idea?
Regards
Herbert
i Have found the following:
Welcoming new helpers to the UI, including groups! Helpers for switches with an identity crisis, updates, backups, performance improvements, and more!
Alle energy attributes are removed.
Is there a way to read the energy values ??
Regard
Herbert
wobeco
October 13, 2023, 11:12am
3
Thanks - the entry in configuration.yaml reads:
`# EDIMAX-Geräte
switch:
platform: edimax
host: 192.168.188.xx1
name: "EdimaxTeich"
platform: edimax
host: 192.168.188.xx4
name: "EdimaxGefrierschrank"
platform: edimax
host: 192.168.188.xx3
name: "EdimaxKuecheUT"
template:
sensor:
name: EdimaxTeich Current power consumption
unit_of_measurement: "W"
state: "{{ state_attr('EdimaxTeich', 'current_power_w') | default(0, true) }}"
name: EdimaxTeich Accumulated daily power consumption
unit_of_measurement: "kWh"
state: "{{ state_attr('EdimaxTeich', 'today_energy_kwh') | default(0, true) }}"
sensor:
name: EdimaxGefrierschrank Current power consumption
unit_of_measurement: "W"
state: "{{ state_attr('EdimaxGefrierschrank', 'current_power_w') | default(0, true) }}"
name: EdimaxGefrierschrank Accumulated daily power consumption
unit_of_measurement: "kWh"
state: "{{ state_attr('EdimaxGefrierschrank', 'today_energy_kwh') | default(0, true) }}"
sensor:
name: EdimaxKuecheUT Current power consumption
unit_of_measurement: "W"
state: "{{ state_attr('EdimaxKuecheUT', 'current_power_w') | default(0, true) }}"
name: EdimaxKuecheUT Accumulated daily power consumption
unit_of_measurement: "kWh"
state: "{{ state_attr('EdimaxKuecheUT', 'today_energy_kwh') | default(0, true) }}"
`
The entities can also be included in the dashboard, but do not show any values (always ‘0’), although corresponding live data can be read via the Edimax app.
Where could the error be?
Many thanks in advance.
Is there a soloution for this?
dstueven
(Dstueven)
February 25, 2024, 2:27pm
5
I have the same problem. Comparable config. No errors in the log. I can control the switch but always read a laue of 0 for the current.
Anybody who has that working on the actual release?
Regards Dirk
peterbr
(peter)
April 24, 2024, 9:18am
6
Anyone found a solution yet? I have same problem as other users reported here, switch shown in HA no power readings, no errors.