-
Notifications
You must be signed in to change notification settings - Fork 518
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
Request support for <KWS-302WF> #2257
Comments
Local log message is required. Not a repeat of the dps info from Tuya cloud. |
2024-08-30 11:19:11.282 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches qoto_03_sprinkler with quality of 28%. DPS: {"updated_at": 1725005939.0350885, "16": true, "101": 2258, "102": 3620, "103": 6284, "104": 8173, "105": 129146, "106": 76, "107": 49, "108": 36, "109": 180, "110": 250, "111": 0, "113": 0, "114": 0, "115": 85, "116": "2", "119": 0, "123": 12495439} |
Also, what am I looking at here? What sort of device is a KWS-302WF? Edit: I see from #2259 that it is an energy meter. I would close this and let that one supercede it, except you reduced the info in dps info, so this one is slightly better. It is still missing info on range and scaling though. |
Sorry, I thought this request was closed as incorrect, so I created a new one |
|
Thank you. Closed issues can be reopened if the required info is given. 90% of users never get back with additional info, so I close quickly to avoid having to keep track of too many issues that don't have sufficient info to implement. |
If any additional information is needed, please advise how to obtain it. |
What you've provided above should be enough for now. |
Hello, i have the same energy meter, if you are so kind to help us, that wold be great ! Here's the exact product : https://www.aliexpress.com/item/1005006121485272.html. (KWS-302WF, the second one on the Choose color tab). Thank you ! |
An initial implementation has been attempted. |
Energy (kWh/1000) and power (W/10) readings need to be adjusted
|
Hi, the sensor returns correct values, but after some time it becomes unavailable and the Wi-Fi icon on the screen of the sensor starts flashing, i.e. it loses connection to the local network. |
Have you blocked internet? |
The device disconnects (almost always) when my Raspberry (with both HA supervised or HassOS installed) is on the same network. Once I disconnect the Raspberry the power meter starts connecting again. I believe I have granted access to the right APIs from the Tuya IoT Platform, but things (related to the guide I followed) may have changed over time, could the problem be related to that? |
Normal operation of this integration does not require access to the Tuya IoT platform. It is only needed to manually gather information about devices. You may be running into a router limitation such as number of IP addresses available for DHCP, though it is unusual that it is always the same device going offline so maybe there is something else happening. |
From the log I can trace the error which seems to be “Energy meter KWS-302WF protocol error 901: Network error: Unable to connect.” According to the internet, “it could be caused by network problems from the Raspberry PI to the device or it could be caused by another app.” |
The integration does not poll by default, so changing the polling interval is meaningless. Most likely your devices have too weak a wifi signal and are dropping the connection. Tuya devices mostly only support 2.4GHz Wifi, which is susceptible to interference from Bluetooth, Zigbee and microwave ovens, and they have PCB printed antennas, which depending on positioning within the device can give quite poor signal compared to other devices on the same WiFi network. |
Thanks for the interesting cue, indeed, verifying the link quality, the app provides a rather low Wi-Fi signal value. However, this does not explain why the sensor disconnects when the Raspberry is in the network. I will continue with the verification, thank you. |
Log message
DPS information
Product ID
tadm13agjigbdtxd
Product Name
KWS-302WF
Information about how the device functions
No response
The text was updated successfully, but these errors were encountered: