platformio OTA deployment

This commit is contained in:
Patrick Haßel 2024-04-10 12:57:10 +02:00
parent cbc1a5bacb
commit 16374cf33b
2 changed files with 11 additions and 11 deletions

View File

@ -2,15 +2,15 @@
platform = espressif32
board = esp32dev
framework = arduino
upload_port = /dev/ttyUSB0
upload_speed = 921600
;upload_protocol = espota
;upload_port =
;upload_flags = --auth=OtaAuthPatrixFermenter
;upload_port = /dev/ttyUSB0
;upload_speed = 921600
upload_protocol = espota
upload_port = 10.42.0.66
upload_flags = --auth=OtaAuthPatrixFermenter
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags = -D HOSTNAME=\"Fermenter\" -D WIFI_SSID=\"HappyNet\" -D WIFI_PKEY=\"1Grausame!Sackratte7\" -D OTA_PASSWORD=\"OtaAuthPatrixFermenter\" -D BOOT_DELAY=true
build_flags = -D HOSTNAME=\"Fermenter\" -D WIFI_SSID=\"HappyNet\" -D WIFI_PKEY=\"1Grausame!Sackratte7\" -D OTA_PASSWORD=\"OtaAuthPatrixFermenter\" -D BOOT_DELAY=false
lib_deps = milesburton/DallasTemperature
knolleary/PubSubClient
bblanchon/ArduinoJson

View File

@ -2,15 +2,15 @@
#include "sensors/Dallas.h"
#include "sensors/DallasSensor.h"
Dallas dallas(2);
DallasSensor temperatur(dallas, 0xAA0121125E4A7528, "temperatur", 0.5, 5, 60); // TODO wrong address
//Dallas dallas(2);
//
//DallasSensor temperatur(dallas, 0xAA0121125E4A7528, "temperatur", 0.5, 5, 60); // TODO wrong address
void patrixSetup() {
}
void patrixLoop() {
dallas.loop();
temperatur.loop();
// dallas.loop();
// temperatur.loop();
}