Stupidly I thought a doorsensor would indicate the open/closed state too and bought a bunch of them. Unfortunately I purchased them in China so I cant return them. So a bit late to this conversation, but for what its worth I made a mod / hack that sends the close status as a new code. However you need a transistor and two resistors for this (1k and 10k ohm) . This is surely not the most efficient way to do it but it works. You get two individual codes for the open / closed state.
Thought I would share this as it would be sad to waste those sensors. Perhaps someone can use this info too that is in the same boat like me.
I have added a basic schematic - all this with no guarantee that it works I am by no means a professional in this.
So I have decided to further tinker with these sensors - I had a couple of scrap batteries lying around from vapes that people threw on the street and a never ending supply of lipo-chargers in my draw. Also I tided up the circuit, now it easily fits back in the case again - here some pictures
Hey Sorry, for the confusion. In the end it appears that it does not really matter. I played arround with some resistervalues with the hope to make it respond faster but ended up just leaving it as is, as there is some (for me acceptable) delay when the sensor is closed.
Heating up the soldering iron now and will have a crack at it - Just noting the diagram and photo for the leg on “U2” (transmitter?) is not quite the same - I am also opting for the resistors as pictured as apposed to the explaination. Will continue as per video and photo instead of diagram for now