Usage-based maintenance with Apache StreamPipes: count machine operations from a boolean S7 signal, chart usage and send an email when service is due.