Smart Home Automation Forum
GPIO - 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-AG / AG Pro / AG8 (https://www.kincony.com/forum/forumdisplay.php?fid=30)
+--- Thread: GPIO (/showthread.php?tid=2466)



GPIO - Serci - 12-20-2022

I tryed to use this configuration for tasmota

https://templates.blakadder.com/kincony_KC868-AG.html?spm=a2g0s.imconversation.0.0.54b63e5fOFiJP6

But it does not work for me

I did configure a IR receiver on GPIO 32 and it seems to receive something when I press a button on my remote control.
However it also receive with an UNKNOWN protocol when I do not press anything.

I also have a RF remote control, and I cannot receive anything from this one.

Is the GPIO32 the one for IR Receive ?
What is the GPIO Number for RF send and RF receive ?


RE: GPIO - admin - 12-21-2022

IR receiver: IO23 not GPIO32. here is KC868-AG esp32 GPIO define:
https://www.kincony.com/forum/showthread.php?tid=1667


RE: GPIO - admin - 12-23-2022

here is test with IR by MITSUBISHI air condition remote:
   
   

Tasmota console feedback LOG:

00:00:00.002 HDW: ESP32-D0WDQ6
00:00:00.017 UFS: FlashFS mounted with 304 kB free
00:00:00.035 CFG: Loaded from File, Count 7
00:00:00.045 QPC: Count 1
00:00:00.106 BRY: Berry initialized, RAM used=3395 bytes
00:00:00.121 Project tasmota - Tasmota Version 12.3.1(ir)-2_0_5_3(2022-12-16T10:30:55)
00:00:00.727 WIF: Connecting to AP1 hificat2 Channel 10 BSSId 68Big GrinB:54:B2:75:B7 in mode 11n as tasmota-8033D4-5076...
00:00:02.464 WIF: Connected
00:00:02.724 HTP: Web server active on tasmota-8033D4-5076 with IP address 10.10.10.173
08:02:42.357 RSL: INFO1 = {"Info1":{"Module":"ESP32-DevKit","Version":"12.3.1(ir)","FallbackTopic":"cmnd/DVES_8033D4_fb/","GroupTopic":"cmnd/tasmotas/"}}
08:02:42.370 RSL: INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-8033D4-5076","IPAddress":"10.10.10.173"}}
08:02:42.373 RSL: INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":3}}
08:02:45.958 QPC: Reset
08:02:46.956 RSL: STATE = {"Time":"2022-12-23T08:02:46","Uptime":"0T00:00:08","UptimeSec":8,"Heap":161,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Berry":{"HeapUsed":3,"Objects":33},"Wifi":{"AP":1,"SSId":"hificat2","BSSId":"68Big GrinB:54:B2:75:B7","Channel":10,"Mode":"11n","RSSI":100,"Signal":-42,"LinkCount":1,"Downtime":"0T00:00:03"}}
08:04:17.293 RSL: RESULT = {"IrReceived":{"Protocol":"MITSUBISHI_AC","Bits":144,"Data":"0x23CB26010020080AC0795A000000000000DA","Repeat":0,"IRHVAC":{"Vendor":"MITSUBISHI_AC","Model":-1,"Mode":"Heat","Power":"On","Celsius":"On","Temp":26,"FanSpeed":"Low","SwingV":"Auto","SwingH":"Auto","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}
08:04:18.593 RSL: RESULT = {"IrReceived":{"Protocol":"MITSUBISHI_AC","Bits":144,"Data":"0x23CB26010000080AC0795A000000000000BA","Repeat":0,"IRHVAC":{"Vendor":"MITSUBISHI_AC","Model":-1,"Mode":"Heat","Power":"Off","Celsius":"On","Temp":26,"FanSpeed":"Low","SwingV":"Auto","SwingH":"Auto","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}
08:07:46.942 RSL: STATE = {"Time":"2022-12-23T08:07:46","Uptime":"0T00:05:08","UptimeSec":308,"Heap":157,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Berry":{"HeapUsed":3,"Objects":33},"Wifi":{"AP":1,"SSId":"hificat2","BSSId":"68Big GrinB:54:B2:75:B7","Channel":10,"Mode":"11n","RSSI":100,"Signal":-41,"LinkCount":1,"Downtime":"0T00:00:03"}}
08:12:37.948 APP: Serial logging disabled
08:12:46.953 RSL: STATE = {"Time":"2022-12-23T08:12:46","Uptime":"0T00:10:08","UptimeSec":608,"Heap":158,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"MqttCount":0,"Berry":{"HeapUsed":3,"Objects":33},"Wifi":{"AP":1,"SSId":"hificat2","BSSId":"68Big GrinB:54:B2:75:B7","Channel":10,"Mode":"11n","RSSI":100,"Signal":-41,"LinkCount":1,"Downtime":"0T00:00:03"}}
08:17:46.963 RSL: STATE = {"Time":"2022-12-23T08:17:46","Uptime":"0T00:15:08","UptimeSec":908,"Heap":158,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Berry":{"HeapUsed":3,"Objects":33},"Wifi":{"AP":1,"SSId":"hificat2","BSSId":"68Big GrinB:54:B2:75:B7","Channel":10,"Mode":"11n","RSSI":100,"Signal":-44,"LinkCount":1,"Downtime":"0T00:00:03"}}


RE: GPIO - admin - 12-23-2022

tasmota IR bin download: http://ota.tasmota.com/tasmota32/release/tasmota32-ir.bin