Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC 868-A16
#4
your state_topic and command_topic is wrong.
you only need add 16 DO and 16 DI command. The server topic because i have also added KC868-Server, you not need to use. so you need to 16 DO and 16 DI as these format:

  - name: 'a16-kcs-output-1'
    unique_id: a16-kcs-output-1
    state_topic: 'KC868_A16/B48A0A404560/STATE'         replace B48A0A404560 with your boad's ID, you can check in your board webpage.
    command_topic: 'KC868_A16/B48A0A404560/SET'       replace B48A0A404560 with your boad's ID, you can check in your board webpage.
    payload_on:  '{"output1":{"value":true}}'
    payload_off:  '{"output1":{"value":false}}'
    value_template: '{{ value_json.output1.value }}'
    state_on: true
    state_off: false


  - name: 'a16-kcs-input-1'
    unique_id: a16-kcs-input-1
    state_topic: 'KC868_A16/B48A0A404560/STATE'      replace B48A0A404560 with your boad's ID
    value_template: '{{ value_json.input1.value }}'
    payload_on: true
    payload_off: false

   
Reply


Messages In This Thread
KC 868-A16 - by eligijus - 02-09-2023, 01:48 PM
RE: KC 868-A16 - by admin - 02-09-2023, 10:40 PM
RE: KC 868-A16 - by eligijus - 02-10-2023, 05:20 PM
RE: KC 868-A16 - by admin - 02-10-2023, 10:40 PM
RE: KC 868-A16 - by eligijus - 02-12-2023, 03:45 PM
RE: KC 868-A16 - by admin - 02-13-2023, 12:19 AM
RE: KC 868-A16 - by eligijus - 02-13-2023, 03:05 PM
RE: KC 868-A16 - by admin - 02-14-2023, 12:16 AM
RE: KC 868-A16 - by eligijus - 02-14-2023, 10:14 AM
RE: KC 868-A16 - by eligijus - 02-15-2023, 11:58 AM
RE: KC 868-A16 - by admin - 02-15-2023, 12:05 PM
RE: KC 868-A16 - by admin - 02-16-2023, 01:27 AM
RE: KC 868-A16 - by eligijus - 02-16-2023, 05:01 PM
RE: KC 868-A16 - by admin - 02-17-2023, 12:21 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)