ESP32 Websocket problem #2021
Replies: 4 comments 3 replies
-
|
The WebSocket support is documented here. You configured to be "roasterID", but in your code fragment you are using "id". Unclear what |
Beta Was this translation helpful? Give feedback.
-
|
Get info from serial monitor when conneted to Aritsan Websocket and click start, I'm not connet the max6675: |
Beta Was this translation helpful? Give feedback.
-
|
ws-artisan.txt |
Beta Was this translation helpful? Give feedback.
-
|
This is the part of my code: case WS_EVT_DISCONNECT: } |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying use ESP32 to send the BT&ET temp via websocket, and this is part what im code:
if (command == "getBT")
{
root["id"] = ln_id;
data["BT"] = temperature_data.BT_AvgTemp;
}
else if (command == "getET")
{
root["id"] = ln_id;
data["ET"] = temperature_data.ET_AvgTemp;
}
else if (command == "getData")
{
root["id"] = ln_id;
data["BT"] = temperature_data.BT_AvgTemp;
data["ET"] = temperature_data.ET_AvgTemp;
}
And the set up in artisan:

Device -> Meter -> Websocket
Port:
After all set up, the Artisan always connect and disconnet.
Beta Was this translation helpful? Give feedback.
All reactions