Mercurial > code > home > repos > homeauto
annotate service/espNode/tasks.py @ 1460:dff065147f57 dependabot/pip/service/irRemote/requests-2.20.0
Bump requests from 2.18.4 to 2.20.0 in /service/irRemote
Bumps [requests](https://github.com/requests/requests) from 2.18.4 to 2.20.0.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/requests/requests/compare/v2.18.4...v2.20.0)
Signed-off-by: dependabot[bot] <support@github.com>
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
---|---|
date | Sun, 03 Nov 2019 10:01:33 +0000 |
parents | 5e8f1fcfbc79 |
children | 438edc93e29e |
rev | line source |
---|---|
1399 | 1 from invoke import task |
2 | |
3 @task | |
4 def program_board_over_usb(ctx, board): | |
5 tag = 'esphome/esphome' | |
6 ctx.run(f"docker run --rm -v `pwd`:/config -v /usr/share/fonts:/usr/share/fonts --device=/dev/ttyUSB1 -it {tag} {board}.yaml run", pty=True) | |
7 | |
8 @task | |
9 def program_board_over_wifi(ctx, board): | |
10 tag = 'esphome/esphome' | |
11 ctx.run(f"docker run --rm -v `pwd`:/config -v /usr/share/fonts:/usr/share/fonts -it --net=host {tag} {board}.yaml run", pty=True) | |
12 | |
13 @task | |
14 def monitor_usb(ctx, board): | |
15 tag = 'esphome/esphome' | |
16 ctx.run(f"docker run --rm -v `pwd`:/config --device=/dev/ttyUSB0 -it {tag} {board}.yaml logs", pty=True) |