Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to program switch 1 to change relay 1 state - KC868-H8
#1
Question 
Is it possible to configure this module so that every time a pulse occurs on switch 1, the status of relay 1 is changed?
Like this video https://youtu.be/HlxVVIB2yXk

I need this to happen on the device independent of network connectivity, so each device can be a standalone unit.


I will use Home-Assistant with Node-Red. However, if I depend on Node-Red for this, i have the risk of not being able to light a lamp locally if my HA is unavailable.

Thank You

Marcio
Marcio  Cool
Reply
#2
using COL there is the "TOGGLE" function which should execute the function you are looking for.
do it using only h8, without COL i don't think it's possible. I don't even think driving a step bye step relay because when the relay of h8 goes from 1 to 0, the step bye step relay does not change state
Reply
#3
I found in the YouTube comments that a firmware that configures all input ports linked to the relays. 

This is exactly what I need, I will not use the input ports for any other purpose.

However I did not find this firmware on the site.
Marcio  Cool
Reply
#4
KC868-H8 have this type of firmware of input function, if use this firmware, input port will be only for switch use, never can use for trigger send alarm message and trigger scene mode again.
if you want , leave your email, i send you firmware. you need use ST-Link USB cable to update firmware, how to do , you can see our youtube channel.
Reply
#5
(03-10-2021, 05:04 AM)admin Wrote: KC868-H8 have this type of firmware of input function, if use this firmware, input port will be only for switch use, never can use for trigger send alarm message and trigger scene mode again.
if you want , leave your email, i send you firmware. you need use ST-Link USB cable to update firmware, how to do , you can see our youtube channel.

Ok... Please, send me this firmware to martlima@gmail.com

I will look for how to update the firmware and also on the cable st link.
Marcio  Cool
Reply
#6
Here is firmware of KC868-H8 relay controller have sent to your email. input control output version, but alarm sensor will never be used.
here is video how to do: https://youtu.be/MI2_qAIEt2U

Here is st link tool for KC868 smart controller firmware update.
https://www.kincony.com/download/sttoolset.zip
when download at stlink software , MCU chip chose: 103X8 when update KC868-H8 controller.

ST-link usb cable:
https://www.aliexpress.com/item/33023499...6c0aj9FLgb
Reply
#7
(03-11-2021, 01:29 AM)admin Wrote: Here is firmware of KC868-H8 relay controller have sent to your email.  input control output version, but alarm sensor will never be used.
here is video how to do: https://youtu.be/MI2_qAIEt2U

Here is st link tool for KC868 smart controller firmware update.
https://www.kincony.com/download/sttoolset.zip
when download at stlink software , MCU chip chose: 103X8 when update KC868-H8 controller.

ST-link usb cable:
https://www.aliexpress.com/item/33023499...6c0aj9FLgb

Hello.

Thank you very much for your attention.

I received the firmware and successfully upgraded it.



The operation of the input ports has been changed as expected.

However, if I keep the button pressed for more than 500ms (approximately), multiple shots will occur, and this is a very short time.

Is there a way to configure it as a single trigger for each time the button is pressed, regardless of the time it is pressed, or as a second alternative, to increase that multiple trigger time?

I will cable my house, and these input ports will be directly connected (not so directly, I will create some way to improve isolation) to the wall switches throughout the house, so multiple trigger are not interesting.


Thank you again.
Marcio  Cool
Reply
#8
Because your switch contact may not be very good, there is a simple way, you can parallel an electrolytic capacitor to the input, which should be able to improve. Because other people all no problem.
Reply
#9
Hi, I have the same problem with KC868-H8. In homeassistant and node-red everything is ok, but when I press switch 1 on the panel, the state of toggle in homeassistant is not changed(relay on the panel changed its state). There is no output on debug in node-red.
Reply
#10
relay controller's input is for sensor use, not for switch panel, if you update the input port for panel use, will not feedback command . suggest add switch terminal board, that is for switch panel use, when pressed button will feedback to TCP connection, home assistant and Node-Red will get the message.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)