From e195e9a14f7b23dd497e1dfd672a1837eb3e545e Mon Sep 17 00:00:00 2001 From: Mischa Siekmann <45062894+gnumpi@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:02:11 +0200 Subject: [PATCH] Add integration page for egps. (#31842) Co-authored-by: Joost Lekkerkerker Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: Franck Nijhof Co-authored-by: Franck Nijhof --- .../energenie_power_sockets.markdown | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 source/_integrations/energenie_power_sockets.markdown diff --git a/source/_integrations/energenie_power_sockets.markdown b/source/_integrations/energenie_power_sockets.markdown new file mode 100644 index 00000000000..e01d8592720 --- /dev/null +++ b/source/_integrations/energenie_power_sockets.markdown @@ -0,0 +1,42 @@ +--- +title: Energenie Power-Sockets +description: Instructions on how to integrate Energenie Power-Strip switches into Home Assistant. +ha_category: + - Switch +ha_iot_class: Local Polling +ha_release: '2024.5' +ha_codeowners: + - '@gnumpi' +ha_domain: energenie_power_sockets +ha_platforms: + - switch +ha_integration_type: integration +--- + +The **Energenie Power-Sockets** {% term integration %} allows you to include [Energenie USB Power-Sockets](https://energenie.com/item.aspx?id=7556&lang=de) into your Home Assistant setup. + +{% include integrations/config_flow.md %} + +## Troubleshooting + +If you are running a {% term "Home Assistant Core" %} or {% term "Home Assistant Container" %} installation: Depending on your system configuration, it may be necessary to grant explicit user access rights to the USB device by creating an udev rule. + +{% details "Creating an udev rule" %} + +1. Find the *vendor_id* and *product_id* of the USB device by calling `lsusb`: + +```bash +lsusb + +#e.g.: Bus 001 Device 005: ID 04b4:fd15 Cypress Semiconductor Corp. Energenie EG-PMS2 +``` + +2. Create an udev rule by calling: + +```bash +sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", MODE="0666"' > /lib/udev/rules.d/60-energenie-usb.rules +sudo udevadm control --reload-rules +sudo udevadm trigger +``` + +{% enddetails %}