Smart Home Automation Forum
how to use Mqtt,tcp modbus using ethernet port? - 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-A8S (https://www.kincony.com/forum/forumdisplay.php?fid=24)
+--- Thread: how to use Mqtt,tcp modbus using ethernet port? (/showthread.php?tid=2592)



how to use Mqtt,tcp modbus using ethernet port? - nano90 - 02-21-2023

I want to write a program that performs actions using modbus tcp or mqtt.
various functions can be impelemented using the firmware provided here, but Arduino demo codes are required to implement the functions I want.
do you have any videos or sources I can refer to?

I want to communicate using the ethernet port.


RE: how to use Mqtt,tcp modbus using ethernet port? - admin - 02-22-2023

if you want directly to use, you can download "KCS" firmware to your board, it support MQTT by ethernet.
if you want arduino code for MQTT, we have ethernet web sever source code at here: https://www.kincony.com/forum/showthread.php?tid=2239
i think you can modify it use for MQTT.


RE: how to use Mqtt,tcp modbus using ethernet port? - nano90 - 03-28-2023

(02-22-2023, 12:18 AM)관리자 Wrote: 직접 사용하려는 경우 보드에 "KCS" 펌웨어를 다운로드할 수 있으며 이더넷으로 MQTT를 지원합니다.
MQTT용 아두이노 코드를 원하신다면 여기에 이더넷 웹 서버 소스 코드가 있습니다: https://www.kincony.com/forum/showthread.php?tid=2239
MQTT용으로 수정할 수 있습니다.


당신의 응답을 주셔서 감사합니다.

구현할 수 있다고 언급되었지만 어떤 예를 수정해야할지 잘 모르겠습니다. 

웹서버로 사용하려고 했는데 아두이노 IDE를 이용하여 MQTT로 변환하는 예제를 제공해 주시면 감사하겠습니다.


RE: how to use Mqtt,tcp modbus using ethernet port? - admin - 03-28-2023

if you download "KCS" firmware, you can directly to use MQTT.
do you want to write arduino code for MQTT by yourself?


RE: how to use Mqtt,tcp modbus using ethernet port? - nano90 - 03-28-2023

(03-28-2023, 09:59 AM)admin Wrote: if you download "KCS" firmware, you can directly to use MQTT.
do you want to write arduino code for MQTT by yourself?

yes! I want to write the code!


RE: how to use Mqtt,tcp modbus using ethernet port? - admin - 03-28-2023

i think you can search on google, arduino mqtt source code. there are many webpage for this.