Mechanical oscillators provide a quintessential example of the profound difference between quantum and classical behaviour. However, the quantum regime is yet to be observed. Rapid progress is underway in cavity optomechanical systems (COMS) and nanoelectromechanical systems (NEMS). COMS have superior mechanical transduction sensitivity, able to resolve mechanical zero-point fluctuations. However, the electrical actuation of NEMS provides far greater scope for quantum control. By combining electrical gradient forces from NEMS with the ultrasensitive transduction from COMS, we implement a cavity optoelectromechanical system (COEMS), demonstrating both control and feedback cooling capabilities. Out-of-loop mechanical transduction provides, for the first time, independent temperature verification even when opto-mechanical correlations exist due to strong interactions such as measurement backaction. This technology has significance in fundamental science, improving our capacity to engineer mechanical quantum systems and presenting an enabling step towards the new realm of quantum nonlinear mechanics; and has applications in photonic circuitry and ultraprecise sensing.