02-17-2024, 01:58 PM
(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
подключение KC868-Server Ethernet WiFi CM4 + KC868-H32B Pro-2
|
02-17-2024, 01:58 PM
(02-16-2024, 11:01 PM)admin Wrote: do your KC868-Server's IP address is 192.168.101.4? HomeAssistant 192.168.101.4 KC868-Server 192.168.101.7 KC868-H32Pro 192.168.101.8
02-22-2024, 09:23 AM
Good afternoon, Xuwei ! Is there a solution to how to interact with the relay from the КС868-server?
02-22-2024, 10:24 AM
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.
02-22-2024, 11:17 AM
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?
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. KC868-Server-home-assistant-MQTT_config_202212.txt (Size: 9.26 KB / Downloads: 54)
02-23-2024, 04:50 AM
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.
02-23-2024, 05:36 AM
take a photo how you wire with KC868-Server, maybe you have not connect with Vin port with DC12v.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |