Homey Community Forum

Home Cloud or Local with Custom Andriod App

Hi I am looking to automate the house for a customer of mine which runs a 5 bed multi let hotel. He has many properties like this.

I should be able to choose the hardware from the ecosystem , connect is using gateway and then using Cloud APi should be able to control the devices.

Once such use case is, if the PIR do not detect any movement for X hours turn all the lights off in that room.

Do you think something like this is possible?

Please suggest.