Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson29- How to use tasmota for KC868-A8 via PCF8574 IIC extend GPIO
#11
(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 !
Reply
#12
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"}
Reply
#13
(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 ?
Reply
#14
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
       
Reply
#15
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
Reply
#16
do you want to only use by ethernet, not need use by wifi?
when have time , we can make a mqtt arduino demo.
Reply
#17
(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.
Reply
#18
we will write a mqtt demo sample source code share with you.
Reply
#19
do you only use 8 channel DI and 8 channel DO by ethernet via MQTT?
Reply
#20
(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)
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)