Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868 KCSv2.2.13 MQTT Update Issue
#1
Dear Kincony

I use KC868-A8 with KCS v2.2.13[img]/local/images/tank0.png[/img]

MQTT is connected correctly





The sensor is configured for ADC1, via MQTT entity

State topic*

KC868_A8/2CBCBB658D44/STATE

Value template
{{ value_json.adc1.value }}

Ground Feeder Tank Level
29 minutes ago (the sensor does not update)
1,171 V

setting adc1
channel name: channel 1
unit: v
Custom value1 ( value when adc/dac is 0 ): 0
Custom value2 ( value when adc/dac is max range ): 5
Threshold ( Send mqtt when the change of sampling value is greater than it ): 1


if I switch any output, the MQTT message does come, but no MQTT message when the ADC value changes
Reply
#2
what voltage input for test? 1.17V?
Reply
#3
hello yes I have a voltage from 0-5V on the analogue sensor

It was working well until this morning, the mqtt does not update on adc values, only if I switch the digital output, any then the new value of adc is sent

Pls help!!!


Attached Files Image(s)
               
Reply
#4
click the "gear" , set the "threshold" value for sensor, such as 1 , so that when data changed will auto feedback to mqtt.
Reply
#5
I have done this, and it does not report on MQTT


Attached Files Image(s)
       
Reply
#6
you can try set custom value1=0 custom value2=5 threshold=0.1 for a testing.
Reply
#7
I did try this setting, no mqtt update, only update is when I switch Output on or off


Attached Files Image(s)
           
Reply
#8
can you use newest KCS v2.2.14 firmware for a testing? erase all esp32 data, download newest firmware.
Reply
#9
please I need your help, i have ereased, i have set factory reset, i have used latest firmware


Board Model KC868_A8
Software Version v2.2.14

thre mqtt does not update on adc value changes

** I have used automation in Home Assistant to toggle output 8 on and off every 1 minute. this does update the the state on MQTT. a temporary fix.
Reply
#10
take a photo of your PCB board.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)