access control panel by wiegand protocol configure yaml for ESPhome - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A32/A32 Pro (https://www.kincony.com/forum/forumdisplay.php?fid=27) +--- Thread: access control panel by wiegand protocol configure yaml for ESPhome (/showthread.php?tid=2890) |
access control panel by wiegand protocol configure yaml for ESPhome - admin - 05-08-2023 here is demo config file for access control panel. control relay2 or relay3 by different finger or IC card or INPUT NUMBER by touch panel. HA_A32_finger_wiegand26_tag.txt (Size: 12.93 KB / Downloads: 891) RE: access control panel by wiegand protocol configure yaml for ESPhome - sonalikaatc@gmail.com - 05-10-2023 Hi. Can we use A16 board gpio for wiegand?? RE: access control panel by wiegand protocol configure yaml for ESPhome - admin - 05-10-2023 you can try, i am not tested. because these two gpio port have pull-up resistance. RE: access control panel by wiegand protocol configure yaml for ESPhome - trusttrinity8@gmail.com - 02-09-2024 can i use this with my lc868-a2 and please share the code RE: access control panel by wiegand protocol configure yaml for ESPhome - admin - 02-09-2024 sure, any kincony ESP32 board with free GPIOs, can work for wiegand panel, just config by ESPHome. RE: access control panel by wiegand protocol configure yaml for ESPhome - trusttrinity8@gmail.com - 02-09-2024 can you please refer me to any tutorial of how i can do that Sorry i'm still new RE: access control panel by wiegand protocol configure yaml for ESPhome - admin - 02-09-2024 here is video tour about wiegand work with ESPHome: https://youtu.be/v-Vs4NbJy5k RE: access control panel by wiegand protocol configure yaml for ESPhome - peca2345 - 04-10-2024 Hello, please help me with the setup. I don't know what to do anymore. I bought a device with wiegand26/36. I have it set to 26. The manufacturer has assured me that the fingerprint tag is also sent via wiegand. https://www.aliexpress.com/item/1005006734523437.html?spm=a2g0o.order_list.order_list_main.50.21ef1802rCmbOz Model: TF109S-EM-W I have set the fingerprint for ID:002 according to the instructions. The unlock works but I don't see any unlock log in the esphome log. The lock physically unlocks. Communication when entering the code works normally in esphome. Any advice? esphome yaml: # Example configuration entry wiegand: - id: mykeypad d0: GPIO15 d1: GPIO2 on_key: - lambda: ESP_LOGI("KEY", "received key %d", x); on_tag: then: - lambda: ESP_LOGI("TAG", "received tag %s", x.c_str()); - if: condition: lambda: |- return x=="2"; then: switch.toggle: test_output1 - if: condition: lambda: |- return x=="02"; then: switch.toggle: test_output1 - if: condition: lambda: |- return x=="002"; then: switch.toggle: test_output1 - if: condition: lambda: |- return x=="0002"; then: switch.toggle: test_output1 - if: condition: lambda: |- return x=="00002"; then: switch.toggle: test_output1 - if: condition: lambda: |- return x=="000002"; then: switch.toggle: test_output1 on_raw: - lambda: |- std:tring bits_str = ""; for (int i = bits - 1; i >= 0; i--) { bits_str += ((value >> i) & 1) ? '1' : '0'; } ESP_LOGI("RAW", "received raw %d bits, value %llx, bits: %s", bits, value, bits_str.c_str()); # on_raw: # - lambda: ESP_LOGI("RAW", "received raw %d bits, value %llx", bits, value); # Example configuration entry key_collector: - id: pincode_reader source_id: mykeypad min_length: 3 max_length: 3 end_keys: "#" end_key_required: true back_keys: "*" clear_keys: "C" # allowed_keys: "0123456789" timeout: 5s on_progress: - logger.log: format: "input progress: '%s', started by '%c'" args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ] on_result: - logger.log: format: "input result: '%s', started by '%c', ended by '%c'" args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ] - if: condition: lambda: |- return x=="101"; then: switch.toggle: test_output1 - if: condition: lambda: |- return x=="102"; then: switch.toggle: test_output1 on_timeout: - logger.log: format: "input timeout: '%s', started by '%c'" args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ] RE: access control panel by wiegand protocol configure yaml for ESPhome - peca2345 - 04-10-2024 Hello, please help me with the setup. I don't know what to do anymore. I bought a device with wiegand26/36. I have it set to 26. The manufacturer has assured me that the fingerprint tag is also sent via wiegand. https://www.aliexpress.com/item/1005006734523437.html?spm=a2g0o.order_list.order_list_main.50.21ef1802rCmbOz I have set the fingerprint for ID 002 according to the instructions. The unlock works but I don't see any unlock log in the esphome log. The lock physically unlocks. Communication when entering the code works normally in esphome. Any advice? RE: access control panel by wiegand protocol configure yaml for ESPhome - admin - 04-11-2024 sorry, i am not used this access panel, you can contact with supplier's technical support. |