Raspberry pi & file manipulation

Job ID: 32806855

Budget: $250 – $750 USD

Hello, I need a quote for a project based on raspberry pi and python. I have a small program, a sensor will turn on every time a machine starts running. This sensor is attached to one of the pins of the raspberry pi. It is a basic script (attached here), basically when the machine is turn on the Pi will print “machine ON” and when machine is turn off the Pi will print “machine OFF”.

What I need is:
- a script that shows how much time the machine is off every hour from 6am to 6am from Monday to Saturday. So basically is a machine downtime monitoring system.

- I need it Quick.

Thank you.
Related categories: Python Data Processing Data Entry Excel Raspberry Pi