I have found a wonderful example of a websocket that shows real time sensor data
https://randomnerdtutorials.com/esp32-w ... r-arduino/
That is more or less exactly what I need for my project

Sadly it is written with the Arduino framework and I need to Implement it in the ESP-IDE.
I looked into every http example of the ESP-IDE and am totally lost on how to recreate this.
I just want to receive lots of states and add buttons that control something ^^
Can someone help me please!
best regards from Germany
Florian