Is it possible to set the inactivity interval more precisely than in hours?

Yes; however, it requires a bigger change in the code. Current time can be determined with the or os.time function. The conditions would need to be modified, too.

Ask for a price or technical parameters

For device testing use name/password demo/demo