D1 Mini ESPnow sensordata MAX6675

Hi first,

I am new to the forum and still quite new to the Arduino world.
So far I have read a lot (probably rather little in comparison) and have now not got any further.

My lost goal: Let a D1 Mini with the MAX6675 sensor take a temperature measurement and have it sent to three other D1 Mini via ESPnow. These are supposed to control a servo with the political information to regulate the supply air of a smoker.

I experimented around and tried the whole thing over HTTP with one client but it didn't work with several. Since I've read that ESPNow can do one-to-many communication, I'm working on it.

Following error

'thermocouple' does not name a type

The code

#include <ESP8266WiFi.h>
#include <espnow.h>
#include <Thermocouple.h>
#include <MAX6675_Thermocouple.h>

#define SCK_PIN 14
#define CS_PIN 15
#define SO_PIN 12

Thermocouple* thermocouple;
thermocouple = new MAX6675_Thermocouple(SCK_PIN, CS_PIN, SO_PIN);
const double celsius = Thermocouple -> readCelsius();

// REPLACE WITH RECEIVER MAC Address
uint8_t broadcastAddress1[] = {0x50, 0x02, 0x91, 0x79, 0x3E, 0x99};

// Structure example to send data
// Must match the receiver structure
typedef struct test_struct {
celsius;
} test_struct;

// Create a struct_message called test to store variables to be sent
test_struct temp;

unsigned long lastTime = 0;
unsigned long timerDelay = 2000; // send readings timer

// Callback when data is sent
void OnDataSent(uint8_t *mac_addr, uint8_t sendStatus) {
char macStr[18];
Serial.print("Packet to:");
snprintf(macStr, sizeof(macStr), "%02x:%02x:%02x:%02x:%02x:%02x",
mac_addr[0], mac_addr[1], mac_addr[2], mac_addr[3], mac_addr[4], mac_addr[5]);
Serial.print(macStr);
Serial.print(" send status: ");
if (sendStatus == 0){
Serial.println("Delivery success");
Serial.println(celsius);
}
else{
Serial.println("Delivery fail");
}
}

void setup() {
// Init Serial Monitor
Serial.begin(115200);

// Set device as a Wi-Fi Station
WiFi.mode(WIFI_STA);
WiFi.disconnect();

// Init ESP-NOW
if (esp_now_init() != 0) {
Serial.println("Error initializing ESP-NOW");
return;
}

esp_now_set_self_role(ESP_NOW_ROLE_CONTROLLER);

// Once ESPNow is successfully Init, we will register for Send CB to
// get the status of Trasnmitted packet
esp_now_register_send_cb(OnDataSent);

// Register peer
esp_now_add_peer(broadcastAddress1, ESP_NOW_ROLE_SLAVE, 1, NULL, 0);

void loop() {
if ((millis() - lastTime) > timerDelay) {
// Set values to send

// Send message via ESP-NOW
esp_now_send(0, (uint8_t *) &celsius, sizeof(celsius));

lastTime = millis();
}
}