A WSN System Powered by Vibrations to Improve Safety of Machinery with Trailer