stm32-fmt-code/access_control_python/access_control_mqtt.py

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