bugfix idTenant, add fields time sensor & streamCode,