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

constant calls to api.smartthings.com #250

Closed sjensen009 closed 4 months ago

sjensen009 commented 4 months ago

Describe The Bug: this seems to have started within the last few days, in a 24 hour period, I’m seeing ~115k calls to api.smartthings.com. these are nonstop all day long. I’m not necessarily saying anything is wrong but in this expected?

To Reproduce: Nothing specific need to reproduce. just have the plugin running.

Expected behavior: is what I’m seeing expected behavior?

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots: IMG_1366

Environment:

iklein99 commented 4 months ago

If you are NOT using the webhook service, your devices are polled all day long. That is a call to smartthings API to find the status. You can control how often this is done via the configuration. By making the poll values larger, you will be polling less frequently, and updates will be slower to come into homekit. If you do not want the polling, you can sign up for the webhook service which eliminates polling. You can find out more at https://www.kleinstudios.net/

sjensen009 commented 4 months ago

Oh shoot. Now that you mention the web hook service, I recall reading about that previously. Thank you for the reply.

iklein99 commented 4 months ago

Closing - expected behavior