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

Pages: 1 2 3 4 5 6


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - JulienR - 03-29-2022

(03-28-2022, 05:40 AM)admin Wrote: i see, sorry, your board is KC868-A8, but these photos i have downloaded is KC868-A16.we will test with KC868-A8 this week when have free time, then feedback to you.

Hi,

I need to use these cards quickly for my customers (control lighting etc) via mqtt (as mentioned on your aliexpress article), if you have a firmware with mqtt ready and an http page to configure ethernet, I would be happy to test and deploy that !


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - admin - 03-30-2022

i think you have not done config the setting for ethenret, see video begin time 06:24

here is setting for ethenret, maybe you have not done this step. if add this, ethernet will be enabled.

{"NAME":"KC868-A8","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,"CMND":"EthClockMode 3 | EthAddress 0 | EthType 0 | I2CDriver2 1"}


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - JulienR - 03-30-2022

(03-30-2022, 01:49 AM)admin Wrote: i think you have not done config the setting for ethenret, see video begin time 06:24

here is setting for ethenret, maybe you have not done this step. if add this, ethernet will be enabled.

{"NAME":"KC868-A8","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,"CMND":"EthClockMode 3 | EthAddress 0 | EthType 0 | I2CDriver2 1"}

I've done this, after validate : ethernet is blinking, but no ip adress on logs : look at my previous logs ! No clue of ethernet activities. If I switch off access point, no ethernet IP address.
Have you tried with your A8 ?


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - KinCony Support - 03-31-2022

It is possible that the Ethernet cannot obtain the IP address. I tried to connect the network cable to the switch, but it did not connect to the router. This time the phenomenon is the same as you, the network port indicator will blink, but will get two same IP address.
like picture 1
   



The following is a network cable connected to the router, you can correctly obtain Ethernet IP and WIFI IP
       


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - JulienR - 04-01-2022

Hi

ok, I see prob : if i connect to my POE switch (connected to router) : no ip address
if I connect to a no-PoE switch (connect to router) : i got ip address

AND 
when wifi is connected -> got ethernet ip
when i desactivate WiFi AP -> still got ethernet ip (fine)

BUT
when I power cycle with no WiFi AP -> no ethernet IP  Angry WTF !



Do you have a script to use directly KC868-A8 with mqtt ?
I going mad that doesn't work properly


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - admin - 04-02-2022

do you want to only use by ethernet, not need use by wifi?
when have time , we can make a mqtt arduino demo.


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - JulienR - 04-02-2022

(04-02-2022, 12:09 AM)admin Wrote: do you want to only use by ethernet, not need use by wifi?

yeap, that the interest to have an ethernet port on board. Where I want to put this card, where is no Access point, only wired ethernet.


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - admin - 04-03-2022

we will write a mqtt demo sample source code share with you.


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - admin - 04-03-2022

do you only use 8 channel DI and 8 channel DO by ethernet via MQTT?


RE: Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO - JulienR - 04-04-2022

(04-03-2022, 01:08 AM)admin Wrote: do you only use 8 channel DI and 8 channel DO by ethernet via MQTT?

yes, I would like use it as a I/O gateway (like an advantech adam 6050)