![]() |
|
KC868-A8 simple switch - 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-A8 (https://www.kincony.com/forum/forumdisplay.php?fid=23) +--- Thread: KC868-A8 simple switch (/showthread.php?tid=8785) |
KC868-A8 simple switch - sgrass - 12-02-2025 I am building an off-road caravan and wish to use a simple smart switch to control the lights, etc. I found Kincony's Lesson 3 - Control relay by wall switch video on YouTube of a KC868-A4 receiving a momentary input switch that toggled the output relay on, a second momentary input toggled the relay off. It was perfect. I could have momentary switches in multiple locations to operate the same light (relay). I needed more relays, so ordered the larger A8 online. I have zero experience with Arduino or ESP32, but I hoped to learn off the online examples. As part of that learning I discovered the A4 is different to the A8 through the addition of the PCF8574 to expand the I/O. I have managed to successfully upload the code from the Kincony - Arduino Lesson 19 on using the PCF8574, so I have the settings correct, I just can't find any code examples for making the A8 behave like the A4 example in lesson 3. As a novice, could someone please point me in the right direction for the code to use a momentary press of a dry contact switch on an input to energise its corresponding relay, a second momentary contact on the same input to de-energise that relay again. Obviously for all 8 inputs to control 8 relays. I would really appreciate it. RE: KC868-A8 simple switch - admin - 12-02-2025 just download KCS v2 firmware, set by IFTTT. here is KCS v2 online guide: https://www.kincony.com/esp32-kcsv2-firmware.html RE: KC868-A8 simple switch - sgrass - 12-02-2025 Wonderful, thank you. I had seen reference to that interface in your videos, but assumed it was a different model. I had already tried to upgrade the firmware, but because my Windows OS is a virtual version inside my Apple computer there was some difficulty. I managed to complete it following your reply and it's all working well. Thank you. RE: KC868-A8 simple switch - admin - 12-02-2025 ok, good. |