Hi There!
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
esp32-c3 websocket server
Re: esp32-c3 websocket server
ESP-IDF still has websocket server, you can refer to example with URL https://github.com/espressif/esp-idf/tr ... wss_server or https://github.com/espressif/esp-idf/tr ... cho_server.
Re: esp32-c3 websocket server
Yes , thank you very much , I have these examples, but I am too dumb to add the JavaScript HTML.
Re: esp32-c3 websocket server
I tried now for 3 days straight to implement this in the ESP-IDE, but I am no step closer.
Is there someone who has done something similar, who would be willing to share his/her code with me?
I am totally new to this and am quite overwhelmed.
Best regards
Florian
Is there someone who has done something similar, who would be willing to share his/her code with me?
I am totally new to this and am quite overwhelmed.
Best regards
Florian
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: esp32-c3 websocket server
People tend to be a bit more helpful if you post your work and thought process. What do you currently have, why did you write it in that way, what do you expect it to do, what does it actually do?
Who is online
Users browsing this forum: Bing [Bot], jjsch-dev and 98 guests