KC868-A16 restore mode - 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: KC868-A16 restore mode (/showthread.php?tid=7321) |
KC868-A16 restore mode - JP50 - 01-04-2025 Hello. I purchased a KC868-A16 and got it integrated with home assistant successfully via ESP32. Everything was good until i removed and reconnected power to the board and realized that the way I wired things, I need the board to boot up with outputs 1-16 on. By default they are all turning off upon power up. Can I add something to the yaml and send from ESPhome Builder to change the power on states of the outputs to ON? I see this snippet in the logs so I assume there should be a way to set restore mode? GPIO Switch 'light1' [14:27:40][C][switch.gpio:091]: Restore Mode: always OFF [14:27:40][C][switch.gpio:031]: Pin: 0 via PCF8574 [14:27:40][C][switch.gpio:068]: GPIO Switch 'light2' [14:27:40][C][switch.gpio:091]: Restore Mode: always OFF [14:27:40][C][switch.gpio:031]: Pin: 1 via PCF8574 etc..... RE: KC868-A16 restore mode - admin - 01-05-2025 there is a "restore_mode" option in ESPHome yaml. default is "ALWAYS_OFF" you can set to "RESTORE_DEFAULT_ON" here is details of how to use restore_mode: https://esphome.io/components/switch/index.html RE: KC868-A16 restore mode - JP50 - 01-05-2025 [quote pid="18809" dateline="1736039709"] Thank you for confirming. I eventually figured that out but what confuses me is that when I try to set the restore mode in my yaml file for the esp32, it fights with the same statement in the yaml file that gets loaded for the kc868. I searched with file browser and couldn’t seem to find that file that home assistant is using in the background. Can you offer and advice? Please excuse me as I have only been using home assistant for a month now. thanks [/quote] RE: KC868-A16 restore mode - admin - 01-05-2025 ?? i don't understand your quesiton. |