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

Homebridge logs full of Error Code: 9999, Session Timeout #28

Open
antonme opened this issue Jan 10, 2022 · 6 comments
Open

Homebridge logs full of Error Code: 9999, Session Timeout #28

antonme opened this issue Jan 10, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@antonme
Copy link

antonme commented Jan 10, 2022

Describe The Bug:
Everything works, but homebridge logs is full of 9999 Session Timeout errors all the time. Always about the same p100 plug (which is working fine at the same time, both via homebridge and tapo app).

To Reproduce:
For me it's reproduceable as long as that plug is in the config.

Expected behavior:
No errors in logs when everything works fine.

Logs:

[1/10/2022, 5:24:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:24:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:24:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:24:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:25:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:25:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:25:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:25:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:25:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:26:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:26:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:26:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:26:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:26:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:27:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:27:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:27:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:27:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:27:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:28:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:28:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:28:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:28:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:28:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:29:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:29:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:29:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:29:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:29:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:30:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:30:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:30:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:30:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:30:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:31:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:31:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:31:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:31:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:31:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:32:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:32:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:32:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:32:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:32:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:33:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:33:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:33:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:33:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:33:57 PM] [Tapo Smart Platform] 326 Error Code: 9999, Session Timeout 192.168.20.135
[1/10/2022, 5:34:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:34:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:34:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout
[1/10/2022, 5:34:57 PM] [Tapo Smart Platform]  Error Code: 9999, Session Timeout

Plugin Config:

"name": "Tapo Smart Platform",
            "username": "(removed)",
            "password": "(removed)",
            "devices": [
                {
                    "name": "Filament Dryer",
                    "host": "192.168.20.128",
                    "type": "Plug",
                    "updateInterval": 60
                },
                {
                    "name": "Big Red Purifier",
                    "host": "192.168.20.135",
                    "type": "Plug",
                    "updateInterval": 60
                },
                {
                    "name": "Christmas tree",
                    "host": "192.168.20.138",
                    "type": "Plug",
                    "updateInterval": 60
                }
            ],
            "platform": "TapoP100"
        }

Screenshots:
Screen Shot 2022-01-10 at 17 38 49

Environment:

  • Plugin Version: 1.4.15
  • Homebridge Version: 1.3.9
  • Node.js Version: 16.13.1
  • NPM Version: 8.1.2
  • Operating System: Docker
@antonme antonme added the bug Something isn't working label Jan 10, 2022
@AATTARD03
Copy link

I got this issue today and I can’t even control them my lights (p100 eu plugs) from Homebridge. Adding the platform bridge to HomeKit does add the accessories but they all say “no response”. I can only assume Tapo have changed something on there end as even previous/beta versions of the plug-in are broken now :/

@Cylus7
Copy link

Cylus7 commented Mar 25, 2022

I have the same issue (but can’t control the plug at all), just installed the plugin but no ability to control p100 plugs

@joshrdavis
Copy link

Really odd but I've found removing the timeout value for each of the devices it resolves this.

@just-get-it-done
Copy link

Really odd but I've found removing the timeout value for each of the devices it resolves this.

Did you manually edit the config?

@AATTARD03
Copy link

AATTARD03 commented Jun 5, 2022

Really odd but I've found removing the timeout value for each of the devices it resolves this.

Did you manually edit the config?

I realise I ought to have mentioned this here but after my first experience of the issue in Jan this year, I left Homebridge running and after a day or two the Tapo lights (p100 plugs) just started working again.

I’ve rebooted Homebridge a few times since and haven’t had any issues until a few days ago. Having not updated or restarted anything on Homebridge in over two months I updated everything available including Homebridge itself. When it rebooted I was having the same issue as before - plugs show up in HomeKit but say no response in red.

I looked back through this forum to try and resolve the issue and after several reboots I did try removing the entire line mentioning time out from the config. This didn’t work right after rebooting but after a few hours the lights started working again - so it may or may not be from removing the variable entirely but the code runs fine without it present in the config.

@joshrdavis
Copy link

Really odd but I've found removing the timeout value for each of the devices it resolves this.

Did you manually edit the config?

Yes, I did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants