@john,
fixed the iPhone issue.
i turned on "sync over wifi"in itunes.
this apparently bypasses some kind of battery saver feature in the iphone 4s so that it stays more awake(it still goes to sleep) without draining the battery.
weird thing is that only the 4s has this problem.
older 4, ipad2 and newer air2, iphone6 were never affected.
probably a buggy battery saver implementation.
also changed my presence script
it now checks for all the devices and only flips 1 "presence"switch using json instead of flipping multiple switches
fixed the iPhone issue.
i turned on "sync over wifi"in itunes.
this apparently bypasses some kind of battery saver feature in the iphone 4s so that it stays more awake(it still goes to sleep) without draining the battery.
weird thing is that only the 4s has this problem.
older 4, ipad2 and newer air2, iphone6 were never affected.
probably a buggy battery saver implementation.
also changed my presence script
it now checks for all the devices and only flips 1 "presence"switch using json instead of flipping multiple switches