Barking sensor