-
Notifications
You must be signed in to change notification settings - Fork 490
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 ZM-wi-Fi Smart Meter #1208
Comments
I same issue any update about device. |
result from the Query Things Data Model function { |
### log form hass This error originated from a custom integration. Logger: custom_components.tuya_local.config_flow Device matches None with quality of 0%. DPS: {"updated_at": 1698232863.0311344, "1": 456323, "10": 0, "16": true, "18": "111111111111"} Logger: homeassistant.util.async_ Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 77: self._api = tinytuya.Device(dev_id, address, local_key) |
Could you please provide a support for power meter single phase ZM-wi-Fi Smart Meter.
"model": "ZM-wi-Fi -电表",
"name": "WiFi Smart Meter",
"product_id": "nzexeqam9qulajbf",
"product_name": "WiFi Smart Meter",
{
"result": {
"properties": [
{
"code": "total_forward_energy",
"custom_name": "",
"dp_id": 1,
"time": 1697991145657,
"value": 452860
},
{
"code": "phase_a",
"custom_name": "",
"dp_id": 6,
"time": 1697991179989,
"value": "CR8ADjAAAtw="
},
{
"code": "fault",
"custom_name": "",
"dp_id": 10,
"time": 1697976210955,
"value": 0
},
{
"code": "switch",
"custom_name": "",
"dp_id": 16,
"time": 1697976210955,
"value": true
},
{
"code": "alarm_set_2",
"custom_name": "",
"dp_id": 17,
"time": 1697975758236,
"value": "AQAAPAMAAO4EAADI"
},
{
"code": "meter_id",
"custom_name": "",
"dp_id": 18,
"time": 1697976210955,
"value": "111111111111"
}
]
},
"success": true,
"t": 1697991182108,
"tid": "dfe3d93d70f511ee88d87e68e426c0a4"
}
result from the Query Things Data Model function
{
"result": {
"model": "{"modelId":"000002ksab","services":[{"actions":[],"code":"","description":"","events":[],"name":"默认服务","properties":[{"abilityId":1,"accessMode":"ro","code":"total_forward_energy","description":"","extensions":{"attribute":"128"},"name":"正向总有功电量","typeSpec":{"max":99999999,"min":0,"scale":2,"step":1,"type":"value","typeDefaultValue":0,"unit":"kW·h"}},{"abilityId":6,"accessMode":"ro","code":"phase_a","description":"","extensions":{"attribute":"128"},"name":"A相电压,电流及功率","typeSpec":{"maxlen":128,"type":"raw"}},{"abilityId":10,"accessMode":"ro","code":"fault","description":"","extensions":{"attribute":"128"},"name":"告警事件","typeSpec":{"label":["ov_cr","unbalance_alarm","ov_vol","undervoltage_alarm","miss_phase_alarm","outage_alarm","magnetism_alarm","terminal_alarm","cover_alarm","credit_alarm","battery_alarm","meter_hardware_alarm","no_balance_alarm"],"maxlen":13,"type":"bitmap","typeDefaultValue":0}},{"abilityId":16,"accessMode":"rw","code":"switch","description":"","extensions":{"attribute":"128"},"name":"电表拉合闸","typeSpec":{"type":"bool","typeDefaultValue":false}},{"abilityId":17,"accessMode":"rw","code":"alarm_set_2","description":"","extensions":{"attribute":"128"},"name":"告警设置","typeSpec":{"maxlen":128,"type":"raw"}},{"abilityId":18,"accessMode":"ro","code":"meter_id","description":"","extensions":{"attribute":"128"},"name":"设备号显示 ","typeSpec":{"maxlen":255,"type":"string","typeDefaultValue":""}}]}]}"
},
"success": true,
"t": 1698230477606,
"tid": "0702c42a732311ee8b62ea7d43a7f458"
}
The text was updated successfully, but these errors were encountered: