💬 Debugging Sensors and the Gateway
-
This thread contains comments for the article "Debugging Sensors and the Gateway" posted on MySensors.org.
-
Is it possible to get the debug data over ethernet? It would be nice if you could remote debug your gateway.
-
Not sure I understand...
If you enable debug on gateway, I_LOG entries (with the debug information) is sent over ethernet (or serial) depending on the variant you use.
-
@hek Really? That's nice. I use Sensebender GW with #define MY_DEBUG and #define MY_GATEWAY_W5100. Maybe using MY_SPECIAL_DEBUG?
-
Oh, the sensebender gateway might be different as it has a some additional functionality (multi hardware serial ports). Need to ping @tbowmo for a correct answer here.
-
@NiklasO if you want to debug the gateway you could use the MYSController and connect it to the ethernet gateway over LAN.
-
Ah, I see. The "MySensors Debug" does only show data when you use the serial connection?
-
If you have configured it as a ethernet GW, it still dumps debug data to the serial port.
Once I had plans to make a tcp connection to a debug channel, but never got any further with it.
-
Debugging over Lan connection is so much simpler because you can leave the gateway in its place and move around with your laptop
-
I totally agree, but there is only 24 hours a day.. With family, work etc there is just not enough time to realize all my ideas.
-
Sure, that's why I suggested to use myscontroller since it can be used to debug pretty much everything you need to know out of the gateway.
-
Anyone knows what happened to The Transport messages (TSM & TSF) and MySensors Core messages (MCO) links? I get a message from Jenkins saying "<user> is missing the Overall/Read permission".
Isn't it publicly available anymore? Or do I need to do something else?
-
hello
the links to "The Transport messages " and "The MySensors Core messages" are brocken
-
@yogui79 thanks for reporting. I've fixed them now. Adding them below for reference:
The Transport messages (TSM & TSF) are described here.
The MySensors Core messages (MCO) are described here
-
The MySensors Core messages (MCO) are described here = broken!?!
-
@jopebe thanks for noticing. The link ended in .htmls instead of .html. Fixed now.
-
my home has many sensors all built on my sensors library, (around 40 devices and 80+ sensors) as you can imagine it’s big network.
from time to time messages don’t get through, and when a sensor first start it take a long time to connect.
i was doing some testing the other day and i left the debug on the gateway turned on, and noticed things are working 10 times better, sensors connect immediately i can send multi command at the same time and they all reach their target (Home assistant turning multiple lights).
is this normal? did anyone notice this as well?not sure why, maybe the delay it creates when it writes to Serial is making it work better?
-
@user1306 yes, this has been reported by multiple users.
-
@mfalkvidd
Thanks, and please let me know if i can help in some way
-
What type of gateway and radio do you use?
-
I’m using Arduino Nano connected through Serial
radio is nrf24l01+ PA LNA connected to the 3.3 converter module and powered separately