Control SESAME3 from Homebridge by MQTT (support over TLS)
- SESAME3
- SESAME3 Wi-Fi module
- MQTT broker (e.g. mosquitto)
- Homebridge
- Get API_KEY and CLIENT_ID from SESAME3 Dashboard
- Get UUID and Secret Key from SESAME3 app
- (if MQTT over TLS) Genarate CA-key file, Cert-key and Key file
git clone git@github.com:jp7eph/doorman.git
cd ./doorman
# install dependence packages
pip3 install -r requirements.txt
# make config file for deployment
cp config_sample.yaml config.yaml
# suit config file to your environment
vi config.yaml
usage: doorman.py [-h] [-c CONFIG_FILE] [-s SCHEMA_FILE]
Control SESAME3 from Homebridge by MQTT
optional arguments:
-h, --help show this help message and exit
-c CONFIG_FILE, --config-file CONFIG_FILE
the path to YAML config file. If not specified, defaut
path(./config.yaml).
-s SCHEMA_FILE, --schema-file SCHEMA_FILE
the path to schema file for YAML validation. If not
specified, defaut path(./schema.yaml).
# suit unit file to your environment
vi ./systemd/doorman.service
# register systemd service
sudo ln -s ./systemd/doorman.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl start doorman.service
# start doorman automatically when system start up
sudo systemctl enable doorman.service