improved ping request, use different ids for different devices, more config options, renamed delay to interval