Open automatically the door if an rfid card is active or not in using REST