Well, it does sound like a good plan.. to just straight up tell them about your smoking.

However, do you think they will freak out? Do you think they'll demand you to stop or move out? Gotta think about these kinds of things. If you think they'll be upset, but eventually okay with it, then I'd take the chance. Otherwise, don't do it, especially while you're living under their roof.