From 9e7939b51453c823faf7d7657e9359e379033930 Mon Sep 17 00:00:00 2001 From: Carsten Schmiemann Date: Sat, 21 May 2022 23:09:22 +0200 Subject: [PATCH] Debug MQTT --- OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp b/OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp index bd04e89..54bb2d6 100644 --- a/OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp +++ b/OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp @@ -929,6 +929,9 @@ void OvmsServerV3::Ticker1(std::string event, void* data) } else if ((m_lasttx==0)||(now>(m_lasttx+next))) { + ESP_LOGD(TAG, "m_lasttx: %d next: %d, now: %d", m_lasttx, next, now); + ESP_LOGD(TAG, "m_updatetime_connected: %d m_updatetime_on: %d, m_updatetime_charging: %d", m_updatetime_connected, m_updatetime_on, m_updatetime_charging); + ESP_LOGD(TAG, "m_updatetime_awake: %d ", m_updatetime_awake); TransmitModifiedMetrics(); m_lasttx = m_lasttx_stream = now; }