Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All outputs turn off every once in a while
#1
Question 
Hello Admin,
I would like to ask you about solving my problem which is that all outputs of my KC868-A16 are turning off every once in a while. It happens randomly in time - sometimes after few minutes and sometimes after dozen of minutes.

Board (rev 1.6) is configured using esphome yaml and connected to HA server. Also I have more than one of your KC868-A16 and it happens for other boards also. I checked installation and it seems it is not problem with power supply because I caught and meter when it happens - network voltage was stable 240V and power supply (good quality one with high amperage) was also stable 11,98V.

I made some more investigations and what I noticed is that it seems it happens only when HA server is turned off (mini pc is turned off).
So summarizing I would to ask you:

1. have you experienced any disturbances in functioning for this or other boards configured using esphome when HA server is not available? if yes then is there anything what I can do? add some yaml configuration?
2. is it possible to force board to remember state of outputs? so even if there will be power outage or such reset than it will bring back output state? (of course light will flicker in this scenario)
3. is there any way to debug board errors in real time somehow in my configuration? I mean some log file which can help identify cause of this problem?

I would be grateful for your help and suggestions,
Bartek
Reply
#2
1. all these functions can set in yaml if you using ESPHome.
2. i suggest you try to download KCS firmware to your board. Then integrate KC868-A16 to home assistant by MQTT. you can check whether work well. Just want to know whether is the software problem or hardware problem.
Reply
#3
Hello Admin,
thank you for answer. Could you please be more specific because I`m newbie Wink or please paste some urls where I can find more infos/examples - I will be grateful because I have 8 boards so would be nice to solve this problem Sad 

1. what functions you meant? caching outputs state? or remove turning off outputs when HA server is down?
2. ok I can try KCS firmware - how to debug then? as I understand in my config (esphome) debugging is not possible to find more info about cause?

also have you ever experienced something like that? or somebody reported similar case?

thank you in advance for help!
Reply
#4
how to use KCS firmware, you can see online guide firstly: https://www.kincony.com/esp32-kcsv2-firmware.html
just test with KCS firmware, let board work for 1-2 days, check whether work well.
Reply
#5
Hi Admin,
so I did some tests as you suggested. Now I`m sure that problem is only when HA server is turned off. KCS firmware solved main problem but introduced new one. I re-implemented my configuration from esphome to kcs firmware/mqtt broker and this is what I figured out:

- Using KCS firmware boards are not turning outputs off when HA server is down but there is some long "lag" when turning light on/off - first what I thought about is that board is waiting for some reading/connection timeout because of unavailability of the MQTT broker and it seems this is problem because when I`m disabling MQTT in board protocols then problem disappears ! Problem is that this timeout seems to be like few seconds and it happens not once but repeatable. So I`m clicking wall button and it takes few seconds to handle request (turn light on/off).

- I also updated esphome and HA to latest versions and problem still exists for this option - all outputs turn off after some unpredictable period of time (sometimes after 1 minute sometimes after 15-30min)

I have 8 boards so I was able to perform tests on different ones.

This is my setup:

Boards inputs are connected to momentary wall switches which are turning on digital outputs. Also I have in HA one scene - in bathroom I have two groups of lamps plus separate leds. My scene is that I`m turning on leds if at least one group of lamps is turned on. Also I`m turning off leds if both groups of lamps are turned off. Board 1 is handling momentary wall buttons (inputs) and lamps (outputs). Second board is handling leds (leds do not have wall button assigned - are only handled by digital output). I`m using 12V for boards.

Please help Smile

BR
Bartek
Reply
#6
1. which KCS firmware version you are using?
2. can you take a video of your problem, send to whatsapp number: +86-15381188302
Reply
#7
Hi Admin,

I`m using version 2.2.8
I prepared video and I`m sending it to you via whatsapp.

thank you,
Bartek
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)