working websockets sending intervention data