Smart Home Automation Forum
How to use tasmota for KC868-A16 via PCF8574 IIC extend 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-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25)
+--- Thread: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO (/showthread.php?tid=1715)

Pages: 1 2 3 4 5


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - GabrielRR - 09-02-2023

(09-02-2023, 01:30 AM)admin Wrote: sure, you can download newest tasmota (include MATTER). we already have a video tour, use tasmota MATTER firmware in KinCony KC868-A series ESP32 board. here is video tour:
https://youtu.be/K9PMHzNPySI    MATTER for Apple homekit
https://youtu.be/lb6V9-gQmII      MATTER for Amazon Alexa

It's not working.
I put the template but PCF8574 IIC doesn't appear in the menu. 
The blackadder repository only haves the version 1.4 and the board is the version 1.6


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - admin - 09-02-2023

you can compile the newest tasmota firmware online, just enable "MATTER".


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - GabrielRR - 09-08-2023

I can't flash the evice with tasmota after compiling it gives me an error in loop:

[12:11:49]rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
[12:11:49]configsip: 0, SPIWP:0xee
[12:11:49]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[12:11:49]modeBig GrinIO, clock div:2
[12:11:49]load:0x3fff0030,len:1184
[12:11:49]load:0x40078000,len:12784
[12:11:49]load:0x40080400,len:3032
[12:11:49]entry 0x400805e4
[12:11:49]ets Jul 29 2019 12:21:46

When I flash your firmware is ok.

Can you help me?


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - GabrielRR - 09-08-2023

Which template for tasmota should I use:

1) The original:
{"NAME":"KC868-A16","GPIO":[32,0,1120,0,640,608,0,0,0,1,1,1152,0,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,1],"FLAG":0,"BASE":1}

2) The one in Blackadder site:
{"NAME":"KC868-A16 rev 1.4","GPIO":[32,1,1,1,640,608,1,1,1,1,1,1,1,1,5600,1,0,1,1,5568,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}

3) A new one since the board you sold me is R1.6

I need to be sure what template should I use!!!!


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - admin - 09-08-2023

why you not download tasmota bin directly to use? all BIN file support MATTER now.
just download to ESP32, then set I2C bus SCL,SDA pin for A16 board.
   


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - GabrielRR - 09-09-2023

(09-08-2023, 11:38 PM)admin Wrote: why you not download tasmota bin directly to use? all BIN file support MATTER now.
just download to ESP32, then set I2C bus SCL,SDA pin for A16 board.

Thank you for your answer.
Yes, now matter is a default feature, Thats  is solve.
 But anyway I need to compile PCF8574, which doesnt come on that pre compile binary.

https://tasmota.github.io/docs/PCF8574/

So I need the template anyway.


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - admin - 09-09-2023

you can compile by tasmota online webpage: enable MATTER and PCF8574 function.


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - GabrielRR - 09-09-2023

(09-09-2023, 11:19 AM)admin Wrote: you can compile by tasmota online webpage: enable MATTER and PCF8574 function.

I already did, it works.
But I need the template of the board for tasmota, mine is R1.6


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - GabrielRR - 09-16-2023

(09-09-2023, 01:34 PM)GabrielRR Wrote:
(09-09-2023, 11:19 AM)admin Wrote: you can compile by tasmota online webpage: enable MATTER and PCF8574 function.

I already did, it works.
But I need the template of the board for tasmota, mine is R1.6

I did a lot of research and finally everything is working, almost perfect.
I put the latest version of tasmota, I've created rules to control outputs with the input buttons. Now its ok.
However it happen that the inputs are somehow out of order.


   

Meaning that the physical ports that you have in A16 board are changed compared with the digital inputs in tasmota GUI.

How do I change this?


RE: How to use tasmota for KC868-A16 via PCF8574 IIC extend GPIO - admin - 09-16-2023

i think need modify setting before compile tasmota firmware.