OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://openwonderlabs.github.io/homebridge-switchbot/
ISC License
239 stars 51 forks source link

Bug:Blind Tilt: Right window Internal Server Error #949

Closed cedarspike24 closed 2 months ago

cedarspike24 commented 7 months ago

Describe the Bug

Blind Tilt: Right window Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500 [29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Right window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug

To Reproduce

I'm not sure how to reproduce the error. It just happens.

Expected Behavior

To have zero errors.

Relevant Log Output

[29/02/2024, 07:00:02] [SwitchBot] Blind Tilt: Center window Set TargetHorizontalTiltAngle: -90
[29/02/2024, 07:00:02] [SwitchBot] Blind Tilt: Left window Set TargetHorizontalTiltAngle: -90
[29/02/2024, 07:00:02] [SwitchBot] Blind Tilt: Right window Set TargetHorizontalTiltAngle: -90
[29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Right window Internal Server Error,      An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Right window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Center window Internal Server Error,     An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Center window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Left window Internal Server Error,       An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024, 07:00:04] [SwitchBot] Blind Tilt: Left window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024, 07:00:06] [SwitchBot] Blind Tilt: Left window Internal Server Error,       An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024, 07:00:06] [SwitchBot] Blind Tilt: Left window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024, 07:00:06] [SwitchBot] Blind Tilt: Center window Internal Server Error,     An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024, 07:00:06] [SwitchBot] Blind Tilt: Center window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024, 07:00:06] [SwitchBot] Blind Tilt: Right window Internal Server Error,      An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024, 07:00:06] [SwitchBot] Blind Tilt: Right window Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024, 07:20:19] [TplinkSmarthome] [Picture lights] Setting On to: false
[29/02/2024, 07:20:22] [Govee] [Front yard] current state [off].
[29/02/2024, 07:20:22] [Govee] [Front yard] current brightness [39%].
[29/02/2024, 07:20:22] [Govee] [Front yard] current brightness [100%].
[29/02/2024, 07:20:25] [Govee] [Kitchen 3] current state [off].
[29/02/2024, 07:20:25] [Govee] [Kitchen 2] current state [off].
[29/02/2024, 07:20:25] [Govee] [Kitchen 1] current state [off].
[29/02/2024, 07:20:25] [Govee] [Kitchen 3] current brightness [20%].
[29/02/2024, 07:20:26] [Govee] [Kitchen 2] current brightness [20%].
[29/02/2024, 07:20:26] [Govee] [Kitchen 1] current brightness [20%].
[29/02/2024, 07:20:52] [Govee] [Kitchen 2] current brightness [50%].
[29/02/2024, 07:20:52] [Govee] [Kitchen 3] current brightness [50%].
[29/02/2024, 07:20:52] [Govee] [Kitchen 1] current brightness [50%].
[29/02/2024, 07:25:25] [Govee] [Living room lights] current state [off].
[29/02/2024, 07:25:26] [Govee] [Living room lights] current brightness [23%].
[29/02/2024, 07:25:52] [Govee] [Living room lights] current brightness [59%].
[29/02/2024, 08:30:01] [TplinkSmarthome] [Picture lights] Setting On to: true
[29/02/2024, 08:30:02] [Govee] [Living room lights] current state [on].
[29/02/2024, 08:30:02] [Govee] [Living room lights] current brightness [23%].
[29/02/2024, 08:30:02] [Govee] [Kitchen 1] current state [on].
[29/02/2024, 08:30:02] [Govee] [Kitchen 2] current state [on].
[29/02/2024, 08:30:02] [Govee] [Kitchen 3] current state [on].
[29/02/2024, 08:30:02] [Govee] [Kitchen 3] current brightness [20%].
[29/02/2024, 08:30:02] [Govee] [Kitchen 2] current brightness [20%].
[29/02/2024, 08:30:02] [Govee] [Kitchen 1] current brightness [20%].
[29/02/2024, 08:30:22] [Govee] [Kitchen 1] current brightness [50%].
[29/02/2024, 08:30:22] [Govee] [Kitchen 3] current brightness [50%].
[29/02/2024, 08:30:22] [Govee] [Living room lights] current brightness [59%].
[29/02/2024, 08:30:22] [Govee] [Kitchen 2] current brightness [50%].
[29/02/2024, 09:23:53] [SwitchBot] Blind Tilt: Left window failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Connect Timeout Error"
[29/02/2024, 09:45:59] [Govee] [Kitchen 3] current brightness [20%].
[29/02/2024, 09:46:23] [Govee] [Kitchen 3] current brightness [50%].
[29/02/2024, 10:23:18] [TplinkSmarthome] [Garage] Setting On to: true
[29/02/2024, 10:33:19] [TplinkSmarthome] [Garage] Setting On to: false
[29/02/2024, 10:40:42] [TplinkSmarthome] [Garage] Setting On to: true
[29/02/2024, 10:40:42] [TplinkSmarthome] [Garage] Setting On to: true
[29/02/2024, 11:04:18] [Govee] [Living room lights] current brightness [23%].
[29/02/2024, 11:04:23] [Govee] [Living room lights] current brightnes

Config for homebridge-switchbot

12345678910111213
{    "name": "SwitchBot",    "credentials": {        "token": "XXXXXXXXXXXXXXXXXXX",        "secret": "XXXXXXXXXXXXXX",        "notice": "Keep your Token & Secret a secret!"    },    "_bridge": {        "username": "0E:E3:29:3D:31:CA",        "port": 59953    },    "platform": "SwitchBot"}

Screenshots

No response

Device and Model

switchbot blind tilt

Node.js Version

v20.11.1

NPM Version

v10.2.4

Homebridge Version

v1.7.0

Homebridge Switchbot Plugin Version

v3.4.0

Homebridge Config UI X Plugin Version

v4.55.1

Operating System

Debian

8bitDesigner commented 6 months ago

I’m also curious about this; I’ve been seeing a bunch of 500 errors in my log files recently.

epheterson commented 6 months ago

Same

https://github.com/OpenWonderLabs/homebridge-switchbot/issues/953

yotis1982 commented 6 months ago

I have the same, just that is not a Blind Tilt, is a Bot. Everything else tick the same.

zx81uk commented 6 months ago

Getting the same on all my blinds and temperature sensors

zx81uk commented 5 months ago

Still not fixed

donavanbecker commented 3 months ago

v3.5.1 has been released, please install and let me know if this has been resolved.

donavanbecker commented 2 months ago

v3.6.0 has been released. If this issue isn't resolved please open a new issue.