seydx / homebridge-star-projector

Homebridge plugin for controlling tuya/smartlife based star projectors
MIT License
41 stars 2 forks source link

find() timed out during startup #5

Closed tfohlmeister closed 3 years ago

tfohlmeister commented 3 years ago

I receive the following error during homebridge startup: StarProjector: An error occured during connecting to Tuya API: find() timed out. Is the device powered on and the ID or IP correct? - Retry in 60s

Credentials from tuya-cli:

[
  {
    name: 'Panamalar-Smart Star Projector',
    id: '***',
    key: '***'
  }
]

I configured the plugin as following:

{
            "name": "StarProjector",
            "projectors": [
                {
                    "name": "StarProjector",
                    "tuyaId": "ID_FROM_ABOVE",
                    "tuyaKey": "KEY_FROM_ABOVE",
                    "color": true,
                    "laser": true,
                    "starRotation": true,
                    "scenes": [
                        {
                            "active": false
                        },
                        {
                            "active": false
                        }
                    ]
                }
            ],
            "platform": "StarProjector"
        }

Is there any way to debug this? Looking at the source code it seems my homebridge instance can't access the tuya server at all..?!

tfohlmeister commented 3 years ago

Probably a problem in the upstream library or in my setup. Closing this now.

ScharV commented 2 years ago

@tfohlmeister could you solve the issue? having the same problem with two setups and can't find a way to get it working

tfohlmeister commented 2 years ago

@ScharV Unfortunately not, I returned the projector by now (also because of this).