Position sensor wireless: best solution?

I’m looking for a solution for a wireless (waterproof) sensor I can apply to my blinds. It should tell, if the blinds are blocked and they’re not horizontally level anymore… It doesn’t matter which technology.

Some ideas? Thanks!