Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS firmware - MQTT LWT?
#11
Hello
I have set the Temperature Threshold to 0.1.
The numbers are changing when th relais are change or the adc numbers only!!! (another user have the same problem!)

To switch the relais from my MQTT server I test it with :
set MQTT2_FCB4671111D0 output1_valve true
set MQTT2_FCB4671111D0 output1_value on
set MQTT2_FCB4671111D0 output1_valve on
set MQTT2_FCB4671111D0 output1_value on
set MQTT2_FCB4671111D0 output1 on/off/true/false
nothing work
Reply
#12
1. i don't know which board you are using?  what sensor you are using? how you wire? take photo!
2. take a screen photo what command you have send to control relay.
Reply
#13
(03-11-2024, 10:05 AM)admin Wrote: 1. i don't know which board you are using?  what sensor you are using? how you wire? take photo!
2. take a screen photo what command you have send to control relay.

1.KC868-A8
   

   

from my MQTT Server:
   


To switch the relais from my MQTT server I test it with :
set MQTT2_FCB4671111D0 output1_valve true
set MQTT2_FCB4671111D0 output1_value on
set MQTT2_FCB4671111D0 output1_valve on
set MQTT2_FCB4671111D0 output1_value on
set MQTT2_FCB4671111D0 output1 on/off/true/false
nothing work 


PS: the values different because different times
Reply
#14
   
   
This is turn ON relay1, relay2, relay3 for A8 board demo .
this payload should be: 
{"output1":{"value":true}},{"output2":{"value":true}},{"output3":{"value":true}}
   
Reply
#15
about sensor auto feedback mqtt problem, we will check and feedback later.
Reply
#16
(03-12-2024, 02:48 AM)admin Wrote: about sensor auto feedback mqtt problem, we will check and feedback later.

Thank you.
I found a next problem.
In the KC868 Monitor I see adc2: 3,3 V
In the MQTT broker I see adc2_value:2535


regarding your MQTT box.
I have tested it with MQTT explorer, but no error or relais function.
see below
   
I hope you can solve also.
thanks in advance
Reply
#17
1. Can you control relay ON/OFF by mqtt command now?
2. after you download KCS firmware, "Monitor" webpage showed config value, you can preset the range and unit. the MQTT feedback "2535", that is RAW code.
for example: 0---4095 RAW code can set to 0--5V or 0--10 meter or ......
Reply
#18
(03-12-2024, 11:45 AM)admin Wrote: 1. Can you control relay ON/OFF by mqtt command now?
2. after you download KCS firmware, "Monitor" webpage showed config value, you can preset the range and unit. the MQTT feedback "2535", that is RAW code.
for example:  0---4095 RAW code can set to 0--5V or 0--10 meter or ......

1. no
2. I know thats is the raw code. In the picture obove you can see 3.3V. But my broker see the raw code only. Why not 3.3 !!
The temperature values are correct.

The next problem is the missing LWT status!!
Reply


Forum Jump:


Users browsing this thread: