Smart solution to flows for presence & door sensors?