Hello. I have been using dahuavto2mqtt for a long time, and recently my Lorex 2k Doorbell asked to do a firmware update. Unfortunately i accepted and since then my dahuavto2mqtt is unable to connect. no settings have been changed on my setup and i checked the logs that indicate it stopped working once i upgraded the device firmware. here are the logs (lots of duplicates removed)
.................
2025-01-21T01:24:31.090460535Z 2025-01-20 19:24:31,090 INFO __main__ Publishing MQTT message FrontDoor/TimeChange/Event: {'Action': 'Pulse', 'Code': 'TimeChange', 'Data': {'BeforeModifyTime': '2025-01-20 19:24:31', 'LocaleTime': '2025-01-20 19:24:31', 'ModifiedTime': '2025-01-20 19:24:31', 'UTC': 1737422671.0}, 'Index': 0}
2025-01-21T01:24:31.092928718Z 2025-01-20 19:24:31,092 INFO __main__ Publishing MQTT message FrontDoor/NTPAdjustTime/Event: {'Action': 'Pulse', 'Code': 'NTPAdjustTime', 'Data': {'Address': 'pool.ntp.org', 'Before': '2025-01-20 19:24:30', 'LocaleTime': '2025-01-20 19:24:31', 'UTC': 1737422671.0, 'result': True}, 'Index': 0}
2025-01-21T01:24:38.712349921Z 2025-01-20 19:24:38,711 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': '', 'LocaleTime': '2025-01-20 19:24:38', 'Progress': 0, 'State': 'Upgrading', 'UTC': 1737422678.0}, 'Index': 0}
2025-01-21T01:24:42.981595984Z 2025-01-20 19:24:42,981 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'dhdtb.bin.img', 'LocaleTime': '2025-01-20 19:24:42', 'Progress': 0, 'State': 'Upgrading', 'UTC': 1737422682.0}, 'Index': 0}
2025-01-21T01:24:43.615807959Z 2025-01-20 19:24:43,615 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'kernel.img', 'LocaleTime': '2025-01-20 19:24:43', 'Progress': 0, 'State': 'Upgrading', 'UTC': 1737422683.0}, 'Index': 0}
.............
2025-01-21T01:24:45.811365746Z 2025-01-20 19:24:45,811 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'kernel.img', 'LocaleTime': '2025-01-20 19:24:45', 'Progress': 15, 'State': 'Upgrading', 'UTC': 1737422685.0}, 'Index': 0}
2025-01-21T01:24:46.489688304Z 2025-01-20 19:24:46,489 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'romfs-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:46', 'Progress': 15, 'State': 'Upgrading', 'UTC': 1737422686.0}, 'Index': 0}
2025-01-21T01:24:47.046308908Z 2025-01-20 19:24:47,045 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'romfs-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:47', 'Progress': 16, 'State': 'Upgrading', 'UTC': 1737422687.0}, 'Index': 0}
..................
2025-01-21T01:24:55.201223433Z 2025-01-20 19:24:55,200 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'romfs-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:55', 'Progress': 80, 'State': 'Upgrading', 'UTC': 1737422695.0}, 'Index': 0}
2025-01-21T01:24:55.208374339Z 2025-01-20 19:24:55,207 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'pd-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:55', 'Progress': 80, 'State': 'Upgrading', 'UTC': 1737422695.0}, 'Index': 0}
2025-01-21T01:24:55.304994359Z 2025-01-20 19:24:55,304 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'web-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:55', 'Progress': 80, 'State': 'Upgrading', 'UTC': 1737422695.0}, 'Index': 0}
2025-01-21T01:24:55.503018878Z 2025-01-20 19:24:55,502 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'web-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:55', 'Progress': 81, 'State': 'Upgrading', 'UTC': 1737422695.0}, 'Index': 0}
2025-01-21T01:24:55.636822728Z 2025-01-20 19:24:55,636 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'web-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:55', 'Progress': 82, 'State': 'Upgrading', 'UTC': 1737422695.0}, 'Index': 0}
2025-01-21T01:24:55.728835032Z 2025-01-20 19:24:55,728 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'web-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:55', 'Progress': 83, 'State': 'Upgrading', 'UTC': 1737422695.0}, 'Index': 0}
2025-01-21T01:24:56.128612979Z 2025-01-20 19:24:56,128 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'firmware-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:56', 'Progress': 83, 'State': 'Upgrading', 'UTC': 1737422696.0}, 'Index': 0}
...............
2025-01-21T01:24:58.411209003Z 2025-01-20 19:24:58,410 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': 'firmware-x.squashfs.img', 'LocaleTime': '2025-01-20 19:24:58', 'Progress': 100, 'State': 'Upgrading', 'UTC': 1737422698.0}, 'Index': 0}
2025-01-21T01:24:58.685735742Z 2025-01-20 19:24:58,685 INFO __main__ Publishing MQTT message FrontDoor/Upgrade/Event: {'Action': 'Pulse', 'Code': 'Upgrade', 'Data': {'CurCustomVer': 0, 'File': '', 'LocaleTime': '2025-01-20 19:24:58', 'Progress': 100, 'State': 'Succeeded', 'UTC': 1737422698.0}, 'Index': 0}
2025-01-21T01:25:08.972320387Z 2025-01-20 19:25:08,972 INFO __main__ Publishing MQTT message FrontDoor/StorageChange/Event: {'Action': 'Pulse', 'Code': 'StorageChange', 'Data': {'Group': 'ReadWrite', 'LocaleTime': '2025-01-20 19:25:08', 'Path': '\\/mnt\\/sd', 'UTC': 1737422708.0}, 'Index': 0}
2025-01-21T01:25:09.392717943Z 2025-01-20 19:25:09,392 INFO __main__ Publishing MQTT message FrontDoor/Reboot/Event: {'Action': 'Start', 'Code': 'Reboot', 'Data': {'LocaleTime': '2025-01-20 19:25:09', 'UTC': 1737422709.0}, 'Index': 0}
2025-01-21T01:26:26.442634298Z 2025-01-20 19:26:26,442 ERROR __main__ server closed the connection
2025-01-21T01:26:26.442701777Z 2025-01-20 19:26:26,442 WARNING __main__ Disconnected, will try to connect in 5 seconds
2025-01-21T01:26:31.447543906Z 2025-01-20 19:26:31,447 INFO __main__ Connecting
2025-01-21T01:26:31.486266654Z 2025-01-20 19:26:31,485 ERROR __main__ Connection failed will try to connect in 30 seconds, error: [Errno 111] Connect call failed ('172.16.10.65', 5000), Line: 357
2025-01-21T01:27:01.508470798Z 2025-01-20 19:27:01,508 INFO __main__ Connecting
2025-01-21T01:27:01.517828160Z 2025-01-20 19:27:01,517 ERROR __main__ Connection failed will try to connect in 30 seconds, error: [Errno 111] Connect call failed ('172.16.10.65', 5000), Line: 357
2025-01-21T01:27:31.524429671Z 2025-01-20 19:27:31,524 INFO __main__ Connecting
2025-01-21T01:27:31.528864616Z 2025-01-20 19:27:31,528 ERROR __main__ Connection failed will try to connect in 30 seconds, error: [Errno 111] Connect call failed ('172.16.10.65', 5000), Line: 357
...............
Any ideas where to start? It shows it’s on firmware 2.820.0100000000.28.R.20240520 now. Camera model B451AJ.