Hi, I am a new user of ESP Easy and I think it shows great promise. Thank you to all of the developers!
I have a system that is communicating to the Adafruit IO server. It runs for between several hours and a couple of days and then dies.
In an attempt to troubleshoot I have a Raspberry Pi running a SYSLOG server with the log level on the ESP set to "debug dev" which I'm assuming gives the most verbose response. I redirected the MQTT traffic to a local Mosquitto server also running on the pi.
I can't see anything in the logs that tells me there is a problem with MQTT when I change the IP address in the controller from the valid one to an invalid one. I expected to see timeouts or connection failures. What am I missing? Is there any explanation of logging in general? I have searched here and on the Web with no luck.
Thank you for any help!
MQTT and SYSLOG
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: MQTT and SYSLOG
What's the problem with MQTT? If you connect to the broker with a client app, do that work?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: MQTT and SYSLOG
If the node is unreachable.
Does it still react to a ping?
Does it still react to a ping?
-
- New user
- Posts: 7
- Joined: 01 Jan 2020, 14:46
Re: MQTT and SYSLOG
Thank you for the quick replies.
I have two systems. The "real" system is in the field and is not accessible at the moment. I only know that it has stopped publishing to the Adafruit server.
The other system is a duplicate "demo" that I built for troubleshooting. The demo system doesn't stop publishing. I am just trying to understand what messages to expect when I add syslog to the real system.
I did notice that the demo system doesn't stop publishing when I submit changes to the controller's IP address unless I cycle power.
I have two systems. The "real" system is in the field and is not accessible at the moment. I only know that it has stopped publishing to the Adafruit server.
The other system is a duplicate "demo" that I built for troubleshooting. The demo system doesn't stop publishing. I am just trying to understand what messages to expect when I add syslog to the real system.
I did notice that the demo system doesn't stop publishing when I submit changes to the controller's IP address unless I cycle power.
-
- New user
- Posts: 7
- Joined: 01 Jan 2020, 14:46
-
- New user
- Posts: 7
- Joined: 01 Jan 2020, 14:46
Re: MQTT and SYSLOG
SYSLOG logging level is set to info now.
I do see: connect, subscribe, failed to connect, and disconnected in SYSLOG now.
There is no publish but that's not too much of a problem I guess.
I do see: connect, subscribe, failed to connect, and disconnected in SYSLOG now.
There is no publish but that's not too much of a problem I guess.
Who is online
Users browsing this forum: No registered users and 22 guests