Posts: 11
Threads: 3
Joined: Nov 2024
Reputation:
0
12-17-2024, 04:23 PM
(This post was last modified: 12-17-2024, 04:58 PM by gal.)
No I dont know how to modify
I have followed your instructions from your links you have given me.
No I dont know how to modify
I have followed your instructions from your links you have given me .
Posts: 6,625
Threads: 844
Joined: Oct 2020
Reputation:
162
Posts: 11
Threads: 3
Joined: Nov 2024
Reputation:
0
(12-17-2024, 11:38 PM)admin Wrote: Do you using KC868-AIO? Yes
Posts: 6,625
Threads: 844
Joined: Oct 2020
Reputation:
162
Yesterday, 02:10 AM
(This post was last modified: Yesterday, 02:12 AM by admin.)
here is feedback from KC868-AIO mqtt state:
Code: {"input1":{"value":false},"input2":{"value":false},"input3":{"value":false},"input4":{"value":false},"input5":{"value":false},"input6":{"value":false},"input7":{"value":false},"input8":{"value":false},"input9":{"value":false},"input10":{"value":false},"input11":{"value":false},"input12":{"value":false},"input13":{"value":false},"input14":{"value":false},"input15":{"value":false},"input16":{"value":false},"input17":{"value":false},"input18":{"value":false},"input19":{"value":false},"input20":{"value":false},"input21":{"value":false},"input22":{"value":false},"input23":{"value":false},"input24":{"value":false},"input25":{"value":false},"input26":{"value":false},"input27":{"value":false},"input28":{"value":false},"input29":{"value":false},"input30":{"value":false},"input31":{"value":false},"input32":{"value":false},"input33":{"value":false},"input34":{"value":false},"input35":{"value":false},"input36":{"value":false},"input37":{"value":false},"input38":{"value":false},"input39":{"value":false},"input40":{"value":false},"input41":{"value":false},"input42":{"value":false},"input43":{"value":false},"input44":{"value":false},"input45":{"value":false},"input46":{"value":false},"input47":{"value":false},"input48":{"value":false},"input49":{"value":false},"input50":{"value":false},"input51":{"value":false},"input52":{"value":false},"input53":{"value":false},"input54":{"value":false},"input55":{"value":false},"input56":{"value":false},"output1":{"value":false},"output2":{"value":false},"output3":{"value":false},"output4":{"value":false},"output5":{"value":false},"output6":{"value":false},"output7":{"value":false},"output8":{"value":false},"output9":{"value":false},"output10":{"value":false},"output11":{"value":false},"output12":{"value":false},"output13":{"value":false},"output14":{"value":false},"output15":{"value":false},"output16":{"value":false},"output17":{"value":false},"output18":{"value":false},"output19":{"value":false},"output20":{"value":false},"output21":{"value":false},"output22":{"value":false},"output23":{"value":false},"output24":{"value":false},"output25":{"value":false},"output26":{"value":false},"output27":{"value":false},"output28":{"value":false},"output29":{"value":false},"output30":{"value":false},"output31":{"value":false},"output32":{"value":false},"adc1":{"value":0},"adc2":{"value":0},"adc3":{"value":0},"adc4":{"value":0},"adc5":{"value":0},"adc6":{"value":0},"adc7":{"value":0},"adc8":{"value":0},"adc9":{"value":0},"adc10":{"value":0},"adc11":{"value":0},"adc12":{"value":0},"adc13":{"value":0},"adc14":{"value":0},"adc15":{"value":0},"adc16":{"value":0},"adc17":{"value":0},"adc18":{"value":0},"adc19":{"value":0},"dac1":{"value":0},"dac2":{"value":0},"dac3":{"value":0},"dac4":{"value":0},"dac5":{"value":0},"dac6":{"value":0},"dac7":{"value":0},"dac8":{"value":0},"dac9":{"value":0},"dac10":{"value":0},"dac11":{"value":0},"dac12":{"value":0},"dac13":{"value":0},"dac14":{"value":0},"dac15":{"value":0},"dac16":{"value":0},"sensor1":{"temperature":-100.0,"humidity":-100.0},"sensor2":{"temperature":-100.0,"humidity":-100.0}}
so you can modify the yaml by this way. here is yaml for KC868-AIO, it config for 32 channel digital output and 56 channel digital input ports. You ONLY need to replace with your own UID in "command_topic" and "state_topic" topic.
Code: # Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
switch:
- name: 'aio-kcs-output-1'
unique_id: aio-kcs-output-1
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output1":{"value":true}}'
payload_off: '{"output1":{"value":false}}'
value_template: '{{ value_json.output1.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-2'
unique_id: aio-kcs-output-2
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output2":{"value":true}}'
payload_off: '{"output2":{"value":false}}'
value_template: '{{ value_json.output2.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-3'
unique_id: aio-kcs-output-3
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output3":{"value":true}}'
payload_off: '{"output3":{"value":false}}'
value_template: '{{ value_json.output3.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-4'
unique_id: aio-kcs-output-4
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output4":{"value":true}}'
payload_off: '{"output4":{"value":false}}'
value_template: '{{ value_json.output4.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-5'
unique_id: aio-kcs-output-5
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output5":{"value":true}}'
payload_off: '{"output5":{"value":false}}'
value_template: '{{ value_json.output5.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-6'
unique_id: aio-kcs-output-6
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output6":{"value":true}}'
payload_off: '{"output6":{"value":false}}'
value_template: '{{ value_json.output6.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-7'
unique_id: aio-kcs-output-7
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output7":{"value":true}}'
payload_off: '{"output7":{"value":false}}'
value_template: '{{ value_json.output7.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-8'
unique_id: aio-kcs-output-8
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output8":{"value":true}}'
payload_off: '{"output8":{"value":false}}'
value_template: '{{ value_json.output8.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-9'
unique_id: aio-kcs-output-9
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output9":{"value":true}}'
payload_off: '{"output9":{"value":false}}'
value_template: '{{ value_json.output9.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-10'
unique_id: aio-kcs-output-10
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output10":{"value":true}}'
payload_off: '{"output10":{"value":false}}'
value_template: '{{ value_json.output10.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-11'
unique_id: aio-kcs-output-11
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output11":{"value":true}}'
payload_off: '{"output11":{"value":false}}'
value_template: '{{ value_json.output11.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-12'
unique_id: aio-kcs-output-12
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output12":{"value":true}}'
payload_off: '{"output12":{"value":false}}'
value_template: '{{ value_json.output12.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-13'
unique_id: aio-kcs-output-13
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output13":{"value":true}}'
payload_off: '{"output13":{"value":false}}'
value_template: '{{ value_json.output13.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-14'
unique_id: aio-kcs-output-14
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output14":{"value":true}}'
payload_off: '{"output14":{"value":false}}'
value_template: '{{ value_json.output14.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-15'
unique_id: aio-kcs-output-15
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output15":{"value":true}}'
payload_off: '{"output15":{"value":false}}'
value_template: '{{ value_json.output15.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-16'
unique_id: aio-kcs-output-16
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output16":{"value":true}}'
payload_off: '{"output16":{"value":false}}'
value_template: '{{ value_json.output16.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-17'
unique_id: aio-kcs-output-17
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output17":{"value":true}}'
payload_off: '{"output17":{"value":false}}'
value_template: '{{ value_json.output17.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-18'
unique_id: aio-kcs-output-18
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output18":{"value":true}}'
payload_off: '{"output18":{"value":false}}'
value_template: '{{ value_json.output18.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-19'
unique_id: aio-kcs-output-19
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output19":{"value":true}}'
payload_off: '{"output19":{"value":false}}'
value_template: '{{ value_json.output19.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-20'
unique_id: aio-kcs-output-20
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output20":{"value":true}}'
payload_off: '{"output20":{"value":false}}'
value_template: '{{ value_json.output20.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-21'
unique_id: aio-kcs-output-21
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output21":{"value":true}}'
payload_off: '{"output21":{"value":false}}'
value_template: '{{ value_json.output21.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-22'
unique_id: aio-kcs-output-22
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output22":{"value":true}}'
payload_off: '{"output22":{"value":false}}'
value_template: '{{ value_json.output22.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-23'
unique_id: aio-kcs-output-23
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output23":{"value":true}}'
payload_off: '{"output23":{"value":false}}'
value_template: '{{ value_json.output23.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-24'
unique_id: aio-kcs-output-24
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output24":{"value":true}}'
payload_off: '{"output24":{"value":false}}'
value_template: '{{ value_json.output24.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-25'
unique_id: aio-kcs-output-25
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output25":{"value":true}}'
payload_off: '{"output25":{"value":false}}'
value_template: '{{ value_json.output25.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-26'
unique_id: aio-kcs-output-26
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output26":{"value":true}}'
payload_off: '{"output26":{"value":false}}'
value_template: '{{ value_json.output26.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-27'
unique_id: aio-kcs-output-27
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output27":{"value":true}}'
payload_off: '{"output27":{"value":false}}'
value_template: '{{ value_json.output27.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-28'
unique_id: aio-kcs-output-28
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output28":{"value":true}}'
payload_off: '{"output28":{"value":false}}'
value_template: '{{ value_json.output28.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-29'
unique_id: aio-kcs-output-29
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output29":{"value":true}}'
payload_off: '{"output29":{"value":false}}'
value_template: '{{ value_json.output29.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-30'
unique_id: aio-kcs-output-30
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output30":{"value":true}}'
payload_off: '{"output30":{"value":false}}'
value_template: '{{ value_json.output30.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-31'
unique_id: aio-kcs-output-31
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output31":{"value":true}}'
payload_off: '{"output31":{"value":false}}'
value_template: '{{ value_json.output31.value }}'
state_on: true
state_off: false
- name: 'aio-kcs-output-32'
unique_id: aio-kcs-output-32
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
command_topic: 'KC868_AIO/08F9E08BCB74/SET'
payload_on: '{"output32":{"value":true}}'
payload_off: '{"output32":{"value":false}}'
value_template: '{{ value_json.output32.value }}'
state_on: true
state_off: false
binary_sensor:
- name: 'aio-kcs-input-1'
unique_id: aio-kcs-input-1
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input1.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-2'
unique_id: aio-kcs-input-2
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input2.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-3'
unique_id: aio-kcs-input-3
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input3.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-4'
unique_id: aio-kcs-input-4
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input4.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-5'
unique_id: aio-kcs-input-5
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input5.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-6'
unique_id: aio-kcs-input-6
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input6.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-7'
unique_id: aio-kcs-input-7
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input7.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-8'
unique_id: aio-kcs-input-8
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input8.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-9'
unique_id: aio-kcs-input-9
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input9.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-10'
unique_id: aio-kcs-input-10
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input10.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-11'
unique_id: aio-kcs-input-11
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input11.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-12'
unique_id: aio-kcs-input-12
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input12.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-13'
unique_id: aio-kcs-input-13
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input13.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-14'
unique_id: aio-kcs-input-14
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input14.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-15'
unique_id: aio-kcs-input-15
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input15.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-16'
unique_id: aio-kcs-input-16
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input16.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-17'
unique_id: aio-kcs-input-17
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input17.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-18'
unique_id: aio-kcs-input-18
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input18.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-19'
unique_id: aio-kcs-input-19
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input19.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-20'
unique_id: aio-kcs-input-20
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input20.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-21'
unique_id: aio-kcs-input-21
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input21.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-22'
unique_id: aio-kcs-input-22
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input22.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-23'
unique_id: aio-kcs-input-23
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input23.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-24'
unique_id: aio-kcs-input-24
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input24.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-25'
unique_id: aio-kcs-input-25
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input25.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-26'
unique_id: aio-kcs-input-26
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input26.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-27'
unique_id: aio-kcs-input-27
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input27.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-28'
unique_id: aio-kcs-input-28
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input28.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-29'
unique_id: aio-kcs-input-29
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input29.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-30'
unique_id: aio-kcs-input-30
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input30.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-31'
unique_id: aio-kcs-input-31
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input31.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-32'
unique_id: aio-kcs-input-32
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input32.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-33'
unique_id: aio-kcs-input-33
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input33.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-34'
unique_id: aio-kcs-input-34
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input34.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-35'
unique_id: aio-kcs-input-35
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input35.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-36'
unique_id: aio-kcs-input-36
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input36.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-37'
unique_id: aio-kcs-input-37
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input37.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-38'
unique_id: aio-kcs-input-38
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input38.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-39'
unique_id: aio-kcs-input-39
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input39.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-40'
unique_id: aio-kcs-input-40
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input40.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-41'
unique_id: aio-kcs-input-41
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input41.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-42'
unique_id: aio-kcs-input-42
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input42.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-43'
unique_id: aio-kcs-input-43
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input43.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-44'
unique_id: aio-kcs-input-44
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input44.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-45'
unique_id: aio-kcs-input-45
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input45.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-46'
unique_id: aio-kcs-input-46
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input46.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-47'
unique_id: aio-kcs-input-47
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input47.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-48'
unique_id: aio-kcs-input-48
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input48.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-49'
unique_id: aio-kcs-input-49
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input49.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-50'
unique_id: aio-kcs-input-50
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input50.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-51'
unique_id: aio-kcs-input-51
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input51.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-52'
unique_id: aio-kcs-input-52
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input52.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-53'
unique_id: aio-kcs-input-53
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input53.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-54'
unique_id: aio-kcs-input-54
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input54.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-55'
unique_id: aio-kcs-input-55
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input55.value }}'
payload_on: true
payload_off: false
- name: 'aio-kcs-input-56'
unique_id: aio-kcs-input-56
state_topic: 'KC868_AIO/08F9E08BCB74/STATE'
value_template: '{{ value_json.input56.value }}'
payload_on: true
payload_off: false
yaml file download:
AIO-mqtt-HA.txt (Size: 23.81 KB / Downloads: 3)
check your own UID of KC868-AIO at INDEX webpage.
Posts: 11
Threads: 3
Joined: Nov 2024
Reputation:
0
Hi
Thanks for your reply and support all working great now.
I have Sensors that I would like to add to the kc868 aio, eg- water temperature sensors ,temperature and humidity sensors, water level sensors and human presence sensors that I have purchased from you, how do I integrate these to the aio using kcs firmware.
Posts: 6,625
Threads: 844
Joined: Oct 2020
Reputation:
162
water temperature sensors ,temperature and humidity sensors, water level sensors need all details. such as which are analog 0-5v sensor? which is DS18B20? human presence sensor just connect to your digital input port.
Posts: 11
Threads: 3
Joined: Nov 2024
Reputation:
0
Posts: 6,625
Threads: 844
Joined: Oct 2020
Reputation:
162
when i have free time, will update the yaml for use these sensor. the last one, VALVE is not a sensor, you can connect with relay output port to drive it.
|