Hi Maxe2,
You can see the code FanOfHue made on github and use it for your sensor!
https://github.com/SmartNodeRules/ESPCoreRules
Hi Maxe2,
Did you measure the powerconsumption when running the doorsensor on tasmota/is the esp8266 put to sleep/deepsleep using interrupts? I'm very curious about batterylife of those sensors when running on tasmota!