Controlling heat pump load depending on degree excess PV

Anybody knowing of devices that can do this?