homebridge-tuya-web
homebridge-tuya-web copied to clipboard
Adding the WiFi Temperature & Humidity Sensor issue
Hello,
I tried to add my WiFi Temperature & Humidity Sensor to this HomeBridge Tuya Web plugin but it says: [17/09/2022, 20:36:51] [TuyaWebPlatform] Tried overwriting device config for: "bf5xxxxxx914622ddczav" which is not a valid device-id or device-name. (not the actual ID)
Any recommendations? Thanks in advance!
Thank you for your great plugin! I have the same problem with @bkrisz14. Are there any solutions?
Please post the result of the steps under "How to check whether the api this library uses can control your device".
Please also include your configuration file for this plugin.
Without this it is hard for me to help you with regards to this specific issue.
This was the result of the script:
Getting credentials Got credentials { 'access_token': 'EUheu1663441295198LEMjGz5RAezGsXR', 'expires_in': 864000, 'refresh_token': 'EUheu1663441295198LEMjG4NzkRjcXGm', 'token_type': 'bearer'} Getting devices Got devices { 'header': {'code': 'SUCCESS', 'payloadVersion': 1}, 'payload': {'devices': [], 'scenes': []}} !!! NOW REMOVE THIS FILE, SO YOUR CREDENTIALS (username, password) WON'T LEAK !!!
Since I didn't see my device here I contaced the Tuya support and they said:
Tuya engineer (09-22 09:04:30) we check the logs do not find something wrong /error about it
My config file has the following lines:
{
"name": "TuyaWebPlatform",
"options": {
"username": "[email protected]",
"password": "xxx",
"countryCode": "36",
"platform": "tuya"
},
"defaults": [
{
"id": "bf5xxxxxx914622ddczav",
"device_type": "temperature_sensor",
"current_temperature_factor": "1"
}
],
"scenes": false,
"platform": "TuyaWebPlatform"
}
This is a very good plugin, but I have exactly the same problem as others here. Please, try to resolve this!
@Tupuz same as stated before, please post your config file and the result of the steps as outlined earlier.
@bkrisz14 you have no devices exposed, sadly your devices do not work with the API that this plugin uses.
I have a WiFi Temperature & Humidity Sensor, which works well in Smart Life app in my iPhone. The configuration in defaults section is: { "id": "bfe48b9905267356f09j0p", "device_type": "temperature_sensor", "current_temperature_factor": "1" }
HOOBS seem to recognize the sensor, log file: "7.10.2022 klo 14.20.28Tuya Web BridgeTuyaWebPlatformExisting Accessory found [Name: LämpöKost KPH] [Tuya ID: bfe48b9905267356f09j0p] [HomeBridge ID: c5fad494-78fe-4d0e-aa3a-35f0443ad041]",
Home-app shows this, but says that accessory is not responding and temperature is -- degrees.
I could not do the script above, I got only errors :-(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.