-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopped working after reconfiguring MQTT broker #71
Comments
I'm getting similar logs when trying to set it up for the first time, same version. Without HDLC framing: 2024-10-27 13:20:09.721 DEBUG (MainThread) [custom_components.amshan.metercon] Got payload without HDLC framing from topic tibber: 08dcd9021801128c020986379e0000000000120250311af901384f748d310e02310c04fb48f9072061d6712e2674144043cd7d01898eff17584762e58a8b9466c7bb737a3eeed34d0a628801475c9840d8a5cc48ca9200ccfb1878216723165401db51d1c3677e37983a5c1ed91fa0742893d642a8065fd76fc7d9bbacaaa4655a61266d6d52119b7565cbbbce6debdca65ce424d5bfa46fb904a475946c59b237126594016c35cae0f8c914d92366b87418e1f68a11925f8c8d8c517c895b9709922e037343642933645d96962852c8ba500d348638dd08e85243ad30a8a02954d0d052cf1c2e688e506900173486050930856839c2b443058169cc122e680e53090c6db0a0a29991812b2f17000000ffff20c005126109965f9e0000000000120250311a4fd227947e0d71a65f739aa55f339ce9d7106427dc4aecb18e27fa103246a851849a7e91522351e9d7d86280d3af0959e91725d5539c7e4db0a55f44a2464abf08414ad2afa99191212f17000000ffff20c005 |
I've managed to get it working, and I'm not sure why. I rebooted both mosquitto and Tibber Pulse, somehow it started sending messages with correct data. However it went back to gibberish after a while. Then I sent reboot command to Pulse and it started working again, and now it seems to continue sending correct data. |
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
The text was updated successfully, but these errors were encountered: