Refactorings.
Decoupled sensor event send logic from service and put it into own controller (SendSensorDataController).
Batch sending of sensor data.
Proper DTOs for other message types.