Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.
Lu Ji edited this page Jan 25, 2023 · 3 revisions

Sponsor Sponsor

A PR based on this converter is WIP, code will be migrated to the PR when this converter proves solid.

PRs:

  • Koenkk/zigbee2mqtt.io#1833
  • Koenkk/zigbee-herdsman-converters#5367

Issue Report & Feedback

How to Use

  1. Download CTPR01.js and put it in the same directory as Zigbee2MQTT configuration.yaml file.
  2. Enable the external converter by adding the following to your Zigbee2MQTT configuration.yaml.
    external_converters:
      - CTPR01.js
  3. Restart Zigbee2MQTT and pairing your device.

How to Upgrade

If you see #requiresRemoval in any of the commit messages since your last download/pull, you need to

  • remove device from the network
  • restart Zigbee2MQTT
  • restart HomeAssistant

Otherwise, just restart Zigbee2MQTT.

Demo

  • mode toggle

    toggle mode

My Node-RED flows - inspirations to create your own awesome automations

  • throw is a perfect trigger for automating mode toggle.

    With one throw, it initiates the mode toggle command, and makes the cube respond to it at the same time.

    Brilliant! No need to touch z2m frontend for toggling modes.

    node-RED mode toggle

  • Check out all my flows

SUPPORT MY WORK

If the converter is helpful, and want to thank me for my work, consider buying me a coffee or another cube for more fun and testing. ❤️

Thank You:

   

   

Clone this wiki locally