Quick question. Since these work magnetically does the sensor just detect "a" magnetic field as opposed to "not a" magnetic field? Or is there a way to use more than one magnet to one sensor?
And if there is, is it possible to write a driver that'll accept different values of magnetic to indicate different values of closed (ie a window with 2 panels and a central bar, with a trigger magnet on the panel and the sensor on the bar)? So you'd get - all closed - one open - both open - other open options for actions.
Just a random thought.
Driver works fantastically with the ones I got in the aliexpress tat-hunters sale.
Managed to get hold of 2 tuya Wi-Fi T/H sensors, 2 tuya zigbee T/H and 3 tuya zigbee contact sensors with one that has a tamper sensor on it, that'd be good to have working (it's a little release to make switch so it trips when someone removes the sensor). They should be good to go with CR2032 upgrades over the CR2016 I think in there for a good bit of battery life help.