Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expose IFTT in KCSv3 as Switches in HomeAssistant
#1
Hello.
I have a suggestion for your KCSv3. Can you add feature to expose enable/disable switches for each IFTT to MQTT/Home Assistant? Or at least a global enable/disable switch for all IFTT.
I have the A16v3 board I am currently using KCSv3 with home assistant for automation. I want to put more simple IFTT automation in KCSv3 and disable IFTT for normal use, but enable IFTT when power loss. My home assistant and A16v3 have different separate battery backup because they are in different locations. When I have power loss, my home assistant battery backup maybe last 30 minutes maximum, the A16v3 should last a very long time with its own battery backup because very low power consumption. So I want when my home assistant detect power loss, enable IFTT in KCSv3 so that I can have basic automation still running, but when power come back, disable IFTT to have more advanced automation using home assistant. I don't want the IFTT automation clash with home assistant automations.

I also have another question/suggestion.
I am still new and learning about esp32 and Kincony products and features. I follow your website: https://www.kincony.com/how-to-use-kcsv3...board.html to install KCSv3 firmware, but I do not see any instructions on how to update from older version to newer version. Do I repeat the same steps? Can you add in your webpage instructions of how to update KCSv3 from older version to newer version? Does it keep all the settings and IFTT from the older version?
Reply
#2
1. thanks for your suggestion. in future maybe will add it.
2. KCS v3 only work for ESP32-S3 CPU. if you want update new firmware, old setting will be over write, re need set IFTTT. But in future we will improve it, save the old setting.
Reply
#3
(04-15-2025, 01:41 PM)riri0 Wrote: I have a suggestion for your KCSv3. Can you add feature to expose enable/disable switches for each IFTT to MQTT/Home Assistant? Or at least a global enable/disable switch for all IFTT.
I have the A16v3 board I am currently using KCSv3 with home assistant for automation. I want to put more simple IFTT automation in KCSv3 and disable IFTT for normal use, but enable IFTT when power loss.

You can actually do this with existing IFTTT rules, the rules are just ladder logic so all you need to do is AND the IFTTT output with a power-loss signal. If there's no power loss, the output of IFTTT AND power_loss is false, and it's disabled, otherwise it's true and enabled.

For the saved-settings, I'd like to see that too, it's a bit of a pain having to redo all of your settings on each firmware update.
Reply
#4
(04-15-2025, 10:24 PM)admin Wrote: 2. KCS v3 only work for ESP32-S3 CPU. if you want update new firmware, old setting will be over write, re need set IFTTT. But in future we will improve it, save the old setting.

How to update? Is there any specific instructions? Is it the same steps as the installation from your website? I just want to be sure I don't brick my board with a mistake, since I am new. I am ok with redo setting for now since new features and fixes are more important for me.

(04-16-2025, 12:22 PM)twostar Wrote: You can actually do this with existing IFTTT rules, the rules are just ladder logic so all you need to do is AND the IFTTT output with a power-loss signal. If there's no power loss, the output of IFTTT AND power_loss is false, and it's disabled, otherwise it's true and enabled.

That would require some kind of additional sensor and the accompanying logic to expose the power loss state to my board, or a whole another extra board. I don't think the A16v3 with KCSv3 can do this by itself? I'll need some way to monitor the voltage coming from my 230v mains, connect it to my board and figure out how make it workable with the available IFs for my board. my HA already responds to power loss with a connected UPS and NUT. I just need HA to tell KCSv3 that there is a power loss, but I do not see any way to do that in the current IFTT IFs. Can I for example turn on a Digital Input from HA and that reflects in KCSv3?
Reply
#5
when have new functions about save IFTTT after update, we will explain it in future.
Reply
#6
(04-16-2025, 01:52 PM)riri0 Wrote: my HA already responds to power loss with a connected UPS and NUT. I just need HA to tell KCSv3 that there is a power loss, but I do not see any way to do that in the current IFTT IFs. Can I for example turn on a Digital Input from HA and that reflects in KCSv3?

You can do it but it's a bit messy, have HA set a KCS output, then use a relay to convert the wet-contact output to a dry-contact input so you can feed it back to a KCS input.  The real problem is that ATM there's no way to directly chain IFTTT rules without the output -> relay -> input hack, however there's an open request to add this that you could upvote.
Reply
#7
Ok. Thank you for the replies and suggestions.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)