24 lines
399 B
Python
24 lines
399 B
Python
|
import paho.mqtt.client as mqtt
|
||
|
|
||
|
BASE_TOPIC = "/facescan"
|
||
|
|
||
|
class access_control:
|
||
|
def __init__(self, serial_port: str):
|
||
|
pass
|
||
|
|
||
|
def light_on(self):
|
||
|
pass
|
||
|
def light_off(self):
|
||
|
pass
|
||
|
def get_door_state(self) -> bool:
|
||
|
pass
|
||
|
|
||
|
def get_scan_state(self) -> bool:
|
||
|
pass
|
||
|
|
||
|
def lock_door(self):
|
||
|
pass
|
||
|
|
||
|
def unlock_door(self):
|
||
|
pass
|