I would say, pull it from the ceiling (or where ever it's fitted), so it can be placed back in and taken out easily, and just give it a test. If it's not that sensitive to blowing cannabis smoke straight on to it, just having the window open should be fine. I've got one in my room which is reasonably small, and it has never gone off threw smoking in my room which I do more than frequently.