Electric devices associated with overhead trolley wires