06-14-2024, 04:42 AM
06-14-2024, 08:52 PM
(06-14-2024, 04:42 AM)admin Wrote: [ -> ]which sensor model you are using? do you use DHT11?
you can try to test with thie firmware for KC868-AM
All Sensors are ds18b20. V2.2.3 does not help. Results are the same.
06-14-2024, 11:18 PM
take a video of your board how you test, so that can understand your problem. video send to whatsapp number: +86-15381188302
06-15-2024, 04:08 AM
Don't use WhatsApp. I have attached two pictures of my configuration. Works fine with ESPHome, but I want to use KCS firmware because I like the extra features it has.
I have noticed in MQTT Explorer that the published MQTT string has an extra comma before "output1". {,"output1":{"value":true},"sensor1":{"temperature":78.3,"humity":-100.0},"sensor2":{"temperature":78.8,"humity":-100.0},"sensor3":{"temperature":78.6,"humity":-100.0},"sensor4":{"temperature":78.6,"humity":-100.0}}
This seems to affect the JSON format so I don't know if it is supposed to be there or is it a bug in the firmware.
I have circled it in red in the image.
I have noticed in MQTT Explorer that the published MQTT string has an extra comma before "output1". {,"output1":{"value":true},"sensor1":{"temperature":78.3,"humity":-100.0},"sensor2":{"temperature":78.8,"humity":-100.0},"sensor3":{"temperature":78.6,"humity":-100.0},"sensor4":{"temperature":78.6,"humity":-100.0}}
This seems to affect the JSON format so I don't know if it is supposed to be there or is it a bug in the firmware.
I have circled it in red in the image.
06-15-2024, 07:40 AM
ok, i see now, we will check, update firmware.
do you use 3pcs of DS18B20 with 3 GPIOs?
do you use 3pcs of DS18B20 with 3 GPIOs?
06-15-2024, 07:03 PM
I have 4 connected.
06-17-2024, 02:07 AM
test this firmware for KC868-AM, then tell me result.
[attachment=5429]
[attachment=5429]
06-17-2024, 08:03 PM
You left out the comma between false} and "sensor1"
{"output1":{"value":false}"sensor1":{"temperature":83.3,"humity":-100.0},"sensor2":{"temperature":82.8,"humity":-100.0},"sensor3":{"temperature":82.6,"humity":-100.0},"sensor4":{"temperature":86.9,"humity":-100.0}}
{"output1":{"value":false}"sensor1":{"temperature":83.3,"humity":-100.0},"sensor2":{"temperature":82.8,"humity":-100.0},"sensor3":{"temperature":82.6,"humity":-100.0},"sensor4":{"temperature":86.9,"humity":-100.0}}
06-18-2024, 07:26 PM
Are you going to respond to my message about the format error that still exists?
06-19-2024, 12:41 AM
use this one: [attachment=5442]
tested as photo:
[attachment=5443]
[attachment=5444]
{"output1":{"value":false},"sensor1":{"temperature":28.2,"humity":-100.0},"sensor2":{"temperature":-100.0,"humity":-100.0},"sensor3":{"temperature":-100.0,"humity":-100.0},"sensor4":{"temperature":-100.0,"humity":-100.0}}
if have value -100.0 that means sensor not connected.
tested as photo:
[attachment=5443]
[attachment=5444]
{"output1":{"value":false},"sensor1":{"temperature":28.2,"humity":-100.0},"sensor2":{"temperature":-100.0,"humity":-100.0},"sensor3":{"temperature":-100.0,"humity":-100.0},"sensor4":{"temperature":-100.0,"humity":-100.0}}
if have value -100.0 that means sensor not connected.