comparison espNode/tasks.py @ 1718:82213d91471c

new cam component with http server
author drewp@bigasterisk.com
date Sun, 07 Aug 2022 04:43:47 -0700
parents e9540ee0cf73
children 097bfd91187d
comparison
equal deleted inserted replaced
1717:e9540ee0cf73 1718:82213d91471c
82 82
83 83
84 def prep_tmp(ctx, project): 84 def prep_tmp(ctx, project):
85 tmp = Path(f'/tmp/esphome_build/{project}') 85 tmp = Path(f'/tmp/esphome_build/{project}')
86 ctx.run(f'mkdir -p {tmp}') 86 ctx.run(f'mkdir -p {tmp}')
87 ctx.run(f'cp secrets.yaml {tmp}') 87 ctx.run(f'rsync -a component secrets.yaml {tmp}')
88 return tmp 88 return tmp
89 89
90 90
91 @task 91 @task
92 def program_cam_ota(ctx, name='0'): 92 def program_cam_ota(ctx, name='0'):