Apollon77 / ioBroker.tuya

ioBroker adapter to connect to several small and cheap Wifi devices that care connected to the Tuya Cloud and mostly use the Smartlife App/Alexa-Skill
MIT License
88 stars 22 forks source link

Error in Adapter: Login for MQTT failed. #575

Closed fseffert closed 5 months ago

fseffert commented 5 months ago

Describe the bug I have a ZY-M100 presence detector. When I add my SmartApp and Cloud Credentials, the device is found, but is not receiving any updates... not local and not via cloud.

The log shows this error: image

From my understanding, the presence detector only works via the cloud, so the adapter would need to receive data from the Tuya Cloud. Looks like, something is wrong here using MQTT. Can someone help out?

Versions:

Apollon77 commented 5 months ago

If that presence detector is battery powered then yes most likely you need cloud.

Did you set anything up as described in the readme? So the cloud project, enabled all relevant services and such? see https://github.com/Apollon77/ioBroker.tuya?tab=readme-ov-file#functionality-local-only-vs-cloud-supported-features

If this is all done and enabled on their cloud and credentials correctly added to the configuration then please show a screenshort of the config and post a debug log from the adapter

fseffert commented 5 months ago

An API was missing in the Project. Works now, thank you!