Its a very simple implementation which ITEAD could do. Hard wire a reed switch onto the board so that if the circuit is closed then the switch is off - garage closed. When you trigger the garage to open the reed switch open circuits and the switch is shown as on - garage open. If someone manually closes the door, the reed switch closes and triggers the sonoff to off state. - door closed.
I attach a diagram. Can anyone build this into Ewelink/Sonoff without flashing?