Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A16
#1
Hello, can you upload an example yaml file # DHT22 temperature-humidity sensor integration into home assistant
Reply
#2
https://esphome.io/components/sensor/dht/
Reply
#3
I Am using the kcs v2 firmware system
Reply
#4
config the sensor with DHT22 with free GPIO.
[Image: sensor-webpage.png]
Reply
#5
I Need the sensor configuration file for homeassistant.
Reply
#6
if you use KCS v2 firmware, integrate to home assistant by MQTT.
here mqtt document include sensor message format: https://www.kincony.com/forum/showthread.php?tid=3105
Reply
#7
I’m not a professional, I don’t understand how to write code correctly — could you upload an example?

I need an example of temperature and humidity.
Reply
#8
(10-28-2025, 02:56 PM)eligijus Wrote: I’m not a professional, I don’t understand how to write code correctly — could you upload an example?

I need an example of temperature and humidity.
I also need full working Yaml code fo home Assistant. Dear Admin, could you kindly paste the full code here?
to discover 16 inputs, 16 outputs, sensors, and RF control. 
Kindly help. I am using version2

Dear Admin, could you kindly paste the full code here for A16 device to be discovered in Home Assistant.
to discover 16 inputs, 16 outputs, sensors, and RF control. 
Kindly help. I am using version2. Thank you
Reply
#9
sensor:
 
  - name: "Sensor 1 Temperature"
    unique_id: a17-kcs-sensor-1-temperature
    icon: mdi:thermometer
    state_topic: "KC868_A16/90380CA43774/STATE"
    value_template: "{{ value_json.sensor1.temperature }}"
    unit_of_measurement: "°C"
    device_class: temperature
   
  - name: "Sensor 2 Temperature"
    unique_id: a17-kcs-sensor-2-temperature
    icon: mdi:thermometer
    state_topic: "KC868_A16/90380CA43774/STATE"
    value_template: "{{ value_json.sensor2.temperature }}"
    unit_of_measurement: "°C"
    device_class: temperature
   
  - name: "Sensor 3 Temperature"
    unique_id: a17-kcs-sensor-3-temperature
    icon: mdi:thermometer
    state_topic: "KC868_A16/90380CA43774/STATE"
    value_template: "{{ value_json.sensor3.temperature }}"
    unit_of_measurement: "°C"
    device_class: temperature
   
  - name: "kc868_humidity_1"
    unique_id: uniqueid__kc868_humidity_1
    icon: mdi:water-percent
    state_topic: "KC868_A16/90380CA43774/STATE"
    value_template: "{{ value_json.sensor1.humidity }}"
    unit_of_measurement: "%"
    device_class: humidity
   
  - name: "kc868_humidity_2"
    unique_id: uniqueid__kc868_humidity_2
    icon: mdi:water-percent
    state_topic: "KC868_A16/90380CA43774/STATE"
    value_template: "{{ value_json.sensor2.humidity }}"
    unit_of_measurement: "%"
    device_class: humidity
   
  - name: "kc868_humidity_3"
    unique_id: uniqueid__kc868_humidity_3
    icon: mdi:water-percent
    state_topic: "KC868_A16/90380CA43774/STATE"
    value_template: "{{ value_json.sensor3.humidity }}"
    unit_of_measurement: "%"
    device_class: humidity 


this code worked
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)