Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Request: plugin stop working #575

Closed
kwip5 opened this issue Nov 7, 2022 · 3 comments
Closed

Support Request: plugin stop working #575

kwip5 opened this issue Nov 7, 2022 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@kwip5
Copy link

kwip5 commented Nov 7, 2022

Describe Your Problem

Switchbot plugin stop working overnight. Homekit not able to control the devices, no log entry generated, device statue not updating in Home app, cannot add new devices to HomeKit. I tried downgrade homebridge to v1.5.0, tried upgrade plugin to latest beta version, tried set the pull interval to 10000, tried install all version of Node.jp available on Synology (v12/14/16).

Relevant log output

[11/7/2022, 5:56:15 PM] [SwitchBot] Initializing SwitchBot platform...
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Using Config Logging: debug
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Finished initializing platform:
[11/7/2022, 5:56:15 PM] [SwitchBot] Platform Config: {"logging":"debug","refreshRate":10000}
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Using Default Push Rate.
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Config OK
[11/7/2022, 5:56:15 PM] Loading 1 accessories...
[11/7/2022, 5:56:15 PM] [Roomba] Initializing Roomba accessory...
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Loading accessory from cache: Air Conditioner
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Loading accessory from cache: Contact Sensor
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Loading accessory from cache: Bot
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Loading accessory from cache: Motion Sensor
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Loading accessory from cache: Meter Plus
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Loading accessory from cache: Curtain
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] Executed didFinishLaunching callback
[11/7/2022, 5:56:15 PM] [SwitchBot] [DEBUG] sing: uwDQ0sL2n4fx5GT3sbhNbVPvL9cjmIU5nwoXClr0qGw=
......
[11/7/2022, 5:56:17 PM] [SwitchBot] [DEBUG] statusCode: 200
[11/7/2022, 5:56:17 PM] [SwitchBot] [DEBUG] headers: {"date":"Mon, 07 Nov 2022 09:56:17 GMT","content-type":"application/json","content-length":"73","connection":"close","x-amzn-requestid":"773ae948-447d-40cb-bc2a-d9fb09b93d20","x-amz-apigw-id":"bOZqLHULoAMFZ4g=","x-amzn-trace-id":"Root=1-6368d640-3bb41f1563c84dd15d70dea3;Sampled=0"}
[11/7/2022, 5:56:17 PM] [SwitchBot] [DEBUG] d: {"statusCode":190,"body":{},"message":"Requests reached the daily limit"}
[11/7/2022, 5:56:17 PM] [SwitchBot] [DEBUG] devicesAPI: {}
[11/7/2022, 5:56:17 PM] [SwitchBot] [DEBUG] SwitchBot Device Config Not Set: undefined
[11/7/2022, 5:56:17 PM] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'map'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug

Config for homebridge-switchbot

"name": "SwitchBot",
            "credentials": {
                "token": "******",
                "secret": "******",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "refreshRate": 10000,
                "logging": "debug"
            },
            "platform": "SwitchBot"
        }

Screenshots

No response

Device & Model

Synology DS1522+ / 7-8 switchbot devices

Node.js Version

v16.16.0

NPM Version

v8.11.0

Homebridge Version

v1.5.1

Homebridge SwitchBot Plugin Version

v.2.2.2

Homebridge Config UI X Plugin Version

v4.50.1

Operating System

Synology DMS 7.1.1-42962

@donavanbecker
Copy link
Collaborator

message":"Requests reached the daily limit"} [11/7/2022, 5:56:17 PM] [SwitchBot] [DEBUG] devicesAPI: {}

Here is your issue.

@donavanbecker donavanbecker closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2022
@kwip5
Copy link
Author

kwip5 commented Nov 7, 2022

Yes, I noticed that error, read your reply in #507, and tried different refresh rates (e.g. 3600 / 10000, even 36000), but it is still not working.

Thanks

@donavanbecker
Copy link
Collaborator

you have to wait 24 hours for your rate limit to be reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants