But I think he’s actually right and I appreciate sharing this here because after this bad experience with the plugs I didn’t dare to buy another cheap one from aliexpress.
So thanks @malosaa for the advice, I’ll buy one and give it a try!
But I think he’s actually right and I appreciate sharing this here because after this bad experience with the plugs I didn’t dare to buy another cheap one from aliexpress.
So thanks @malosaa for the advice, I’ll buy one and give it a try!
I didn’t mean anything by it, and i’m sorry if you did read it that way. I didn’t say it’s your fault that the plugs don’t work.
if you read carefully, I say that you should buy the correct one instead.
I have also explained it several times on github to help people out, so a number of people also have plugs (apparently others) that also work.
But this auto off problem is solved (atleast for me) i have now a lot of them in my home.
but then there is a software problem left, which is that it sometimes indicates 0 watts per update. I have temporarily found something on that but is not perfect.
So for graphing these plugs i would not recommend it.
Tuya needs to fix the error on showing 0 usage together with the normal usage every change.
This result in a bad graph…
So for me i’m cool with it and atleast they don’t shut off again
So the plugs i use are EU plugs and 20A from Aubess.
I really don’t know if the US or the UK plugs will act the same.
I hope they work for you, if you need the store link i can post it here.
They ship fast and are friendly people.
regards and i’m glad i could help.
No worries mate. I took it the wrong way.
I hope tuya can fix all the issues but I am currently frustrated having spent $400 on 4 plugs to power my server that are failing me. Mercator ikuu support is not assisting me
Yes, please do!
I won’t be able to order them now as I’ll be travelling for a few weeks but then I can come back to it
For the ones using ZHA wanting to fix the issue:
I had the same issue with some plugs (also TS011F) and not with others. All plugs are TS011F and came in one batch. I have no drop of any voltage to zero. I had, however, noticed that some plugs, when I had them first paired with the tuya app and their wired gateway, were updating to a new firmware as soon as I added the plugs to the gateway. Trouble is I only ever added 3 of the 8 to Tuya and only those got updated.
So I downloaded the diagnostics for the working plugs and the not working plugs and used good old winmerge to compare the date.
Turns out, the app_version cluster attribute is different.
The original plugs that came to me, had app_version 74 - the ones that just randomly switch off. The updated ones have app_version 77 - which seemingly equates to Tuya firmware 1.0.13 for the TS011F plug.
Long story short:
Find out using the “manage Zigbee device” in ZHA and reading the cluster attribute “app_version” which ones are not 77, pair them with Tuya, get them updated and repair them with ZHA.
how does one pair them with tuya?
Download Tuya app (free) and you’ll need one of their gateways from AliExpress - if you don’t have one. As soon as you pair the plug to their gateway, the firmware will be updated.
Will you need one of their gateways or can you use the Tuya app with the Mercator Pro Hub? (I’ve tried and so far it doesn’t show any updates). Do you have a link to the hub you used?
Tried this with a generic tuya zigbee hub, there was no firwmare update for the mercator switches (there was for the hub). Switches/plug Still show version v1.0.10 in the smart life app
I can confirm that this Tuya firmware update definitely fixed all issues for me. No more switching off - they have been running for a few days. Earlier they switched off immediately or within a few hours.
Unfortunately our Mercator products do not seem to receive the same update.
Are you able to scan the device using zha toolkit and provide the json that is output please?
Same problem,
Two TS011F TZ3000 with ZHA (different design)
I see the 0v
@ingoratsdorf can you please scan the device and provide the output of all the configuration variables.
This will perhaps allow us to compare app version 74 (which we are stuck on with mercator products) with app version 77
Okay, here we go, this is one plug that I updated several weeks ago and had not a single issue ever since:
{
"ieee": "a4:c1:38:3f:2d:b2:ee:65",
"nwk": "0xffbf",
"model": "TS011F",
"manufacturer": "_TZ3000_typdpbpg",
"manufacturer_id": "0x4417",
"endpoints": [
{
"id": 1,
"device_type": "0x010a",
"profile": "0x0104",
"in_clusters": {
"0x0000": {
"cluster_id": "0x0000",
"title": "Basic",
"name": "basic",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "zcl_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 3
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "app_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 77
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "stack_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "hw_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "manufacturer",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": "_TZ3000_typdpbpg"
},
"0x0005": {
"attribute_id": "0x0005",
"attribute_name": "model",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": "TS011F"
},
"0x0006": {
"attribute_id": "0x0006",
"attribute_name": "date_code",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": ""
},
"0x0007": {
"attribute_id": "0x0007",
"attribute_name": "power_source",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1
},
"0xffde": {
"attribute_id": "0xffde",
"attribute_name": "65502",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 13
},
"0xffe2": {
"attribute_id": "0xffe2",
"attribute_name": "65506",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 54
},
"0xffe3": {
"attribute_id": "0xffe3",
"attribute_name": "65507",
"value_type": [
"0x48",
"Array",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 2
},
"0xfffe": {
"attribute_id": "0xfffe",
"attribute_name": "attr_reporting_status",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {},
"commands_received": {},
"commands_generated": {}
},
"0x0004": {
"cluster_id": "0x0004",
"title": "Groups",
"name": "groups",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "name_support",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0005": {
"cluster_id": "0x0005",
"title": "Scenes",
"name": "scenes",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "count",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "current_scene",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "current_group",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "scene_valid",
"value_type": [
"0x10",
"Bool",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "name_support",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0006": {
"cluster_id": "0x0006",
"title": "On/Off",
"name": "on_off",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "on_off",
"value_type": [
"0x10",
"Bool",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1
},
"0x4001": {
"attribute_id": "0x4001",
"attribute_name": "on_time",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
},
"0x4002": {
"attribute_id": "0x4002",
"attribute_name": "off_wait_time",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
},
"0x5000": {
"attribute_id": "0x5000",
"attribute_name": "20480",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 1
},
"0x8000": {
"attribute_id": "0x8000",
"attribute_name": "child_lock",
"value_type": [
"0x10",
"Bool",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 1
},
"0x8001": {
"attribute_id": "0x8001",
"attribute_name": "backlight_mode",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
},
"0x8002": {
"attribute_id": "0x8002",
"attribute_name": "power_on_state",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 1
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0702": {
"cluster_id": "0x0702",
"title": "TuyaZBMeteringCluster",
"name": "smartenergy_metering",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "current_summ_delivered",
"value_type": [
"0x25",
"uint48_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 654
},
"0x0200": {
"attribute_id": "0x0200",
"attribute_name": "status",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0300": {
"attribute_id": "0x0300",
"attribute_name": "unit_of_measure",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0303": {
"attribute_id": "0x0303",
"attribute_name": "summation_formatting",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x0306": {
"attribute_id": "0x0306",
"attribute_name": "metering_device_type",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "65533",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0b04": {
"cluster_id": "0x0b04",
"title": "Electrical Measurement",
"name": "electrical_measurement",
"attributes": {
"0x0505": {
"attribute_id": "0x0505",
"attribute_name": "rms_voltage",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 238
},
"0x0508": {
"attribute_id": "0x0508",
"attribute_name": "rms_current",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0x050b": {
"attribute_id": "0x050b",
"attribute_name": "active_power",
"value_type": [
"0x29",
"int16s",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1
}
},
"commands_received": {},
"commands_generated": {}
},
"0xe000": {
"cluster_id": "0xe000",
"title": "Tuya Manufacturer Specific",
"name": "tuya_is_pita_0",
"attributes": {
"0xd001": {
"attribute_id": "0xd001",
"attribute_name": "53249",
"value_type": [
"0x48",
"Array",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7
},
"0xd002": {
"attribute_id": "0xd002",
"attribute_name": "53250",
"value_type": [
"0x48",
"Array",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7
},
"0xd003": {
"attribute_id": "0xd003",
"attribute_name": "53251",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": ""
},
"0xd004": {
"attribute_id": "0xd004",
"attribute_name": "53252",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
},
"0xd005": {
"attribute_id": "0xd005",
"attribute_name": "53253",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
}
},
"commands_received": {},
"commands_generated": {}
},
"0xe001": {
"cluster_id": "0xe001",
"title": "Tuya External Switch Type Cluster",
"name": "tuya_external_switch_type",
"attributes": {
"0xd000": {
"attribute_id": "0xd000",
"attribute_name": "53248",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1
},
"0xd001": {
"attribute_id": "0xd001",
"attribute_name": "53249",
"value_type": [
"0x1b",
"bitmap32",
"Discrete"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 0
},
"0xd002": {
"attribute_id": "0xd002",
"attribute_name": "53250",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 2690704
},
"0xd003": {
"attribute_id": "0xd003",
"attribute_name": "53251",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 128
},
"0xd004": {
"attribute_id": "0xd004",
"attribute_name": "53252",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 11118
},
"0xd005": {
"attribute_id": "0xd005",
"attribute_name": "53253",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "REPORT|READ",
"access_acl": 5,
"attribute_value": 1337
},
"0xd010": {
"attribute_id": "0xd010",
"attribute_name": "53264",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 1
},
"0xd020": {
"attribute_id": "0xd020",
"attribute_name": "53280",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
},
"0xd030": {
"attribute_id": "0xd030",
"attribute_name": "external_switch_type",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "REPORT|WRITE|READ",
"access_acl": 7,
"attribute_value": 0
}
},
"commands_received": {},
"commands_generated": {}
}
},
"out_clusters": {
"0x000a": {
"cluster_id": "0x000a",
"title": "Time",
"name": "time",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 1
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0019": {
"cluster_id": "0x0019",
"title": "Ota",
"name": "ota",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "upgrade_server_id",
"value_type": [
"0xf0",
"EUI64",
"Discrete"
],
"access": "READ",
"access_acl": 1,
"attribute_value": [
255,
255,
255,
255,
255,
255,
255,
255
]
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "file_offset",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 4294967295
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "current_file_version",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 77
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "current_zigbee_stack_version",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 2
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "downloaded_file_version",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 4294967295
},
"0x0005": {
"attribute_id": "0x0005",
"attribute_name": "downloaded_zigbee_stack_version",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 65535
},
"0x0006": {
"attribute_id": "0x0006",
"attribute_name": "image_upgrade_status",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 0
},
"0x0007": {
"attribute_id": "0x0007",
"attribute_name": "manufacturer_id",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 4417
},
"0x0008": {
"attribute_id": "0x0008",
"attribute_name": "image_type_id",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 65535
},
"0x0009": {
"attribute_id": "0x0009",
"attribute_name": "minimum_block_req_delay",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ",
"access_acl": 1,
"attribute_value": 3
}
},
"commands_received": {},
"commands_generated": {}
}
}
}
]
}
Appreciate it. Seems yours does not have a bunch of items we have under electrical measurement including AC voltage overprotection. I wonder if version 77 removed them or your device always had differences.
Seems the turning off feature is fixed with that
I upgrade today… hope that fix my problem
I ordered another batch of 8 of the TS011F plugs and they all came already with app version 77 and worked out of the box. So the issue seems resolved upstream but may still be an issue for people with version lower than 77.
I just wanted to chime in here. I have 12 of these Tuya plugs installed. Three of them randomly turn themselves off, sometimes after a few hours, sometimes after a few days of constant use.
These three show app_version 77
and manufacturer _TZ3000_w0qqde0g
. The nine that work just fine show app_version 76
and manufacturer _TZ3000_gjnozsaz
.
So I feel inclined to agree with the firmware theory, but not that app_version 77
solves all issues. Here at least, 76
seems to be the most reliable version.
Just to let you know: today I had same problem with Tuya WIFI powerplugs: voltage went over 250V and plug turned itself off….
I don’t think this has anything to do with firmware, it just works as (badly) designed…