Skip to content

Instantly share code, notes, and snippets.

@dimitar-grigorov
Created December 18, 2022 19:10
Show Gist options
  • Save dimitar-grigorov/47911924f4b4c636c105338e3e74f9f4 to your computer and use it in GitHub Desktop.
Save dimitar-grigorov/47911924f4b4c636c105338e3e74f9f4 to your computer and use it in GitHub Desktop.
Tasmota flash guide for Sinilink PCIe Computer Remote XY-WPCE or XY-WPCL

Short the IO0 pin and Ground pin to enter in flash mode.

Use this template:

{"NAME":"XY-WPCL","GPIO":[0,0,320,0,0,224,0,32,160,0,0,0,0,0],"FLAG":0,"BASE":18, "CMND":"SO114 1 | Pulsetime 10 | SwitchMode1 2"}

In Home assistant use this template

switch:
  - platform: template
    switches:
      camaras_salon:
        unique_id: "CamarasSalon"
        value_template: "{{ is_state('binary_sensor.switch1', 'on') }}"
        availability_template: "{{ not is_state('binary_sensor.switch1', 'unavailable') }}"
        turn_on:
          service: switch.toggle
          target:
            entity_id: switch.pcswitch_cam
        turn_off:
          service: switch.toggle
          target:
            entity_id: switch.pcswitch_cam
        icon_template: >-
          {% if is_state('binary_sensor.switch1', 'on') %}
            mdi:power-plug
          {% else %}
            mdi:power-plug-off
          {% endif %}      

sinilink_XY-WPCE_pinout

sinilink_XY-WPCL_pinout

Sources:
blakadder/templates#1472 (comment)
https://templates.blakadder.com/sinilink_XY-WPCL.html
https://templates.blakadder.com/sinilink_XY-WPCE.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment