MQTT and Telegram

6 years 5 months ago #3883 by d3ni3d
MQTT and Telegram was created by d3ni3d
Hello world !!!

I need your help !!!!!!!!

I'm working on a sketch to manage the pump of my swimingpool ... here is not the problem ...

In this sketch, I use many tools adapted from those links :
- EasyIoT-Cloud => works fine ...
- WundergroundClient => works fine ...
- NTPClient ... => works fine ...


Last week, I wanted to add the ability to be informed by Telegram : I tried a small sketch from here : , and it work fine ... only alone !

I tried to mix all parts of code, but my ESP crash !!!

After a few (but long time ...) investigation, I discoverd that the error disapear when I disable the MQTT parts, especially by disabling this line in my sketch (line 81 in the attachment code.txt

File Attachment:

File Name: code-2-3.txt
File Size:8 KB

) :
MQTT myMqtt("", EIOT_CLOUD_ADDRESS, 1883);

Does anyone have any idea of "How can I do ????"

Many, many, many ... thanks in advance !!!

PS : maybe my english is not perfect ... sorry, I try !!!!
Attachments:

Please Log in or Create an account to join the conversation.

6 years 5 months ago #3884 by EasyIoT
Replied by EasyIoT on topic MQTT and Telegram

d3ni3d wrote: Hello world !!!

I need your help !!!!!!!!

I'm working on a sketch to manage the pump of my swimingpool ... here is not the problem ...

In this sketch, I use many tools adapted from those links :
- EasyIoT-Cloud => works fine ...
- WundergroundClient => works fine ...
- NTPClient ... => works fine ...


Last week, I wanted to add the ability to be informed by Telegram : I tried a small sketch from here : , and it work fine ... only alone !

I tried to mix all parts of code, but my ESP crash !!!

After a few (but long time ...) investigation, I discoverd that the error disapear when I disable the MQTT parts, especially by disabling this line in my sketch (line 81 in the attachment code.txt

File Attachment:

File Name: code-2-3.txt
File Size:8 KB

) :
MQTT myMqtt("", EIOT_CLOUD_ADDRESS, 1883);

Does anyone have any idea of "How can I do ????"

Many, many, many ... thanks in advance !!!

PS : maybe my english is not perfect ... sorry, I try !!!!


If I remember correctly I have the same problem when I try to use MQTT client and NTP client. It seems those libraries can not work the same time on ESP8266.

Please Log in or Create an account to join the conversation.

6 years 5 months ago #3885 by d3ni3d
Replied by d3ni3d on topic MQTT and Telegram
Tanks for your reply !

In my sketch, and before I add the Telegram parts, all was OK (MQTT and NTP too ...)

After having read many post, I think It could be a memory management or place problem ... but nothing sure ...

Any suggestions are still welcome :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.271 seconds

Forum latest

  • No posts to display.