homebridge-switchbot icon indicating copy to clipboard operation
homebridge-switchbot copied to clipboard

Bug: Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500

Open frankdestclaude opened this issue 1 year ago • 13 comments

Describe the Bug

Sur raspberry PI4b, homebridge, error message : Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500

To Reproduce

Sur raspberry PI4b, homebridge, error message : Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500

Expected Behavior

qu'iln y ait plus de message d'erreur

Relevant Log Output

[29/02/2024 13:18:15] [SwitchBot] Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024 13:18:15] [SwitchBot] Meter: Chambre Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024 13:48:16] [SwitchBot] Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024 13:48:16] [SwitchBot] Meter: Chambre Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024 13:54:16] [SwitchBot] Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024 13:54:16] [SwitchBot] Meter: Chambre Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024 14:26:16] [SwitchBot] Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024 14:26:16] [SwitchBot] Meter: Chambre Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024 15:32:16] [SwitchBot] Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024 15:32:16] [SwitchBot] Meter: Chambre Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[29/02/2024 15:38:16] [SwitchBot] Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[29/02/2024 15:38:16] [SwitchBot] Meter: Chambre Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug

Config for homebridge-switchbot

{
    "name": "SwitchBot",
    "credentials": {
        "token": "401b11fdbe36201ea778768176b8a533061ad660e1e6c68947b344c1870ce08bb4dd233f9bcc914b7f3a7cc135e197b7",
        "secret": "2d0baa589a7aa80dd1c57eee360ba625",
        "notice": "Keep your Token & Secret a secret!"
    },
    "platform": "SwitchBot",
    "_bridge": {
        "username": "0E:75:7E:AC:71:C3",
        "port": 48999
    }
}

Screenshots

No response

Device and Model

Raspberry PI4b

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

v1.7.0

Operating System

raspbian

frankdestclaude avatar Feb 29 '24 14:02 frankdestclaude

I am having the same issue myself.

[3/12/2024, 5:40:52 AM] [SwitchBot] Bot: Upper Air conditioner Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:40:52 AM] [SwitchBot] Meter: Bedroom Meter Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[3/12/2024, 5:40:52 AM] [SwitchBot] Meter: Bedroom Meter Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:40:52 AM] [SwitchBot] Contact Sensor: Garden Door Sensor Internal Server Error,   An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[3/12/2024, 5:40:52 AM] [SwitchBot] Contact Sensor: Garden Door Sensor Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:42:52 AM] [SwitchBot] Smart Lock: Main Door Internal Server Error,        An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[3/12/2024, 5:42:52 AM] [SwitchBot] Smart Lock: Main Door Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:42:52 AM] [SwitchBot] Meter: Gaming meter Internal Server Error,  An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[3/12/2024, 5:42:52 AM] [SwitchBot] Meter: Gaming meter Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:44:52 AM] [SwitchBot] Meter: Gaming meter Internal Server Error,  An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[3/12/2024, 5:44:52 AM] [SwitchBot] Meter: Gaming meter Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:44:52 AM] [SwitchBot] Bot: Computer Internal Server Error,        An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[3/12/2024, 5:44:52 AM] [SwitchBot] Bot: Computer Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[3/12/2024, 5:44:52 AM] [SwitchBot] Contact Sensor: Main Door Contact Sensor Internal Server Error,     An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500

sametguzeldev avatar Mar 12 '24 12:03 sametguzeldev

Same

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

epheterson avatar Mar 13 '24 05:03 epheterson

Same

niqbert avatar Mar 17 '24 14:03 niqbert

same

Gus-smarthome avatar Mar 17 '24 16:03 Gus-smarthome

Same

zx81uk avatar Mar 24 '24 15:03 zx81uk

Same, for the Smart Lock.

mrlightison avatar Mar 25 '24 16:03 mrlightison

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 10 '24 11:04 github-actions[bot]

Same.

Aeon-Auriga avatar Apr 12 '24 19:04 Aeon-Auriga

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 28 '24 11:04 github-actions[bot]

Same

swshong avatar Apr 28 '24 16:04 swshong

Same here.

ghost avatar Apr 30 '24 02:04 ghost

Same issue as #959 . Reverting to v3.1.3 worked for me.

nnhoang avatar May 01 '24 03:05 nnhoang

This is an issue directly with Switchbot API v1.1. I've tested it myself on Postman and I saw the same 500 status code. image

I did the same test on Switchbot API v1.0 and that seemed to be working. Haven't received any 500 status code but I did not test it that much. What I saw was if you try to do the request again after a while it succeeds. So I implemented a retry mechanism myself and it worked. Received status code 100 after several tries.

image

sametguzeldev avatar May 05 '24 11:05 sametguzeldev

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 21 '24 11:05 github-actions[bot]

Mine now changed to statusCode: 190

Gus-smarthome avatar May 21 '24 19:05 Gus-smarthome

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 06 '24 11:06 github-actions[bot]

This issue has been closed as no further activity has occurred.

github-actions[bot] avatar Jun 12 '24 11:06 github-actions[bot]