Open alexps70 opened 2 weeks ago
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 This is a DIN switch with a display - measures power, power factor, frequency, current, voltage and temperature, counts the consumed energy and time (these counters can be reset). It also has settings for upper and lower voltage protection, overcurrent or power or high temperature.
Code | Type | Values |
---|---|---|
switch | Boolean | "{true,false}" |
low_voltage | Integer | { "unit": "V", "min": 100, "max": 220, "scale": 0, "step": 1 } |
over_voltage | Integer | { "unit": "V", "min": 130, "max": 290, "scale": 0, "step": 1 } |
over_current | Integer | { "unit": "A", "min": 0, "max": 100000, "scale": 3, "step": 1 } |
poweroff_time | Integer | { "unit": "min", "min": 0, "max": 60000, "scale": 0, "step": 30 } |
over_energy | Integer | { "unit": "KwH", "min": 0, "max": 99999999, "scale": 3, "step": 1 } |
over_power | Integer | { "unit": "kW", "min": 0, "max": 22000, "scale": 3, "step": 1 } |
over_temp | Integer | { "unit": "°C", "min": -20, "max": 150, "scale": 0, "step": 1 } |
flg_save | Enum | { "range": [ "0", "1", "2" ] } |
clear_flg | Boolean | "{true,false}" |
screen_poweroff | Integer | { "unit": "min", "min": 0, "max": 59, "scale": 0, "step": 1 } |
jishi_clear | Boolean | "{true,false}" |
countdown_1 | Integer | { "unit": "s", "min": 0, "max": 86400, "scale": 0, "step": 1 } |
switch_schedule | Boolean | "{true,false}" |
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. Because the scale info was not available for read-only sensors, some may be scaled incorrectly or have wrong units. Also, the "flags" feature was not understood, as they are just numeric values which probably have a more meaningful display in the app, so flags were left as attributes of the energy sensor.
how do I check this? I have version 2024.8.0 and when I try to add a new device, unsuitable device options are offered
Energy (kWh/1000) and power (W/10) readings need to be adjusted need add "scale" to energy and power entity: sensor class: energy dps:
Log message
DPS information
Product ID
tadm13agjigbdtxd
Product Name
KWS-302WF
Information about how the device functions
No response