iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

errors after updating plugin #67

Closed guylopes71 closed 1 year ago

guylopes71 commented 1 year ago

I am VERY NEW to this, so please bear with me.

I upgraded the plugin this morning, and these errors have started, and smarting s accessories have stopped responding

Before the upgrade, it all worked fine

example of log [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] garage arriere battery level LOW [28/10/2022, 11:28:07] Error: HAP Status Error: -70402 at new HapStatusError (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:15:5) at /var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/services/lockService.ts:55:17 at processTicksAndRejections (node:internal/process/task_queues:96:5) [28/10/2022, 11:28:07] Got SIGTERM, shutting down Homebridge... [28/10/2022, 11:28:12] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [28/10/2022, 11:28:17] [HB Supervisor] Restarting Homebridge... [28/10/2022, 11:28:17] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [28/10/2022, 11:28:17] [HB Supervisor] Started Homebridge v1.5.1 with PID: 10533 [28/10/2022, 11:28:19] Loaded config.json with 0 accessories and 3 platforms. [28/10/2022, 11:28:19] Loaded 10 cached accessories from cachedAccessories. [28/10/2022, 11:28:20] --- [28/10/2022, 11:28:20] Loaded plugin: homebridge-envisalink@1.2.0 [28/10/2022, 11:28:20] Registering platform 'homebridge-envisalink.Envisalink' [28/10/2022, 11:28:20] --- [28/10/2022, 11:28:20] Loaded plugin: homebridge-smartthings-ik@1.4.9 [28/10/2022, 11:28:20] Registering platform 'homebridge-smartthings-ik.HomeBridgeSmartThings' [28/10/2022, 11:28:20] --- [28/10/2022, 11:28:20] Loading 3 platforms... [28/10/2022, 11:28:20] [Envisalink] Initializing Envisalink platform... [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Initializing HomeBridgeSmartThings platform... [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: cuisine [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: Garage Avant [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: garage arriere [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: Office door [28/10/2022, 11:28:20] [Envisalink] Configuring Envisalink platform, Host: 192.168.2.30 Port: 4025

iklein99 commented 1 year ago

For now, try putting the Office door in the list of devices to ignore, then find out why it is offline. That shouldn’t make homebridge shut down - I have to look into that, but doing this may get you up and running again.

On Oct 28, 2022, at 11:31 AM, guylopes71 @.***> wrote:

I am VERY NEW to this, so please bear with me.

I upgraded the plugin this morning, and these errors have started, and smarting s accessories have stopped responding

Before the upgrade, it all worked fine

example of log [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] Office door is offline [28/10/2022, 11:28:07] [Smartthings Plug (IK)] garage arriere battery level LOW [28/10/2022, 11:28:07] Error: HAP Status Error: -70402 at new HapStatusError (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:15:5) at /var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/services/lockService.ts:55:17 at processTicksAndRejections (node:internal/process/task_queues:96:5) [28/10/2022, 11:28:07] Got SIGTERM, shutting down Homebridge... [28/10/2022, 11:28:12] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [28/10/2022, 11:28:17] [HB Supervisor] Restarting Homebridge... [28/10/2022, 11:28:17] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [28/10/2022, 11:28:17] [HB Supervisor] Started Homebridge v1.5.1 with PID: 10533 [28/10/2022, 11:28:19] Loaded config.json with 0 accessories and 3 platforms. [28/10/2022, 11:28:19] Loaded 10 cached accessories from cachedAccessories. [28/10/2022, 11:28:20] --- [28/10/2022, 11:28:20] Loaded plugin: @. [28/10/2022, 11:28:20] Registering platform 'homebridge-envisalink.Envisalink' [28/10/2022, 11:28:20] --- [28/10/2022, 11:28:20] Loaded plugin: @. [28/10/2022, 11:28:20] Registering platform 'homebridge-smartthings-ik.HomeBridgeSmartThings' [28/10/2022, 11:28:20] --- [28/10/2022, 11:28:20] Loading 3 platforms... [28/10/2022, 11:28:20] [Envisalink] Initializing Envisalink platform... [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Initializing HomeBridgeSmartThings platform... [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: cuisine [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: Garage Avant [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: garage arriere [28/10/2022, 11:28:20] [Smartthings Plug (IK)] Loading accessory from cache: Office door [28/10/2022, 11:28:20] [Envisalink] Configuring Envisalink platform, Host: 192.168.2.30 Port: 4025

— Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/67, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55EW6JCCI3C3UOZ6O6HDWFPWTVANCNFSM6AAAAAARRF2H3M. You are receiving this because you are subscribed to this thread.

guylopes71 commented 1 year ago

So additional info. Today I also updated the homebridge software. I just rolled back your plugin, and at 1.4.7 all is ok, and at 1.4.8 the same error starts to pop. I brought down to 1.4.7 for now. Let me know what I can do to help you in this.

iklein99 commented 1 year ago

Should be fixed in 1.4.10. Let me know.

iklein99 commented 1 year ago

Closing