Is there a logging function in the Raspberry Pi Gateway?
-
Hi,
I am looking for a log to have the posibillity to look up error messages if something goes wrong in the gateway.
-
If you have an ethernet or mqtt gw you can log data using myscontroller or any mqtt client that can log data to a file
-
@strangeoptics I've created a simple python file just to connect to an ethernet MySensors gateway and monitor all output:
https://github.com/dirkclemens/myssniffer.py/blob/master/myssniffer.py
If you want to use it with a serial gateway you have to make some changes in the main() routine to grab data from the usb port instead the ethernet port.
-
Ok I use the mqtt gw.
But is there a special topic for errors, infos, debugs?Messages like
Starting gateway...
Protocol version - 2.2.0-beta
TSM:INIT:TSP OK
TSM:INIT:GW MODE
and so on are for example not posted to a topic!
-
@gohan Where can I find the project myscontroller and the latest downloads?
-
There is a topic in the forum, but it's just for ethernet gateway.
If you subscribe to topic # you get all messages