Page 1 of 1

Log for MySensors

Posted: Tuesday 29 January 2019 11:53
by romeo
Hi all,

Could you add a checkbox for logging messages from mysensors nodes.
Especially for messages dedicated to log purposes "OTALog"
That's all "C_INTERNAL" messages type & "I_LOG_MESSAGE" messages subtype should be logged.

Re: Log for MySensors

Posted: Tuesday 05 February 2019 15:25
by harty911
Hello

I have the same request... ;)
I developed a custom MySensors device, sending physical measures, supported by MySensor protocol.
But in some cases I need to report messages to the controller, for example to trace hardware failure on sensors (short circuit, disconnected).

I created an issue in Github for that topic : https://github.com/domoticz/domoticz/issues/3019

There was another issue (not from me) that was rejected, probably because it was too much DEBUG oriented. But in our case, this is the standard way to report log message from MySensors: https://github.com/domoticz/domoticz/issues/1320

Re: Log for MySensors

Posted: Wednesday 06 February 2019 12:07
by harty911
By the way, I looked in the sources, the feature is "ready" but commented:

Code: Select all

case I_LOG_MESSAGE:
	//_log.Log(LOG_NORM, "MySensors: 'Log': %s", payload.c_str());
	break;