Replies: 3 comments 2 replies
-
Hi, if you want a client, you can use |
Beta Was this translation helpful? Give feedback.
-
|
@mathieucarbou So the AsyncWebSocketClient class does not relate to the client itself? |
Beta Was this translation helpful? Give feedback.
-
|
I think I'm confused on this also. (in fact, I'm sure of it....) But I'm not sure where to go from here. I went from ESP-NOW, to "http-GET" to websockets, to bluetooth, now I'm back to maybe http-GET and/or websockets again. I have a central unit that "should" mainly display a lot of data (temperature and tank levels for an RV). I have LVGL running on that just fine. But I have about 7 other ESP32's out there monitoring tank levels and things like temperature. The data from each would be small. But I'm confused about how to communicate everything. I need to send a "request for data" to each remote unit (to control data flow and prevent crashes). The remote would respond with a simple data packet (level, temp sensors) and then the main would respond back with a checksun to ensure data wasn't lost. Simple.... But one device (Shelly power monitor) requires http-GET (or websockets, but I haven't got that to work) Can I use regular http "get" to send/receive the way I need? If I have to have websockets, how does that work? I've done a lot of programming, but nothing with http or even much communications, just a bare metal unit, self/contained etc.... I know it'll work, I'm just worn out and confused. Everything looks one directional, but says bi-directional. Anything would be a great help, I've blown so much time on everything else, only to find out it won't work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @mathieucarbou , can you please add an example of a WebSocket client?
Beta Was this translation helpful? Give feedback.
All reactions