IoT for pest management