API for user stats / status

If it is indeed a network connectivity issue, you don’t even have to write your own script. Just use the one in this post. PiAware WiFi looses connection randomly - Work-round found