Smart Home Automation Forum

Full Version: Issue with http request - Says http not open
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello Community of Kincony !

I am using a KC868-A8, which is a great product.
I have activated http server to send some commands in tcp to the board.

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 

Any idea of what could be wrong by reading the inputs ?

Thank you !
Fabien
take a photo of your protocol webpage setting of KCS firmware.
(12-24-2024, 11:59 PM)admin Wrote: [ -> ]take a photo of your protocol webpage setting of KCS firmware.

Hello Admin,

Thank you.
Here is my parameters.

[attachment=6757]

By the way, I don't know why I do not have access to the Modbus parameters, this board should be compatible with Modbus RTU, right ?
KC868-A8 no RS485 port, not support modbus. A8S have RS485 ,support modbus.
do you A8 board ip is 192.168.1.200?
what firmware version you are using? suggest download the newest, here is link: https://www.kincony.com/forum/showthread.php?tid=7224
(12-27-2024, 12:32 AM)admin Wrote: [ -> ]KC868-A8 no RS485 port, not support modbus. A8S have RS485 ,support modbus.
do you A8 board ip is 192.168.1.200?
what firmware version you are using? suggest download the newest, here is link: https://www.kincony.com/forum/showthread.php?tid=7224

Ok for Modbus.
Yes my board is in 192.168.1.200
I am already using the latest firmware in 2.2.8
That’s why I’m wondering what could be wrong.
KCS firmware not support tcp by modbus, only RS485 modbus, but KC868-A8 without RS485 port.
(12-29-2024, 12:01 AM)admin Wrote: [ -> ]KCS firmware not support tcp by modbus, only RS485 modbus, but KC868-A8 without RS485 port.

Yes ok understood that.
But my issue is still existing with the http commands :

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 
Yes ok understood for Modbus TCP.
But my original issue was that TCP commands was not working :

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 
Hello,

Yes ok I got that, but my main issue was that I was unable to read the Inputs : 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 

Thanks.
i have tested the newest firmware V2.2.10, it's work well, make sure, you can replaced your actually ip address of your KC868-A8 board.
[attachment=6817]
[attachment=6818]
Pages: 1 2