Adding magnetic sensor to my automated garage door

In my early experiment I show how easy to convert a standard garage door to app control garage door. In this experiment we will extend the capability to read a magnetic sensor to show the door status in the mobile apps.

Adding sensor to Shelly 1

Adding magnetic sensor to DC pawer Shelly 1
Adding magnetic sensor to AC pawer Shelly 1

Shelly apps setup

Red inside the button showing the current status of the garage door