Homebridge constantly restarting when using Tapo H100 hub & S200B smart button. Set up as a child bridge but this made no difference. Hub on its own works as intended - as soon as you add the button in the Tapo app, the error occurs. Have removed and reinstalled within the tapo app and the plugin within Homebridge - no change in behaviour.
Expected behavior
Button to operate without issue as I understand its supported within the current version.
Logs
27/12/2023, 21:54:43] [Tapo] Restarting Process...
[27/12/2023, 21:54:47] [Tapo] Launched child bridge with PID 15695
[27/12/2023, 21:54:47] Registering platform 'homebridge-tp-link-tapo.HomebridgeTPLinkTapo'
[27/12/2023, 21:54:48] [Tapo] Loaded homebridge-tp-link-tapo v4.1.0 child bridge successfully
[27/12/2023, 21:54:48] Loaded 2 cached accessories from cachedAccessories.0E701077****.
[27/12/2023, 21:54:49] [Tapo] Loading accessory from cache: Smart Hub
[27/12/2023, 21:54:49] [Tapo] Loading accessory from cache: Smart Button
[27/12/2023, 21:54:49] Homebridge v1.7.0 (HAP v0.11.1) (Tapo) is running on port 59060.
[27/12/2023, 21:54:50] [Tapo] Restoring existing accessory from cache: Smart Hub
[27/12/2023, 21:54:50] [Tapo] Restoring existing child accessory from cache: Smart Button
TypeError: Cannot read properties of undefined (reading 'timestamp')
at ButtonAccessory.setup (/var/lib/homebridge/node_modules/homebridge-tp-link-tapo/src/accessories/Button/index.ts:119:44)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[27/12/2023, 21:54:50] [Tapo] Child bridge process ended
[27/12/2023, 21:54:50] [Tapo] Process Ended. Code: 1, Signal: null
Describe The Bug
Homebridge constantly restarting when using Tapo H100 hub & S200B smart button. Set up as a child bridge but this made no difference. Hub on its own works as intended - as soon as you add the button in the Tapo app, the error occurs. Have removed and reinstalled within the tapo app and the plugin within Homebridge - no change in behaviour.
Expected behavior
Button to operate without issue as I understand its supported within the current version.
Logs
27/12/2023, 21:54:43] [Tapo] Restarting Process... [27/12/2023, 21:54:47] [Tapo] Launched child bridge with PID 15695 [27/12/2023, 21:54:47] Registering platform 'homebridge-tp-link-tapo.HomebridgeTPLinkTapo' [27/12/2023, 21:54:48] [Tapo] Loaded homebridge-tp-link-tapo v4.1.0 child bridge successfully [27/12/2023, 21:54:48] Loaded 2 cached accessories from cachedAccessories.0E701077****. [27/12/2023, 21:54:49] [Tapo] Loading accessory from cache: Smart Hub [27/12/2023, 21:54:49] [Tapo] Loading accessory from cache: Smart Button [27/12/2023, 21:54:49] Homebridge v1.7.0 (HAP v0.11.1) (Tapo) is running on port 59060. [27/12/2023, 21:54:50] [Tapo] Restoring existing accessory from cache: Smart Hub [27/12/2023, 21:54:50] [Tapo] Restoring existing child accessory from cache: Smart Button TypeError: Cannot read properties of undefined (reading 'timestamp') at ButtonAccessory.setup (/var/lib/homebridge/node_modules/homebridge-tp-link-tapo/src/accessories/Button/index.ts:119:44) at processTicksAndRejections (node:internal/process/task_queues:95:5) [27/12/2023, 21:54:50] [Tapo] Child bridge process ended [27/12/2023, 21:54:50] [Tapo] Process Ended. Code: 1, Signal: null
Plugin Config
{ "addresses": [ "192.168.1.244" ], "name": "Tapo", "email": "@.co.uk", "password": "", "_bridge": { "username": "0E:70:10:77::", "port": 59060 }, "platform": "HomebridgeTPLinkTapo"
Plugin Version
4.1.0
Homebridge Version
1.7.0
Node.js Version
20.10.0
NPM Version
10.2.3
Operating System
Raspberry Pi