doorman/README.md
Martin Dimitrov 9a1f4877db
Some checks failed
Build and push Doorman UI / API / docker (push) Failing after 34s
add ci for twilio
2024-10-26 11:13:47 -07:00

35 lines
636 B
Markdown

# doorman
To install dependencies:
```bash
bun install
```
To run:
```bash
bun run index.ts
```
This project was created using `bun init` in bun v1.0.3. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
## to deploy Doorman API / UI
```bash
bun run deploy-serverless
```
## homeassistant integration
in configuration.yaml
```
switch:
- platform: rest
name: Doorman
icon: mdi:door-closed-lock
state_resource: https://doorman.chromart.cc/api/door/info?door=buzzer
resource: https://doorman.chromart.cc/api/door/auth?door=buzzer&key=1991
is_on_template: "{{ value_json.status == 'OPEN' }}"
```