Smart Home Automation Forum
KC868-COLB, Binary sensors and Home Assistant - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2)
+--- Thread: KC868-COLB, Binary sensors and Home Assistant (/showthread.php?tid=528)



KC868-COLB, Binary sensors and Home Assistant - papakigr - 08-24-2021

Hello,

i connected on KC868-COLB normal radars with NC output and through MQTT are reported to Home Assistant.

The problem is that when there is no movement is showing like ON (like detected movement) and when there is motion shows OFF (not detected movement).

How can i invert it, either on COLB or on Home assistant, in order to be OFF when there is no motion and ON where there is motion?


RE: KC868-COLB, Binary sensors and Home Assistant - papakigr - 08-24-2021

Found it,

change this:

- platform: mqtt
name: 'xxxxxx'
unique_id: radar-xxxx
state_topic: 'COLB/xxxxxxxxxxxxxxxxxxx/state'
value_template: '{{ value_json.D14.on }}'
payload_on: 1
payload_off: 0

to this:

- platform: mqtt
name: 'xxxxx'
unique_id: radar-xxxx
state_topic: 'COLB/xxxxxxxxxxxxxxxxx/state'
value_template: '{{ value_json.D14.on }}'
payload_on: 0
payload_off: 1


RE: KC868-COLB, Binary sensors and Home Assistant - admin - 08-24-2021

yes, one way is set by home assistant config , another is use your sensor "NO" output instead of "NC".


RE: KC868-COLB, Binary sensors and Home Assistant - papakigr - 08-24-2021

(08-24-2021, 01:04 PM)admin Wrote: yes, one way is set by home assistant config , another is use your sensor "NO" output instead of "NC".

Where can you configure the sensor output?

I have a problem with the COLB:

i lost the wifi connection, although i see that is connected to the router

and when i login to the LAN the config is empty.

The device is working though and show the input data.


RE: KC868-COLB, Binary sensors and Home Assistant - admin - 08-25-2021

suggest you update to newest firmware for COLB.
suggest use Google chorme browser. if also have problem, add our technical support whatsapp number: +86-13336170682 remote help you.