How To Debug
-
I´ve read this thread https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help and I uncommented #define MY_DEBUG in MyConfig.h and also added #define MY_DEBUG to my node´s sketch (at the very top). After Uploading the sketch I thought I´d be able to see the debugging on the Serial Monitor of my GATEWAY (I cannot access the serial monitor output of my node), but the output was just the same as before. Isn´t it possible to see the debug info on the gateways serial monitor?
-
@siod How is your gateway connected? Also not sure if the gateway will create extra debug info on the serial line. Because it's also being used by controllers to communicate with the gateway and extra debug info would confuse the gateway. Not sure about this, it's just a thought.
What I do if I want to see the serial communication is just use a tail command on my Raspberry Pi. That way I can see all the commands that are also being received by Domoticz.
-
Mysensors does not support sending debug messages from a node to the gateway, you need to connect a serial terminal to your node, in order to see the debug messages it generates.
(We can't be sure that the radio link is operational, and it will consume too much bandwith, if it would have to transmit all debug messages to the gateway)
-
Ok guys, thanks for your quick replies and please excuse my late reply...
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
NODs stop responding, but ping works.
Troubleshooting • 20 days ago • Marcin 20 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28