Start moving to new hardware

This commit is contained in:
2021-01-07 01:10:42 +00:00
parent 4c4d01418f
commit 690b54b9de
11 changed files with 1264 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
weather:
mkdir -p bin/
arduino-cli compile --fqbn arduino:avr:uno Weather.ino --output-dir bin
install:
# kubectl scale --replicas=0 --namespace=home-monitor deployment/weather-serial-reader
arduino-cli upload -b arduino:avr:uno -p /dev/ttyACM0 --input-dir bin
# kubectl scale --replicas=1 --namespace=home-monitor deployment/weather-serial-reader
clean:
rm -rf bin/