platformio OTA deployment
This commit is contained in:
parent
cbc1a5bacb
commit
16374cf33b
@ -2,15 +2,15 @@
|
|||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
framework = arduino
|
framework = arduino
|
||||||
upload_port = /dev/ttyUSB0
|
;upload_port = /dev/ttyUSB0
|
||||||
upload_speed = 921600
|
;upload_speed = 921600
|
||||||
;upload_protocol = espota
|
upload_protocol = espota
|
||||||
;upload_port =
|
upload_port = 10.42.0.66
|
||||||
;upload_flags = --auth=OtaAuthPatrixFermenter
|
upload_flags = --auth=OtaAuthPatrixFermenter
|
||||||
monitor_port = /dev/ttyUSB0
|
monitor_port = /dev/ttyUSB0
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
monitor_filters = esp32_exception_decoder
|
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
|
lib_deps = milesburton/DallasTemperature
|
||||||
knolleary/PubSubClient
|
knolleary/PubSubClient
|
||||||
bblanchon/ArduinoJson
|
bblanchon/ArduinoJson
|
||||||
|
|||||||
@ -2,15 +2,15 @@
|
|||||||
#include "sensors/Dallas.h"
|
#include "sensors/Dallas.h"
|
||||||
#include "sensors/DallasSensor.h"
|
#include "sensors/DallasSensor.h"
|
||||||
|
|
||||||
Dallas dallas(2);
|
//Dallas dallas(2);
|
||||||
|
//
|
||||||
DallasSensor temperatur(dallas, 0xAA0121125E4A7528, "temperatur", 0.5, 5, 60); // TODO wrong address
|
//DallasSensor temperatur(dallas, 0xAA0121125E4A7528, "temperatur", 0.5, 5, 60); // TODO wrong address
|
||||||
|
|
||||||
void patrixSetup() {
|
void patrixSetup() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void patrixLoop() {
|
void patrixLoop() {
|
||||||
dallas.loop();
|
// dallas.loop();
|
||||||
temperatur.loop();
|
// temperatur.loop();
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user