gateway: adapt it to publish sensors on MQTT #1

Merged
nicu merged 5 commits from gateway into master 2022-10-13 20:28:48 +02:00
Showing only changes of commit 80a8142e3e - Show all commits

View File

@ -10,9 +10,11 @@ platform:
steps: steps:
- name: upload - name: upload
commands: commands:
- service ser2net stop
- cd gateway - cd gateway
- pio run -e pro-mini - pio run -e pro-mini
- echo -n 'reset' > /dev/ttyUSB0; sleep 1s; avrdude -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:.pio/build/pro-mini/firmware.hex:i -v - echo -n 'reset' > /dev/ttyUSB0; sleep 1s; avrdude -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:.pio/build/pro-mini/firmware.hex:i -v
- service ser2net start
when: when:
target: target:
- production - production