A linear energy harvesting device that includes a housing and a piston that moves at least partially through the housing when it is compressed or extended from a rest position. When the piston moves, hydraulic fluid is pressurized and drives a hydraulic motor. The hydraulic motor drives an electric…