An electronic lock controller circuit for controlling a lock actuator motor compatible with a plurality of lock signal generators including those that drive motors in two directions by means of a legacy pulse as well as those intended to drive a solenoid actuator in a single direction against a default locked or unlocked state by means of an off and on solenoid power signal, said circuit comprising: an input for receiving a legacy pulse from a legacy pulse generator; a power circuit for extracting power from the legacy pulse to power the electronic lock controller circuit; a detector circuit for detecting a polarity of the legacy pulse; and a microcontroller having an output for connection to a lock actuator motor, said circuit being characterised in that the microcontroller is configured to send an output pulse via the output to control the lock actuator motor, the output pulse having reduced power as compared to the legacy pulse at the input; said circuit being further characterised in that it comprises: a power storage circuit for storing power; and a solenoid input for receiving an off and on solenoid power signal from a solenoid power generator, the microcontroller being further configured to use power from the solenoid power signal when the solenoid power signal is on to operate the circuit and drive the lock actuator motor, the circuit being configured to store power in the power storage circuit when the solenoid power signal is on, and the microcontroller being further configured to use stored power when the solenoid power signal is off to operate the circuit and drive the lock actuator motor back to the default state. an input for receiving a legacy pulse from a legacy pulse generator; a power circuit for extracting power from the legacy pulse to power the electronic lock controller circuit; a detector circuit for detecting a polarity of the legacy pulse; and a microcontroller having an output for connection to a lock actuator motor, said circuit being characterised in that the microcontroller is configured to send an output pulse via the output to control the lock actuator motor, the output pulse having reduced power as compared to the legacy pulse at the input; said circuit being further characterised in that it comprises: a power storage circuit for storing power; and a solenoid input for receiving an off and on solenoid power signal from a solenoid power generator, the microcontroller being further configured to use power from the solenoid power signal when the solenoid power signal is on to operate the circuit and drive the lock actuator motor, the circuit being configured to store power in the power storage circuit when the solenoid power signal is on, and the microcontroller being further configured to use stored power when the solenoid power signal is off to operate the circuit and drive the lock actuator motor back to the default state. a power storage circuit for storing power; and a solenoid input for receiving an off and on solenoid power signal from a solenoid power generator, the microcontroller being further configured to use power from the solenoid power signal when the solenoid power signal is on to operate the circuit and drive the lock actuator motor, the circuit being configured to store power in the power storage circuit when the solenoid power signal is on, and the microcontroller being further configured to use stored power when the solenoid power signal is off to operate the circuit and drive the lock actuator motor back to the default state.