Open ameran opened 2 years ago
Same problem here with the BSeed Tuya Socket with power monitoring. The product can be seen here: https://fr.aliexpress.com/item/1005003121810293.html?gatewayAdapt=glo2fra&spm=a2g0o.9042311.0.0.1f716c374GWKuD
Here are the logs. We can see that power is disabled by integration:
"data": {
"endpoint": "https://openapi.tuyaeu.com",
"auth_type": 0,
"country_code": "33",
"app_type": "smartlife",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"devices": [
{
"name": "Prise t\u00e9l\u00e9",
"model": "",
"category": "cz",
"product_id": "uvbhl96dsubgimll",
"product_name": "Measure Socket(WIFI+BLE)",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2022-02-19T15:50:08+00:00",
"create_time": "2022-02-19T15:50:08+00:00",
"update_time": "2022-02-19T15:50:32+00:00",
"function": {
"switch_1": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"relay_status": {
"type": "Enum",
"value": {
"range": [
"power_off",
"power_on",
"last"
]
}
},
"light_mode": {
"type": "Enum",
"value": {
"range": [
"relay",
"pos",
"none"
]
}
},
"child_lock": {
"type": "Boolean",
"value": {}
},
"cycle_time": {
"type": "String",
"value": {}
},
"random_time": {
"type": "String",
"value": {}
}
},
"status_range": {
"switch_1": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"add_ele": {
"type": "Integer",
"value": {
"min": 0,
"max": 50000,
"scale": 3,
"step": 100
}
},
"cur_current": {
"type": "Integer",
"value": {
"unit": "mA",
"min": 0,
"max": 30000,
"scale": 0,
"step": 1
}
},
"cur_power": {
"type": "Integer",
"value": {
"unit": "W",
"min": 0,
"max": 80000,
"scale": 1,
"step": 1
}
},
"cur_voltage": {
"type": "Integer",
"value": {
"unit": "V",
"min": 0,
"max": 5000,
"scale": 1,
"step": 1
}
},
"relay_status": {
"type": "Enum",
"value": {
"range": [
"power_off",
"power_on",
"last"
]
}
},
"light_mode": {
"type": "Enum",
"value": {
"range": [
"relay",
"pos",
"none"
]
}
},
"child_lock": {
"type": "Boolean",
"value": {}
},
"cycle_time": {
"type": "String",
"value": {}
},
"random_time": {
"type": "String",
"value": {}
}
},
"status": {
"switch_1": true,
"countdown_1": 0,
"add_ele": 27,
"cur_current": 359,
"cur_power": 724,
"cur_voltage": 2483,
"relay_status": "last",
"light_mode": "relay",
"child_lock": false,
"cycle_time": "",
"random_time": ""
},
"home_assistant": {
"name": "Prise t\u00e9l\u00e9",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": true,
"disabled_by": "integration",
"entity_category": null,
"device_class": null,
"original_device_class": "current",
"icon": null,
"original_icon": null,
"unit_of_measurement": "A",
"state": null
},
{
"disabled": true,
"disabled_by": "integration",
"entity_category": null,
"device_class": null,
"original_device_class": "voltage",
"icon": null,
"original_icon": null,
"unit_of_measurement": "V",
"state": null
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": "mdi:account-lock",
"unit_of_measurement": null,
"state": {
"entity_id": "switch.measure_socket_wifi_ble_2_child_lock",
"state": "off",
"attributes": {
"icon": "mdi:account-lock",
"friendly_name": "Prise t\u00e9l\u00e9 Child Lock"
},
"last_changed": "2022-02-19T16:27:36.115308+00:00",
"last_updated": "2022-02-19T16:27:36.115308+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": "tuya__light_mode",
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "select.measure_socket_wifi_ble_2_indicator_light_mode",
"state": "relay",
"attributes": {
"options": [
"relay",
"pos",
"none"
],
"device_class": "tuya__light_mode",
"friendly_name": "Prise t\u00e9l\u00e9 Indicator Light Mode"
},
"last_changed": "2022-02-19T16:27:36.291460+00:00",
"last_updated": "2022-02-19T16:27:36.291460+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": "outlet",
"original_device_class": "outlet",
"icon": "mdi:television-box",
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "switch.prise_tele",
"state": "on",
"attributes": {
"device_class": "outlet",
"icon": "mdi:television-box",
"friendly_name": "Prise T\u00e9l\u00e9"
},
"last_changed": "2022-02-19T16:27:36.115490+00:00",
"last_updated": "2022-02-19T16:27:36.115490+00:00"
}
},
{
"disabled": true,
"disabled_by": "integration",
"entity_category": null,
"device_class": "power",
"original_device_class": "power",
"icon": "mdi:lightning-bolt",
"original_icon": null,
"unit_of_measurement": "W",
"state": null
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": "tuya__relay_status",
"original_device_class": "tuya__relay_status",
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "select.prise_tele_power_on_behavior",
"state": "last",
"attributes": {
"options": [
"power_off",
"power_on",
"last"
],
"device_class": "tuya__relay_status",
"friendly_name": "Prise t\u00e9l\u00e9 Power on Behavior"
},
"last_changed": "2022-02-19T16:27:36.291245+00:00",
"last_updated": "2022-02-19T16:27:36.291245+00:00"
}
}
]
}
},
The exact same thing happens to me with this device.
https://www.koogeek.com/p-klsp1-1.html KLSP1-Smart plug
It does not show the 3 sensors available. With the integration of LOCAL TUYA it works correctly.
Same here, with tuya smart plugs
Same here Connex plug.
you have to ACTIVATE them, dunno why they start dractivated i searched for days for the same problem, then someone in a telegram chat told me to enable them (all 3) and reboot HA (wasn't really needed). After few minutes, they appeared.
I do not see any deactivated devices.
you have to ACTIVATE them, dunno why they start dractivated i searched for days for the same problem, then someone in a telegram chat told me to enable them (all 3) and reboot HA (wasn't really needed). After few minutes, they appeared.
Hi, where I can enable them? Which file I have to edit? Thanks
I also do not see any Power Entities - None are even disabled...
Connex Connect - CC-P1003
you have to ACTIVATE them, dunno why they start dractivated i searched for days for the same problem, then someone in a telegram chat told me to enable them (all 3) and reboot HA (wasn't really needed). After few minutes, they appeared.
Unfortunately not the case for this particular chipset.
It seems support needs to be added to the integration.
Power sensors are not available in Home Assistant. Smartlife app shows electric usage, current, power, and voltage readings.
Device normal info
Device info (please complete the following information, which can be found in log): like this: