arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.2k stars 4.81k forks source link

No wiegand component on GPIOs #18199

Closed sdomotica closed 1 year ago

sdomotica commented 1 year ago

PROBLEM DESCRIPTION

I would use Wiegand GPIO configuration on Esp8266 and ESP-01 I haven't the components 6432 Wiegand D0 Wiegand Data lines 6464 Wiegand D1 Wiegand Data lines

- [ ] Provide the output of this command: `Status 0`:
```lua
  STATUS 0 output here:
20:42:26.742 CMD: Status 0
20:42:26.749 RSL: STATUS = {"Status":{"Module":18,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"tasmota_0E6219","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
20:42:26.780 RSL: STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:03:34","StartupUTC":"2023-03-15T19:38:52","Sleep":50,"CfgHolder":4617,"BootCount":3,"BCResetTime":"2023-03-15T20:38:37","SaveCount":9,"SaveAddress":"FB000"}}
20:42:26.812 RSL: STATUS2 = {"StatusFWR":{"Version":"12.4.0(sensors)","BuildDateTime":"2023-02-24T15:32:29","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"369/699"}}
20:42:26.832 RSL: STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["SANDRO_CH",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000000"]}}
20:42:26.868 RSL: STATUS4 = {"StatusMEM":{"ProgramSize":698,"Free":304,"Heap":20,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"1640E0","FlashFrequency":40,"FlashMode":"DOUT","Features":["00000809","8F9A8787","0415A005","B7F7BFCF","05DA9BC4","64367CC7","00084052","20000000","54000020","0000C081"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,14,16,17,20,21,24,29,34,62,65,66","Sensors":"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,26,31,34,37,39,40,42,43,45,51,52,55,56,58,59,62,64,66,67,74,98,103"}}
20:42:26.906 RSL: STATUS5 = {"StatusNET":{"Hostname":"tasmota-0E6219-0537","IPAddress":"192.168.1.169","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.1.1","DNSServer2":"0.0.0.0","Mac":"B4:E6:2D:0E:62:19","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
20:42:26.930 RSL: STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_0E6219","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
20:42:26.953 RSL: STATUS7 = {"StatusTIM":{"UTC":"2023-03-15T19:42:26","Local":"2023-03-15T20:42:26","StartDST":"2023-03-26T02:00:00","EndDST":"2023-10-29T03:00:00","Timezone":"+01:00","Sunrise":"07:03","Sunset":"18:54"}}
20:42:26.972 RSL: STATUS10 = {"StatusSNS":{"Time":"2023-03-15T20:42:26"}}
20:42:26.977 RSL: STATUS11 = {"StatusSTS":{"Time":"2023-03-15T20:42:26","Uptime":"0T00:03:34","UptimeSec":214,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Wifi":{"AP":1,"SSId":"SANDRO_CH","BSSId":"E0:63:DA:0A:61:90","Channel":1,"Mode":"11n","RSSI":100,"Signal":-45,"LinkCount":1,"Downtime":"0T00:00:03"}}}

TO REPRODUCE

if I send GPIOs command I'haven't wiegand Component

20:44:00.049 CMD: GPIOs
20:44:00.139 RSL: RESULT = {"GPIOs1":{"0":"None","5728":"Option A","32":"Button","64":"Button_n","96":"Button_i","128":"Button_in","160":"Switch","192":"Switch_n","3264":"Rotary A","3296":"Rotary B","6272":"Rotary A_n","6304":"Rotary B_n","224":"Relay","256":"Relay_i","8672":"Relay_b","8704":"Relay_bi","288":"Led","320":"Led_i","352":"Counter","384":"Counter_n","416":"PWM","448":"PWM_i","480":"Buzzer","512":"Buzzer_i","544":"LedLink","576":"LedLink_i","3840":"Output Hi","3872":"Output Lo","7584":"Heartbeat","7616":"Heartbeat_i","8096":"Reset","608":"I2C SCL","640":"I2C SDA","832":"SSPI MISO","864":"SSPI MOSI","896":"SSPI SCLK","928":"SSPI CS","960":"SSPI DC","3200":"Serial Tx","3232":"Serial Rx","1184":"DHT11","1216":"AM2301","1248":"SI7021","8128":"MS01","1280":"DHT11_o","1312":"DS18x20","1344":"DS18x20_o","5216":"LMT01 Pulse","1376":"WS2812","3008":"MY92x1 DI","3040":"MY92x1 DCKI","2912":"SM16716 CLK","2944":"SM16716 DAT","2976":"SM16716 PWR","4032":"SM2135 Clk","4064":"SM2135 Dat","8448":"SM2335 Clk","8480":"SM2335 Dat","9024":"BP1658CJ Clk","9056":"BP1658CJ Dat","8384":"BP5758D Clk","8416":"BP5758D Dat","2272":"Tuya Tx","2304":"Tuya Rx","4640":"MOODL Tx","1056":"IRsend","1088":"IRrecv","1120":"RFSend","1152":"RFrecv","2400":"RF Sensor","1856":"SR04 Tri/TX","1888":"SR04 Ech/RX","2048":"TM1638 CLK","2080":"TM1638 DIO","2112":"TM1638 STB","2176":"HX711 SCK","2208":"HX711 DAT","2592":"HLWBL SEL","2624":"HLWBL SEL_i","2656":"HLWBL CF1","2688":"HLW8012 CF","2720":"BL0937 CF","3456":"ADE7953 IRQ","8832":"ADE7953 RST","3072":"CSE7766 Tx","3104":"CSE7766 Rx","2752":"MCP39F5 Tx","2784":"MCP39F5 Rx","2816":"MCP39F5 Rst","9344":"NrgMbs Tx Ena","1472":"PZEM0XX Tx","1504":"PZEM004 Rx","1536":"PZEM016 Rx","1568":"PZEM017 Rx","1920":"SDMx20 Tx","1952":"SDMx20 Rx","1984":"SDM630 Tx","2016":"SDM630 Rx","3904":"DDS238-2 Tx","3936":"DDS238-2 Rx","3968":"DDSU666 Tx","4000":"DDSU666 Rx","7488":"BL0939 Rx","5056":"BL0940 Rx","7520":"BL0942 Rx","6560":"SDM72 Tx","6592":"SDM72 Rx","7072":"ZC Pulse","1792":"SerBr Tx","1824":"SerBr Rx","1408":"MHZ Tx","1440":"MHZ Rx","1600":"SAir Tx","1632":"SAir Rx","1728":"SDS0X1 Tx","1760":"SDS0X1 Rx","4320":"HPMA Tx","4288":"HPMA Rx","1664":"PMS5003 Tx","1696":"PMS5003 Rx","2144":"MP3 Player","8512":"MP3 Busy","2848":"PN532 Tx","2880":"PN532 Rx","3616":"RDM6300 RX","3648":"iBeacon TX","3680":"iBeacon RX","4448":"HM10 TX","4416":"HM10 RX","2496":"MX31855 CS","2528":"MX31855 CLK","2560":"MX31855 DO","3392":"HRE Clock","3424":"HRE Data","4096":"DeepSleep","4608":"HRXL Rx","4672":"AS3935","9440":"TuyaMCUBr Tx","9472":"TuyaMCUBr Rx","6880":"VL53LXX XSHUT"}}
20:44:00.374 RSL: RESULT = {"GPIOs2":{"4704":"ADC Input","4736":"ADC Temp","4768":"ADC Light","4800":"ADC Button","4832":"ADC Button_i","4864":"ADC Range","4896":"ADC CT Power","3328":"ADC Joystick","6336":"ADC pH","7904":"ADC MQ"}}
20:44:01.379 RSL: STATE = {"Time":"2023-03-15T20:44:01","Uptime":"0T00:05:09","UptimeSec":309,"Heap":19,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":28,"MqttCount":0,"Wifi":{"AP":1,"SSId":"SANDRO_CH","BSSId":"E0:63:DA:0A:61:90","Channel":1,"Mode":"11n","RSSI":100,"Signal":-44,"LinkCount":1,"Downtime":"0T00:00:03"}}
barbudor commented 1 year ago

It's not included in any standard build You need to compile your own binary