Closed martin-majlis closed 8 months ago
I would suggest to try measurements for some light and see if it outputs reasonable figures. I think most smart plugs use similar circuits and components anyway.
Look if the are not much strange outliers, and the power has an ascending pattern. Also the W measured on full brightness should be close to the reported W rating of the light by the manufacturer. Lowest W reading on standby and lowest brightness level should be ~0.2-0.3W for zigbee/zwave lights. ~0.5-1W for Wifi lights. You can visualize the resulting CSV in www.csvplot.com
@bramstroker : Thanks for your response. :)
I have bought Tapo P110. When I compare it with IMMAX NEO LITE Smart Plug, I can see that:
But when I try to add Tapo P100 to the home assistant, it's not among the supported devices in the tplink integration - https://www.home-assistant.io/integrations/tplink/ and therefore it's not found.
When I try the kasa library:
kasa discover --show-unsupported
Discovering devices on 255.255.255.255 for 3 seconds
Found unsupported device (tapo/unknown encryption): {'result': {'device_id': 'd144f079f57cb17f2f807520668ab391', 'owner': 'FBC1518C3B7094D6151EF74A45078FE3', 'device_type': 'SMART.TAPOPLUG', 'device_model': 'P110(FR)', 'ip': '192.168.1.76', 'mac': '50-91-E3-BE-0C-F8', 'is_support_iot_cloud': True, 'obd_src': 'tplink', 'factory_default': False, 'mgt_encrypt_schm': {'is_support_https': False, 'encrypt_type': 'KLAP', 'http_port': 80, 'lv': 2}}, 'error_code': 0}
Found 0 devices
Found 1 unsupported devices
I can indeed see, that it's not supported. So to be able to use it, I should first capture the network traffic and add it among the supported devices - https://github.com/python-kasa/python-kasa?tab=readme-ov-file#analyzing-network-captures.
It's not clear to me, how that plug could be used for providing measurements.
I don't know the TP-Link firmware / ecosystem exactly and don't have plug myself.
When it's not supported by HA there would be a good reason.
The Kasa option for the measure tool has been provided by another user, and probably only works for plugs with Kasa firmware, which would be different protocol than the Tapo.
Did you see this custom integration: https://github.com/petretiandrea/home-assistant-tapo-p100
I had finally some time to install the https://github.com/petretiandrea/home-assistant-tapo-p100.
In the applications, that are provided by those plugs, it's not possible to tell, which one is more precise. However in the HA, I can see, that the IMMAX plug is not showing any change even when the red light is on.
So the instruction, how to recognize supported plug, should mention, that the smart plug should not report power as a flat line in the home assistant.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Checklist
Is your feature request related to a problem? Please describe.
I would like to contribute with my measurement of bulbs that I own. However none of the smartplugs that I own is mentioned among recommended ones - https://homeassistant-powercalc.readthedocs.io/en/latest/contributing/measure.html.
Describe the solution you'd like
It would be great if the instructions could contain information how to figure out, whether that smartplug produces reasonable numbers.
Describe alternatives you've considered
This is just suggestion for improving documentation.
Additional context
When I check which plugs have been used, I can see that majority of measurements have been done by the recommended plugs: