hass_tplink_easy_smart
hass_tplink_easy_smart copied to clipboard
Home Assistant custom component for control TP-Link Easy Smart switches over LAN.
TP-Link Easy Smart switches component for Home Assistant
Home Assistant custom component for control TP-Link Easy Smart switches over LAN.
Key features
- obtaining information about all ports:
- connection status
- actual connection speed
- configured connection speed
- Poe status
- Poe details (priority, power limits, actual power/current/voltage, power delivery class)
- ports management:
- enable or disable specific ports
- setting PoE parameters on the specified ports (enable/disable, priority, power limits)
- obtaining hardware and firmware version of the switch
- obtaining information about total PoE consumption
- setting limits on total PoE consumption
- automatic detection of available functions
Supported models
| Name | Revision | Confirmed | Notes |
|---|---|---|---|
| TL-SG1016PE | V1, V3 | Yes | All features are available |
| TL-SG105E | V5 | Yes | PoE is not supported by device |
| Other Easy Smart switches with web-based user interface | --------- | No | Will most likely work |
Installation
Manual
Copy tplink_easy_smart folder from latest release to custom_components folder in your Home Assistant config folder and restart Home Assistant. The final path to folder should look like this: <home-assistant-config-folder>/custom_components/tplink_easy_smart.
HACS
Add a custom repository https://github.com/vmakeev/hass_tplink_easy_smart with Integration category to HACS and restart Home Assistant.
Configuration
Configuration > Integrations > Add Integration > TP-Link Easy Smart
Advanced options
You can perform advanced component configuration by clicking the CONFIGURE button after adding it.

Advanced settings include:
| Name | Default |
|---|---|
| Update interval | 30 seconds |
| Enabling or disabling port state switches | Disabled |
| Enabling or disabling port PoE state switches | Disabled |


Sensors
- Network information (read more)
- PoE consumption (read more)
Binary sensors
- Port status (read more)
- Port PoE status (read more)
Switches
- Port state (read more)
- Port PoE state (read more)
Services
- Set the PoE power limit (read more)
- Set PoE settings for a specific port (read more)