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 -
Ghost Child
Troubleshooting • 17 days ago • FcNanoLed 14 days ago -
NODs stop responding, but ping works.
Troubleshooting • 24 days ago • Marcin 24 days ago -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 4 days ago -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 29 days ago