Set ON/OFF one channel of digital output - 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-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: Set ON/OFF one channel of digital output (/showthread.php?tid=4316) |
Set ON/OFF one channel of digital output - kloper360 - 02-14-2024 I just got my boards and wanted to test the HTTP GET SET commands to read or set the IOs, but somehow I am not abel to do it. Hope somebody here can help me find the issue. I got this documentation: https://www.kincony.com/forum/attachment.php?aid=2871 It explains clearly what commands to use. For example: http://192.168.1.200/ctrl.cgi?secret=abcd&cmd=set_output&id=1&value=1 This should set the Output1 to HIGH, but I its not and I am getting the messege in the browser: {"code":-2,"status":"http not open"} According to the documentation I need to set the "secret" in the board settings, but I cant find that field anywhere. I am using version: v2.2.2 I can access the board over the IP, I can monitor IOs and I can set them manually to high or low... its only that my HTTP request command doesnt do it. The other issue is, I cant seem to trigger digital input... atleast its never showing green in the monitor page. I tryed to apply 12V and 24V to it, but nothing is registered. Do digital inputs need to be activated somehow first? I am using a 24V power supply to digital input ground and pin1. Thanks in advanced! RE: Set ON/OFF one channel of digital output - kloper360 - 02-14-2024 Update: I manage to find the setting for HTTP requests, its inside protocols, so thats working now.. AND I got digital inputs to work, but I am not sure what the idea is behind this. In order for a digital input to get recognized, I need to pull it to ground. But that can only work if i use a relay on the other side, not? If I have a system that gives me 24V as signals, how do I read that with digital inputs of the board? RE: Set ON/OFF one channel of digital output - admin - 02-15-2024 digital input short with GND means triggered. if your board use by DC24v power supply. also INPUT short with GND is triggered, it's dry contact. RE: Set ON/OFF one channel of digital output - kloper360 - 02-16-2024 (02-15-2024, 01:07 AM)admin Wrote: digital input short with GND means triggered. if your board use by DC24v power supply. also INPUT short with GND is triggered, it's dry contact. If I reverse the signal level in the settings, I basically get what I need.. as the trigger is OFF when I connect it to my power supply, but when I turn on 24V, it reads high as expected. Is it safe to run it that way? The 24V on the input will not damage anything? RE: Set ON/OFF one channel of digital output - admin - 02-16-2024 if you use DC24v for A16 board. digital input can work with GND or 24V. it according to your power supply voltage. RE: Set ON/OFF one channel of digital output - kloper360 - 02-16-2024 (02-16-2024, 11:21 AM)admin Wrote: if you use DC24v for A16 board. digital input can work with GND or 24V. it according to your power supply voltage. Great!! Thanks alot for the feedback! RE: Set ON/OFF one channel of digital output - admin - 02-16-2024 you are welcome. |