Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A16 - MQTT Issues
#1
Hey, 

first of all: Thanks for this great product! I am now trying to connect it via MQTT to Home Assistant. (I had several issues by using ESPHome, so I wanna stick with MQTT for now). 

What I did: 
  • MQTT Setup within KCS
  • Setup Mosquito and MQTT within Home-Assistant (Already existing)
  • Confirmed that the Packages are received by listening to #

I have used the following YAML within Home Assistants configuration.yaml, customized based on the received packages while listening to #:

Code:
mqtt:
  switch:
   - name: 'kcs868-a16-output-1'
     unique_id: kcs868-a16-output-1
     state_topic: 'KC868_A16/2CBCBB646ACC/STATE'
     command_topic: 'KC868_A16/2CBCBB646ACC/SET'
     payload_on:  '{"output1":{"value":true}}'
     payload_off:  '{"output1":{"value":false}}'
     value_template: '{{ value_json.output1.value }}'
     state_on: true
     state_off: false

As a result, I can - after restarting Home Assistant control the Output 1. 
BUT: It does not show the current status of Output one! (See Screenshot). Status is unknown. 

Any Idea what went wrong? What could I check? 

[Image: EClPwLZ.png]
Reply


Messages In This Thread
A16 - MQTT Issues - by PierrePetite - 12-27-2024, 09:33 AM
RE: A16 - MQTT Issues - by admin - 12-28-2024, 01:19 AM
RE: A16 - MQTT Issues - by PierrePetite - 12-30-2024, 09:29 AM
RE: A16 - MQTT Issues - by admin - 12-30-2024, 09:52 AM

Forum Jump:


Users browsing this thread: thigarutti, 6 Guest(s)