view board/tasks.py @ 11:020b84ff0c7f

board
author drewp@bigasterisk.com
date Wed, 26 Jun 2024 22:23:34 -0700
parents
children
line wrap: on
line source

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)