The door sensor supported by Viva is supplied by Aeotec. It detects the opening and closing of doors and windows using a magnet. 
Reset
- Remove the cover of Door / Window Sensor 7
- Press and hold tamper switch for 5 seconds until the red LED blinks.
- Release the tamper switch
- Immediately press and hold the tamper switch again, the LED will flash red 5 times while holding.
- A green LED will confirm reset, which you may release the tamper switch.