From 445e3e2103bde7975610bbf10ce2bc42a63b8003 Mon Sep 17 00:00:00 2001 From: c_meyer <998475a2-a9e1-483a-a46a-8f34462b7f5b@localhost> Date: Tue, 18 Jul 2023 11:10:46 +0200 Subject: [PATCH] Serveradresse auf iot.rlp.schule setzen. --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index 24831db..bca1cb1 100644 --- a/main.ts +++ b/main.ts @@ -746,7 +746,7 @@ namespace grove { /** * Send data to ThinkSpeak */ - //% block="Send Data to your ThinkSpeak Channel|Write API Key %apiKey|Field1 %field1|Field2 %field2|Field3 %field3|Field4 %field4|Field5 %field5|Field6 %field6|Field7 %field7|Field8 %field8" + //% block="Send Data to your ThingSpeak Channel|Write API Key %apiKey|Field1 %field1|Field2 %field2|Field3 %field3|Field4 %field4|Field5 %field5|Field6 %field6|Field7 %field7|Field8 %field8" //% group="UartWiFi" //% apiKey.defl="your Write API Key" export function sendToThinkSpeak(apiKey: string, field1: number, field2: number, field3: number, field4: number, field5: number, field6: number, field7: number, field8: number) { @@ -762,7 +762,7 @@ namespace grove { while (isWifiConnected && retry > 0) { retry = retry - 1; // establish TCP connection - sendAtCmd("AT+CIPSTART=\"TCP\",\"api.thingspeak.com\",80") + sendAtCmd("AT+CIPSTART=\"TCP\",\"iot.rlp.schule\",80") result = waitAtResponse("OK", "ALREADY CONNECTED", "ERROR", 2000) if (result == 3) continue