Debug MQTT

This commit is contained in:
Carsten Schmiemann 2022-05-21 23:09:22 +02:00
parent 9ceead8a77
commit 9e7939b514

View file

@ -929,6 +929,9 @@ void OvmsServerV3::Ticker1(std::string event, void* data)
} }
else if ((m_lasttx==0)||(now>(m_lasttx+next))) 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(); TransmitModifiedMetrics();
m_lasttx = m_lasttx_stream = now; m_lasttx = m_lasttx_stream = now;
} }