annotate service/arduinoNode/makefile @ 1149:163042261ef1

rename board0 to boardBang. add other temp sensor. Ignore-this: 10df00e617c1f4d5b4427efb5e9a544d darcs-hash:cb8ca1761579e8eb0932271f62513ae4b7e93fc4
author drewp <drewp@bigasterisk.com>
date Sat, 14 Apr 2018 23:47:34 -0700
parents 8b4eda2cf0bd
children 8f5a16a55f64
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1141
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 build_image:
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2 (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py)
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 docker build --network=host -t bang6:5000/arduino_node .
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4 docker push bang6:5000/arduino_node
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6 shell:
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 docker run -it --net=host bang6:5000/arduino_node /bin/sh
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9 local_run:
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
10 docker run -it -p 9059:9059 --device=/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0 --net=host bang6:5000/arduino_node python ./arduinoNode.py -v
1148
8b4eda2cf0bd fix pushconfig
drewp <drewp@bigasterisk.com>
parents: 1141
diff changeset
11
8b4eda2cf0bd fix pushconfig
drewp <drewp@bigasterisk.com>
parents: 1141
diff changeset
12 push_config:
8b4eda2cf0bd fix pushconfig
drewp <drewp@bigasterisk.com>
parents: 1141
diff changeset
13 bin/python pushConfig.py arduino/