Mercurial > code > home > repos > front-door-lock
changeset 13:3014db0a5500 default tip
mv board to proj/micro, rename this repo with dashes
author | drewp@bigasterisk.com |
---|---|
date | Fri, 28 Jun 2024 17:08:09 -0700 |
parents | 53e4020141fd |
children | |
files | board/door.yaml board/tasks.py skaffold.yaml |
diffstat | 3 files changed, 1 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- a/board/door.yaml Wed Jun 26 22:23:46 2024 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -esphome: - name: frontdoorlock - platform: ESP32 - board: lolin32 -# build_path: . -# arduino_version: espressif32@>=1.4.0 - -switch: - - platform: gpio - pin: 2 - name: "strike" - -wifi: - ssid: !secret wifi_ssid - password: !secret wifi_password - -mqtt: - broker: 'mqtt1.bigasterisk.com' - port: 1883 - keepalive: 20s - -logger: - baud_rate: 115200 - level: DEBUG -
--- a/board/tasks.py Wed Jun 26 22:23:46 2024 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -from invoke import task - - -@task -def reprogram(ctx): - # no OTA on door strike esp32. - ctx.run('pdm run esphome run door.yaml --device /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_019011FE-if00-port0', pty=True)