Il faudrait commencer par normaliser vos relations. En particulier :


realtimes.sensor_aux2,
realtimes.sensor_aux3,
...