A sensor device which is used to provide a control device with at least one operating parameter of an oscillating conveyor, the control device being used to control a drive device for exciting oscillation of an oscillating rail on the basis of the operating parameter, the sensor device comprising at least one sensor element for recording the operating parameter or at least one measured value from which the operating parameter can be determined, wherein the sensor device comprises at least one communication device for wirelessly transmitting the operating parameter to the control device and an energy supply device for supplying the sensor device with operating energy, the energy supply device being used to convert a vibration generated by the drive device and/or electromagnetic radiation into the operating energy.