-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Bug]: Thermostat is not detected automaticaly #319
Comments
I can see that it detected device but not sure, Post the entry diagnostics.
|
home-assistant_localtuya_2024-08-05T08-52-35.607Z.log |
Post the entry diagnostics |
Have you tried to add the device manually? From the discovered devices list select |
That is weird so basically the device doesn't expose it self locally? can you try to check if "6668" port is open on the device? Using Powershell on windows: change Test-NetConnection -ComputerName 192.168.1.102 -Port 6668 success results:
Also do you have the link product of your device? |
|
If the device runs on batteries then it may be a low-power device so let's test if this is low-power device or not.
It will probably goes to the next steps however if the status didn't shows up wait for the device to wake up and reports the status. |
Try 3.4 protocol version instead of auto. |
Changing protocol helps me to add the device but I have no data from it. Every sensor is disabled. |
If the sensors hasn't been updated for the whole day I no longer think this is a low-power device. How did you set-up the device? Wifi-Direct or the device connected to Router? or Are you using Gateway? |
I connected it with wifi. Nothing special, I switched to connection mode then in the Tuya app found the device and added it. |
I have the exact same issue. Did you manage to make your thermostat work? I think it is just like PIR sensor, it must be added the exact same moment it connects to wifi, reporting its state. But in the case of this temperature/humidity sensor, I am not sure how to trigger the connection to add it in the right time. In my case, both PIR and temp sensor are generic ones, bought from Aliexpress. They work with batteries. I was mistaken, it is possible to connect to the device right away when putting batteries on it, but no data as salos1982 wrote before. |
No, I didn't manage. For me is ok to use a thermostat with online Tuya integration. I spent a lot of time trying to make it work. |
The issue is that the device it self reports that the port is closed #319 (comment) so I assumed that it low-power device, Also closed port can be happen if another connection is active with the device e.g. "smart life or any other Local integration"
I have low-power device (Temperature & Humidity Sensor) I can connect to it when it wakes up however I don't do this always because If I know the IP of that device I can just add it and specify sleep time with 0 in manual DPS #319 (comment) now if the device wakes up later localtuya will update the entities, Note: The low-power devices shows in discovered devices "even if it not connectable because it maybe is sleep" but salos1982 seems it devices not showing up at all this could happen only if the device is not connected directly to the router e.g. Wifi Direct or Bluetooth, or the port is closed because it busy. To be honest I'm more confused why the device didn't get discovered instead of not connectable ^^ it should at least shows in discovered devices even after some hours. |
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
LocalTuya Version
2024.7.0
Home Assistant Version
2024.7.3
Environment
What happened?
I bought 2 new thermostats and added them to Tuya account. But when I'm trying to add these devices I see only some strange device IDs that I haven't added.
![image](https://private-user-images.githubusercontent.com/2404581/354822216-abb435bd-1acc-4612-811a-bcf09292c21f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjYyMjIsIm5iZiI6MTcyNTk2NTkyMiwicGF0aCI6Ii8yNDA0NTgxLzM1NDgyMjIxNi1hYmI0MzViZC0xYWNjLTQ2MTItODExYS1iY2YwOTI5MmMyMWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTBUMTA1ODQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDdjZTkzMTU2OWVhMWYyMGUxMjczOTM2ZGMyODRjZGIwODE4MWEyNjQwNjQ2ZGJkNjkxNzU1OTc0M2JjNTc0ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._jyHqsdWdHXnink_u5g-0paeXw3aXOuox0UjZMrd3yk)
There are no my devices in suggested devices. I made a screenshot from tuya developer
![image](https://private-user-images.githubusercontent.com/2404581/354822148-dbf5cc91-ec33-4296-9067-4144477c43b2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjYyMjIsIm5iZiI6MTcyNTk2NTkyMiwicGF0aCI6Ii8yNDA0NTgxLzM1NDgyMjE0OC1kYmY1Y2M5MS1lYzMzLTQyOTYtOTA2Ny00MTQ0NDc3YzQzYjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTBUMTA1ODQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODJlNmQ4ZDY4MTU2Mjk3YjRhY2E0NDJlMmNjMzE2OGE1NzJhNmM3YjllYmU0YzcwOTIzZDZiMTQ4MWE3ZGFmMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.VOyCQZuW135AUnnD4-F5b6GIcncYdC9c8wu6lFseFuI)
Steps to reproduce.
Open Local Tuya Integration
Click Setup
Choose setup new device
Relevant log output
No response
Diagnostics information.
No response
The text was updated successfully, but these errors were encountered: