Posts: 10
Threads: 0
Joined: Mar 2022
Reputation:
0
(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 !
Posts: 6,324
Threads: 808
Joined: Oct 2020
Reputation:
155
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"}
Posts: 10
Threads: 0
Joined: Mar 2022
Reputation:
0
(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 ?
Posts: 291
Threads: 234
Joined: Jan 2021
03-31-2022, 02:29 AM
(This post was last modified: 03-31-2022, 02:31 AM by KinCony Support.)
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
Posts: 10
Threads: 0
Joined: Mar 2022
Reputation:
0
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 WTF !
Do you have a script to use directly KC868-A8 with mqtt ?
I going mad that doesn't work properly
Posts: 6,324
Threads: 808
Joined: Oct 2020
Reputation:
155
do you want to only use by ethernet, not need use by wifi?
when have time , we can make a mqtt arduino demo.
Posts: 10
Threads: 0
Joined: Mar 2022
Reputation:
0
(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.
Posts: 6,324
Threads: 808
Joined: Oct 2020
Reputation:
155
we will write a mqtt demo sample source code share with you.
Posts: 6,324
Threads: 808
Joined: Oct 2020
Reputation:
155
do you only use 8 channel DI and 8 channel DO by ethernet via MQTT?
Posts: 10
Threads: 0
Joined: Mar 2022
Reputation:
0
(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)
|