amshan-homeassistant icon indicating copy to clipboard operation
amshan-homeassistant copied to clipboard

Stopped working after reconfiguring MQTT broker

Open hmorkemo opened this issue 5 months ago • 0 comments

Version of the custom_component

HASS 2023.6

Configuration


Add your logs here.

Describe the bug

I had to reconfigure my Tibber Pulse due to a change of mqtt broker from a separate one to the HA builtin. After that the amshan integration worked fine for a few hours, then it stopped delivering data. I deleted, reinstalled and added the amshan integration. When giving the mwtt topic (tibber) it waits and gets a timeout reading data. Several HA restarts, mqtt restarts later, the problem is the same. I enabled debug logging. See below My log file is getting a lot of log entries from the mqtt topic. See below But it still gets the timeout. Everything else using the mqtt broker works fine.

Debug log

2024-01-24 21:18:35.782 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2024-01-24 20:18:35.782463+00:00, QOS 0, retain flagg False, and payload length 449 received from topic tibber from subscription to topic tibber 2024-01-24 21:18:35.783 DEBUG (MainThread) [custom_components.amshan.metercon] Ignore JSON in payload without HDLC framing from topic tibber: {'status': {'rssi': -28, 'ch': 1, 'ssid': 'Oppgang B', 'usbV': '1.27', 'Vin': '26.64', 'Vcap': '4.43', 'Vbck': '4.56', 'Build': '1.2.5', 'Hw': 'F', 'bssid': 'f09fc2da5ea2', 'ID': 'ac67b2f4dc70', 'IP': '192.168.10.221', 'Uptime': 29160, 'mqttcon': 0, 'pubcnt': 12, 'rxcnt': 60, 'wificon': 0, 'wififail': 0, 'bits': 70, 'cSet': 95, 'Ic': 0.0, 'crcerr': 0, 'cAx': 1.127146, 'cB': 13, 'heap': 222688, 'baud': 2400, 'meter': 'Kaifa', 'ntc': 20.4, 's/w': 0.0, 'ct': 0, 'dtims': 595, 'mdb': 1, 'mdb_cnt': 60, 'bdtl': 0}} 2024-01-24 21:18:41.020 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2024-01-24 20:18:41.020051+00:00, QOS 0, retain flagg False, and payload length 382 received from topic tibber from subscription to topic tibber 2024-01-24 21:18:41.021 DEBUG (MainThread) [custom_components.amshan.metercon] Got payload without HDLC framing from topic tibber: 08dcd90212390934e8bc0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e8011803151220ff80000002010600001454898a7e12390968efbc0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e8011803151222ff80000002010600001386a5307e123909d0f6bc0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e8011803151224ff8000000201060000120731bb7e12390930ffbc0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e8011803151226ff800000020106000011b4f2147e128b0109bc08bd0100000000120348414e1a7b7ea079010201108093e6e7000f40000000090c07e8011803151228ff800000020d09074b464d5f30303109103639373036333134303938383738333509084d41333034483345060000115106000000000600000000060000045906000012a206000040160600003a2906000009450600000000060000093ca84d7e 2024-01-24 21:18:50.848 DEBUG (MainThread) [custom_components.amshan.metercon] Message with timestamp 2024-01-24 20:18:50.848507+00:00, QOS 0, retain flagg False, and payload length 382 received from topic tibber from subscription to topic tibber 2024-01-24 21:18:50.850 DEBUG (MainThread) [custom_components.amshan.metercon] Got payload without HDLC framing from topic tibber: 08dcd902123909c90ebd0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e801180315122aff8000000201060000114902377e1239092917bd0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e801180315122cff8000000201060000114bdd137e123909611ebd0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e801180315122eff80000002010600001152269c7e1239099525bd0100000000120348414e1a297ea027010201105a87e6e7000f40000000090c07e8011803151230ff80000002010600001154e9e17e128b0109212fbd0100000000120348414e1a7b7ea079010201108093e6e7000f40000000090c07e8011803151232ff800000020d09074b464d5f30303109103639373036333134303938383738333509084d41333034483345060000115206000000000600000000060000045c060000129606000040120600003a2c06000009400600000000060000093ffd4c7e


Add your logs here.

hmorkemo avatar Jan 24 '24 20:01 hmorkemo