CORE, RS485 and 2x2RELAY...
-
I have a simple code that displays the date, time, temperature and humidity data acquired by an RS485 device (XY-MD04), but the console keeps displaying the following messages:
E (18258813) mqtt_client: esp_mqtt_client_init(800): Memory exhausted
E (18258814) mqtt_client: Client was not initialized
E (18258815) mqtt_client: Client was not initializedI have a CORE, 2x 2RELAY modules, an M5GO module (Port C), an RS485 converter via Port C and an XY-MD04 humidity and temperature sensor via RS485.
I'm not even using MQTT...
How do I know the size of my CORE's memory?
What is the size of the code I can use, and how do I know it?
My project is based on activating the relays based on RS485 data readings and timing (RTC). With the same code, sometimes it works, sometimes it presents execution errors.I am very, very grateful for any help!
-
Thius is the code:

-
-
@teastain thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login