2023-06-04
ini geändert
This commit is contained in:
parent
ad6ce61e45
commit
347e9add03
|
@ -29,6 +29,14 @@ build_flags =
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DDEBUG=1
|
-DDEBUG=1
|
||||||
-DGRENZWERT=3.80
|
-DGRENZWERT=3.80
|
||||||
|
-DSTASSID=\"St.-Peters-Gasse-Post\"
|
||||||
|
-DSTAPSK=\"1952994784599318\"
|
||||||
|
-DGATEWAY=\"192.168.127.1\"
|
||||||
|
-DDNS=\"192.168.127.1\"
|
||||||
|
-DSECONDARDNS=\"8.8.8.8\"
|
||||||
|
-DMYIP=\"192.168.127.48\"
|
||||||
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
||||||
|
-Dmqtt_port=61883
|
||||||
-DINNEN=\"hjk/devices/WETTERSTATION/telemetry/temperature_BMP_280\"
|
-DINNEN=\"hjk/devices/WETTERSTATION/telemetry/temperature_BMP_280\"
|
||||||
-DCO2=\"hjk/devices/WETTERSTATION/telemetry/co2\"
|
-DCO2=\"hjk/devices/WETTERSTATION/telemetry/co2\"
|
||||||
-DAKKU=\"hjk/devices/WETTERSTATION/telemetry/battery\"
|
-DAKKU=\"hjk/devices/WETTERSTATION/telemetry/battery\"
|
||||||
|
@ -41,6 +49,14 @@ build_flags = ${env.build_flags}
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DDEBUG=1
|
-DDEBUG=1
|
||||||
-DGRENZWERT=2.80
|
-DGRENZWERT=2.80
|
||||||
|
-DSTASSID=\"St.-Peters-Gasse-Post\"
|
||||||
|
-DSTAPSK=\"1952994784599318\"
|
||||||
|
-DGATEWAY=\"192.168.127.1\"
|
||||||
|
-DDNS=\"192.168.127.1\"
|
||||||
|
-DSECONDARDNS=\"8.8.8.8\"
|
||||||
|
-DMYIP=\"192.168.127.48\"
|
||||||
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
||||||
|
-Dmqtt_port=8883
|
||||||
-DINNEN=\"hjk/devices/WETTERSTATIONBORIS/telemetry/temperature_BMP_280\"
|
-DINNEN=\"hjk/devices/WETTERSTATIONBORIS/telemetry/temperature_BMP_280\"
|
||||||
-DCO2=\"hjk/devices/WETTERSTATIONBORIS/telemetry/co2\"
|
-DCO2=\"hjk/devices/WETTERSTATIONBORIS/telemetry/co2\"
|
||||||
-DAKKU=\"hjk/devices/WETTERSTATIONBORIS/telemetry/battery\"
|
-DAKKU=\"hjk/devices/WETTERSTATIONBORIS/telemetry/battery\"
|
||||||
|
|
|
@ -98,7 +98,7 @@ IPAddress ip;
|
||||||
IPAddress gateway;
|
IPAddress gateway;
|
||||||
IPAddress subnet;
|
IPAddress subnet;
|
||||||
IPAddress dns; // DNS-Server
|
IPAddress dns; // DNS-Server
|
||||||
IPAddress sdecondarDNS;
|
IPAddress secondarDNS;
|
||||||
String hostname = "GROSSZEICHENDISPLAY2";
|
String hostname = "GROSSZEICHENDISPLAY2";
|
||||||
int status = WL_IDLE_STATUS;
|
int status = WL_IDLE_STATUS;
|
||||||
const char* NTP_SERVER = "de.pool.ntp.org";
|
const char* NTP_SERVER = "de.pool.ntp.org";
|
||||||
|
@ -660,7 +660,7 @@ static void setup_wifi() {
|
||||||
|
|
||||||
delay(10);
|
delay(10);
|
||||||
// We start by connecting to a WiFi network
|
// We start by connecting to a WiFi network
|
||||||
if (!ip.fromString(MyIP)) { // try to parse into the IPAddress
|
if (!ip.fromString(MYIP)) { // try to parse into the IPAddress
|
||||||
Serial.println("UnParsable IP");
|
Serial.println("UnParsable IP");
|
||||||
}
|
}
|
||||||
if (!dns.fromString(DNS)) { // try to parse into the IPAddress
|
if (!dns.fromString(DNS)) { // try to parse into the IPAddress
|
||||||
|
|
Loading…
Reference in New Issue
Block a user