Closed vlacemeister closed 8 months ago
Logger: custom_components.tuya_local.device Source: custom_components/tuya_local/device.py:431 integration: Tuya Local ([documentation](https://github.com/make-all/tuya-local), [issues](https://github.com/make-all/tuya-local/issues)) First occurred: 10:19:11 PM (3 occurrences) Last logged: 10:19:18 PM Test protocol error 904: Unexpected Payload from Device
{ "result": { "active_time": 1703191884, "category": "dlq", "create_time": 1703162383, "custom_name": "", "icon": "smart/icon/ay1553162414592ZG6Kk/40e5a162faf5e90868046ea01979e2c5.png", "id": "eb9573dfde45ef2549o50y", "ip": "x.x.x.x", "is_online": true, "lat": "xx", "local_key": "", "lon": "xx", "model": "SPM02", "name": "SPM02_WiFi", "product_id": "fygozcnralhwbauo", "product_name": "Metering_3PN_WiFi", "sub": false, "time_zone": "-03:00", "update_time": 1703191884, "uuid": "" }, "success": true, } { "result": { "properties": [ { "code": "total_forward_energy", "custom_name": "", "dp_id": 1, "time": 1703549974711, "value": 5529 }, { "code": "cur_neutral", "custom_name": "", "dp_id": 2, "time": 1703191891065, "value": 0 }, { "code": "phase_a", "custom_name": "", "dp_id": 6, "time": 1703549986875, "value": "CGsABJkAAHA=" }, { "code": "phase_b", "custom_name": "", "dp_id": 7, "time": 1703549987282, "value": "CHwAA8UAAMc=" }, { "code": "phase_c", "custom_name": "", "dp_id": 8, "time": 1703549987614, "value": "CHwABsgAAVI=" }, { "code": "fault", "custom_name": "", "dp_id": 9, "time": 1703547955350, "value": 0 }, { "code": "switch_prepayment", "custom_name": "", "dp_id": 11, "time": 1703191891065, "value": false }, { "code": "clear_energy", "custom_name": "", "dp_id": 12, "time": 1703191891065, "value": false }, { "code": "balance_energy", "custom_name": "", "dp_id": 13, "time": 1703191891065, "value": 0 }, { "code": "charge_energy", "custom_name": "", "dp_id": 14, "time": 1703162383079, "value": 0 }, { "code": "alarm_set_1", "custom_name": "", "dp_id": 17, "time": 1703537206629, "value": "BwEADQgAAAA=" }, { "code": "alarm_set_2", "custom_name": "", "dp_id": 18, "time": 1703537207140, "value": "AQEAPAIBAA8DAQD9BAAAtAUAAAAHAQAACAAAHgkAAAA=" }, { "code": "breaker_id", "custom_name": "", "dp_id": 19, "time": 1703191891065, "value": "SPM02_772B" } ] }, "success": true, }
"product_id": "fygozcnralhwbauo",
Zemismart Tuya Zigbee WiFi 3 Phase Energy Meter (https://vi.aliexpress.com/item/1005005879995196.html).
Same product id and dps layout as yagusmart_3pn_energymeter
For connection issues, see #522
Log Message
Information about DPS mappings
Product ID
"product_id": "fygozcnralhwbauo",
Information about how the device functions
Zemismart Tuya Zigbee WiFi 3 Phase Energy Meter (https://vi.aliexpress.com/item/1005005879995196.html).