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

Plug-in causes homebridge boot loop #30

Closed pwlivewire closed 1 year ago

pwlivewire commented 1 year ago

Log is full of these before it reloads

[9/18/2022, 2:09:47 PM] Error: HAP Status Error: -70402 at new HapStatusError /var/lib/homebr idge/nodemodules/.pnpm/hap-nodejs@0.10.2/ node modules/hap-nodejs/src/lib/util/hapSt atusError.ts:15:5) at /var/lib/homebridge/node modules/.p npm/homebridge-smartthings-ik@1.3.0/node_m odules/homebridge-smartthings-ik/src/senso rAccessory.ts:80:23 at new Promise () at SensorAccessory.requestStatus /var /lib/homebridge/node_modules/.pnpm/homebri dge-smartthings-ik@1.3.0/node_modules/home bridge-smartthings-ik/src/sensorAccessory. ts:77:12) at sensorAccessory.getMotion (/var/lib /homebridge/node_modules/.pnpm/homebridge-smartthings-ik@1.3.0/node_modules/homebrid ge-smartthings-ik/src/sensorAccessory.ts:1 09:37) at Timeout. onTimeout /var/lib/homebr idge/nodemodules/.pnpm/homebridge-smartth ings-ik@1.3.0/node modules/homebridge-smar tthings-ik/src/sensorAccessory.ts:56:14) at listOnTimeout node:internal/timers :559:17) at processTimers node:internal/timers :502:7)

pwlivewire commented 1 year ago

image

martindinicolino commented 1 year ago

same here, any solutions?

iklein99 commented 1 year ago

I’ll have a look at this today. Sent from my iPhoneOn Sep 19, 2022, at 5:23 AM, martindinicolino @.***> wrote: same here, any solutions?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

iklein99 commented 1 year ago

There is a bug with the sensor code. This is happening because your motion sensor is offline. For now, you can exclude the device (see the readme for how to exclude devices) so that it doesn't try to register it. I will get a fix out as soon as I can.

iklein99 commented 1 year ago

Fixed in 1.3.1

pwlivewire commented 1 year ago

image

Not fixed, just boot loops with a different error

pwlivewire commented 1 year ago

image

iklein99 commented 1 year ago

The error will be there because the sensors are not responding. You need to address that. The server should not restart, however.

Either exclude the devices on the plugin configuration or remove the devices from your smartthings network.

On Sep 19, 2022, at 8:39 PM, pwlivewire @.***> wrote:

https://user-images.githubusercontent.com/25018910/191142630-6cff6f0a-91d0-4e03-a408-61895b4f828b.png — Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/30#issuecomment-1251708924, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55EU76GJGU7RTRH4GH2LV7EBS3ANCNFSM6AAAAAAQPOEF3E. You are receiving this because you modified the open/close state.