The energy variometer gives the rate change of total energy of the aircraft expressed in vertical knots.
A traditional variometer gives the vertical speed of the aircraft derived from the change in barometric pressure. This is very useful for gliding, especially when looking for thermals that lift you up. The problem with ordinary variometers is that they do not indicate why the glider is climbing; is it due to a thermal / ridge wind or is it because the pilot pulled up and the aircraft is losing speed.
When the aircraft is climbing in a thermal or ridge wind, the total energy is increasing. When the aircraft is climbing while it is exchanging speed for altitude the total energy is constant (neglecting drag).
Energy equations
Total energy is the sum of kinetic energy and potential energy:
$E_{tot} = E_{kin} + E_{pot}$
Kinetic energy is proportional to the velocity squared:
$E_{kin} = \tfrac{1}{2}mV^2 $
Potential energy is proportional to the height:
$E_{pot} = mgh$
So a change in total energy is the result of the changes in kinetic and potential energy.
$\Delta E_{tot} =\Delta E_{kin} +\Delta E_{pot}= \tfrac{1}{2}m\Delta(V^2)+mg\Delta h$
Differentiating with respect to time gives:
$\frac{\textrm{d}E_{tot}}{\textrm{d}t} =mV\frac{\textrm{d}V}{\textrm{d}t}+mg\frac{\textrm{d}h}{\textrm{d}t}$
The climbrate ($\frac{\textrm{d}h}{\textrm{d}t}$) resulting from exchange of kinetic energy to potential energy can be expressed by:
$\frac{\textrm{d}h}{\textrm{d}t} = -\frac{V}{g}\frac{\textrm{d}V}{\textrm{d}t}$
with $-\frac{\textrm{d}V}{\textrm{d}t}$ being the deceleration.
This is the correction that is applied to the ordinary variometer to obtain the energy variometer. This can be done in an electronic way but amazingly it can also be done by mechanical pressure measurement.
Total energy and pressure measurements
When we look at pressure measurements that are used to calculate the airspeed, there is a striking similarity to the energy equation.
A pitot tube facing the incoming airflow measures total pressure which is the sum of static pressure $P_s$ and the dynamic pressure $q_c$
The dynamics pressure, which is the measure for airspeed, is given by
$P_t =P_s+q_c =P_s + \tfrac{1}{2}\rho V^2 $
Note that $q_c$ scales proportionally with kinetic energy. The static pressure changes with height but it decrease while potential energy increases.
When mounting the pitot tube backwards with the total pressure port facing backwards, the total pressure measurement would change to:
$P_t =P_s-q_c =P_s - \tfrac{1}{2}\rho V^2 $
When the aircraft trades kinetic energy for height, the speed drops so the term
$-\tfrac{1}{2}\rho V^2$ would increase in value (becomes less negative).
At the same time, the static pressure $P_s$ decreases with the same amount due to the climb. The result is that the total pressure measurement from this aft facing port remains unchanged when the total energy of the aircraft is constant. That is why an aft facing pitot port is called a Total Energy probe (TE probe).
The rate of change of the $P_t$ is a direct measure of the rate of change of total energy. So while an ordinary variometer measures rate of change of static pressure, the energy variometer measures rate of change of the total pressure of an aft facing pitot port.
To work best, a TE probe must be in undisturbed air. This is difficult as the probe itself is ahead of the pressure port so there is always some turbulence affecting the measurement. A common approach is to have the probe stick out in front the vertical stabilizer.

The pressure port is at the end of the tube, facing the vertical tail plane:
