Skip to content

Commit

Permalink
Update sinilink_XY-WPCE (#1885)
Browse files Browse the repository at this point in the history
added infos to make it fully work as expected
  • Loading branch information
fragolinux authored Aug 8, 2024
1 parent 1ce2563 commit b032b21
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions _templates/sinilink_XY-WPCE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ date_added: 2021-10-09
title: Sinilink PCIe Computer Remote
model: XY-WPCE
image: /assets/device_images/sinilink_XY-WPCE.webp
template9: '{"NAME":"XY-WPCE","GPIO":[1,1,320,1,32,224,0,0,160,0,0,0,0,0],"FLAG":0,"BASE":18,"CMND":"SO114 1 | SwitchMode1 2"}'
template9: '{"NAME":"XY-WPCE","GPIO":[1,1,320,1,160,224,0,161,162,0,0,0,0,0],"FLAG":0,"BASE":18,"CMND":"SO114 1 | Pulsetime 10 | SwitchMode1 2 | SwitchMode2 2 | SwitchMode3 2"}'
link: https://www.aliexpress.com/item/1005003187549517.html
link2: https://www.banggood.com/XY-WPCE-Computer-Remote-Switch-Controller-PCIE-Wireless-WIFI-Smart-Controller-Timing-Delay-Reboot-p-1897350.html
mlink:
Expand All @@ -17,4 +17,17 @@ It is possible to use solid core 24 AWG wires to make the connection without nee

![Pinout](/assets/device_images/sinilink_XY-WPCE_pinout.webp)

Switch1 is detached and is used to monitor power status of the PC. It will be discovered as a binary sensor in Home Assistant.
Switch1 (gpio4) is detached and is the physical button on the board itself.
Switch2 (gpio10) is detached and wired to the physical button on the PC.
Switch3 (gpio12) is detached and is used to monitor power status of the PC.
All of them will be discovered as a binary sensors in Home Assistant.

To make the physical pc button work, you'll need a rule:
Rule1 ON switch2#state=1 DO Power1 1 ENDON ON switch2#state=0 DO Power1 0 ENDON
Rule1 1 # to enable it

EDIT 2024/06/29:
info above summarized based on
https://devices.esphome.io/devices/Sinilink-XY-WPCE
https://github.com/blakadder/templates/issues/1472
https://github.com/arendst/Tasmota/discussions/14873

0 comments on commit b032b21

Please sign in to comment.