I use an OnlineChecker script to see if my partners or my phone is at home. The script triggers a virtual switch (on is ‘at home’, off is ‘away’). I would like to have a light switch on if one of us comes at home during the night: e.g. IF Time > 0:30h and time < 4:00h AND switch person1 OR person2 tu ...