Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
подключение KC868-Server Ethernet WiFi CM4 + KC868-H32B Pro-2
#11
(02-16-2024, 11:01 PM)admin Wrote: do your KC868-Server's IP address is 192.168.101.4?
please upload your yaml file at here. (not photo)

HomeAssistant 192.168.101.4
KC868-Server 192.168.101.7
KC868-H32Pro 192.168.101.8


Attached Files
.txt   mqtt.txt (Size: 11.35 KB / Downloads: 62)
.txt   configuration.txt (Size: 1.01 KB / Downloads: 60)
Reply
#12
Good afternoon, Xuwei ! Is there a solution to how to interact with the relay from the КС868-server?
Reply
#13
sure, you can add H32B Pro to home assistant. do you want KC868-Server's digital input trigger H32B Pro's relay output? it can create "AUTOMATION" in home assistant.
Reply
#14
My home assistant is loaded into the KC868-Server via MQTT it manages the H32B Pro with all lighting and power supplies. All 32 are busy, now I need an additional relay, I wanted to control 16 channels from the KC868-Server itself, but it does not read. What should I do to make it work?
Reply
#15
it as same as your H32B Pro, just change the topic, for example (this config demo for output1 of KC868-Server, you just replace UID by yourself):
mqtt:

  switch:
  - name: 'output-1'
    unique_id: output-1
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    command_topic: 'server/8ae082ec66f37db231cf2b8f/set'
    payload_on:  '{"relay1":{"on":1}}'
    payload_off:  '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0

here is sample config file for KC868-Server yaml.

.txt   KC868-Server-home-assistant-MQTT_config_202212.txt (Size: 9.26 KB / Downloads: 59)
Reply
#16
I'll try with MQTT later, I tried to control the relay directly from the Web page relay control, it did not respond. What could it be? I'll try to make a video later.
Reply
#17
take a photo how you wire with KC868-Server, maybe you have not connect with Vin port with DC12v.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)