Safety devices, e.g. detection of obstructions or end positions specially adapted for mechanisms operated by fluid pressure, e.g. detection by monitoring transmitted fluid pressure