Further adventures in tasmotizing:
Blitzwolf LT-30 E27 socket adaptorIt's just a relay for switching lights on and off. Regular readers will know that I installed a several of
very bright Sansi E27 lamps on account of being one of the few brands of LED lamp that are properly engineered not to flicker, so it being E27 was only a minor inconvenience.
The main objective here was hands-free operation of the kitchen light, in order that a) barakta doesn't have to turn the light off with her nose on the way upstairs due to lack of hands and b) I stop getting chain oil on the switch. Bonus points for automating the other lights between the sink and the bike chains...
This one's dead easy. Proper screws, no spudging, nice clearly marked 0.1" programming header on the board. All you need are some dupont cables and a blob of blu-tac. Upload the firmware, and job's a good'un.
Training ourselves out of turning the kitchen light off at the switch is a work in progress. This is why I'd have preferred to use a Shelly. All you old people with your own houses don't realise how lucky you are.
D06 contact sensorFrom the department of so cheap it would be rude not to. This one's a bit (okay, a lot) more involved. Getting into the case is a matter of a quick flick with the spudger, to lull you into a false sense of security.
The battery-powered architecture is such that a ubiquitous 8-pin microcontroller powers up the ESP briefly in order to communicate when the contact state changes. So the first thing you have to do is remove a 0 ohm 0406 resistor and (depending on PCB revision) sever the track below it with a scalpel, in order to break the serial line between the two micros. Then you can tack some wires onto the pins of the ESP, and flash the (special, low power) firmware. I then strongly recommend disconnecting GPIO0 and performing the rest of the configuration with external power still present, as it's much easier when it doesn't keep going to sleep. Note that you won't get any response from the 8-pin micro until that link resistor is replaced (possibly with a Mk 1 solder blob).
Doing something useful with Tasmota's rules left as an exercise for the reader. The dummy relay approach to storing contact state across power cycles seems to work well, though.
This is probably a good time to remind people that polypropylene-friendly hot glue is vastly preferable to self-untapping screws for attaching things to PVC window frames: Quick, strong and easily removed with a squirt of IPA.