Comments (13)
Hi! I hope someone can help. My homebridge server was running flawlessly for a long time, controlling a few Switchbot Tilts. Recently, it started breaching the limit of requests to the switchbot API. Best I can tell, it is because every 10 minutes it tries to get status of the blinds, but gets the following error:
[09/02/2024, 19:00:02] [SwitchBot] Blind Tilt: KN1 Unknown statusCode: 500, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[09/02/2024, 19:00:02] [SwitchBot] Blind Tilt: KN1 Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
I can't figure this one out. I would really appreciate it if Donavan or someone else could help, or point me in the right direction. Thank you!
from homebridge-switchbot.
Looking at your config, it looks like you are using the updateRate and RefreshRate wrong. Looks like it is opposite of the design, so you are using the default refreshRate. Set a per device, refreshRate and remove the updateRate.
from homebridge-switchbot.
I removed the updateRate (set it back to default), but my problem predates me messing with it. Here is what I am getting today:
[10/02/2024, 21:10:25] [SwitchBot] Blind Tilt: FR1 Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[10/02/2024, 21:10:25] [SwitchBot] Blind Tilt: FR1 Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
[10/02/2024, 21:10:25] [SwitchBot] Blind Tilt: FR3 Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[10/02/2024, 21:10:25] [SwitchBot] Blind Tilt: FR3 Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
from homebridge-switchbot.
Here is my revised config:
"options": {
"devices": [
{
"deviceId": "fae31454c325",
"configDeviceName": "KN1",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "C1AD487BB291",
"configDeviceName": "FR1",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "EDEF7496290F",
"configDeviceName": "FR2",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "CB2519D8D4C7",
"configDeviceName": "FR3",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "F18C577FE4B5",
"configDeviceName": "FR4",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "D26D27A8299B",
"configDeviceName": "FR5",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "C2BE046D57C9",
"configDeviceName": "MB1",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "D4F91D93322C",
"configDeviceName": "MB2",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
},
{
"deviceId": "F1044586BCE3",
"configDeviceName": "MB3",
"configDeviceType": "Blind Tilt",
"connectionType": "OpenAPI",
"blindTilt": {
"mode": "only_up"
}
}
],
"pushRate": 5
},
"platform": "SwitchBot"
from homebridge-switchbot.
I did update this plugin to 3.3.0 today
from homebridge-switchbot.
@realpicard add refreshRate to each device. With them being window covers you really don't need to refresh as much.
Maybe set to 900? Would be ever 15 mins.
from homebridge-switchbot.
Also remove the platform pushRate
from homebridge-switchbot.
I don't see pushRate in the GUI, should I just remove it from the config text?
from homebridge-switchbot.
Sorry, found it and removed.
from homebridge-switchbot.
I just tried opening one of the blinds from the Accessories tab in HomeBridge, and it did open. But here is the log:
[10/02/2024, 21:40:03] [SwitchBot] Blind Tilt: KN1 Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500
[10/02/2024, 21:40:03] [SwitchBot] Blind Tilt: KN1 Unknown statusCode: undefined, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug
from homebridge-switchbot.
Retry re-generating your token/secret and put the new one in your config
from homebridge-switchbot.
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.
from homebridge-switchbot.
This issue has been closed as no further activity has occurred.
from homebridge-switchbot.
Related Issues (20)
- Support Request: Errors and Warning for Switchbot Curtain, not sure where to configure these values HOT 2
- Bug: Unknown statusCode: undefined - Re-opening HOT 2
- Feature Request: Specify a range of temperature settings for the air conditioner HOT 5
- Wiki updates HOT 1
- Bug: Missing all device with 3.1.1 HOT 6
- v3.1.2 leads to endless restart of child bridge. When restarting HomeBridge no plugins are loaded. HOT 4
- Bug: Cannot find package '@abandonware/noble' HOT 2
- Bug: Lock New Status Code Response HOT 4
- Feature Request: Smart Lock Pro HOT 7
- Mini Vacuum K10+ not working HOT 11
- Support Request: IR Devices not showing up HOT 7
- Support Request: HOT 3
- Bug: OpenAPI Unauthorized using valid keys HOT 4
- Support Request: Refresh rate HOT 2
- Support Request: Indoor/Outdoor sensors not showing in HomeKit HOT 4
- Bug: Ceiling Light does not respect changes outside of Homebridge/Homekit HOT 2
- Bug: Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500 HOT 15
- Bug: Homekit open/close/percentage open requests appear to do nothing or have the blinds proceed to incorrect open angles. HOT 2
- Bug:Blind Tilt: Right window Internal Server Error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-switchbot.