12-30-2024, 07:19 PM
Hi dear, sorry to send this problem: I attached a sensor temperature to KC868-A16 card and in browser I can see the correct value but in MQTT payload I'm receiving zero.
Attached screen of web page, Firmware version 2.2.8. Thanks in advance for your help, b/rgds.
{
"entity_id": "sensor.a163_kcs_temperature_2",
"subscriptions": [
{
"topic": "KC868_A16/xxxxxxxxxxxx/STATE",
"messages": [
{
"payload": "{\"input1\":{\"value\":false},\"input2\":{\"value\":false},\"input3\":{\"value\":false},\"input4\":{\"value\":false},\"input5\":{\"value\":false},\"input6\":{\"value\":false},
\"input7\":{\"value\":false},\"input8\":{\"value\":false},\"input9\":{\"value\":false},\"input10\":{\"value\":false},\"input11\":{\"value\":false},\"input12\":{\"value\":false},
\"input13\":{\"value\":false},\"input14\":{\"value\":false},\"input15\":{\"value\":false},\"input16\":{\"value\":false},\"output1\":{\"value\":false},\"output2\":{\"value\":false},
\"output3\":{\"value\":false},\"output4\":{\"value\":false},\"output5\":{\"value\":false},\"output6\":{\"value\":false},\"output7\":{\"value\":false},\"output8\":{\"value\":false},
\"output9\":{\"value\":false},\"output10\":{\"value\":false},\"output11\":{\"value\":false},\"output12\":{\"value\":false},\"output13\":{\"value\":false},\"output14\":{\"value\":false},
\"output15\":{\"value\":false},\"output16\":{\"value\":false},\"adc1\":{\"value\":0},\"adc2\":{\"value\":0},\"adc3\":{\"value\":0},\"adc4\":{\"value\":0},
\"sensor1\":{\"temperature\":0.0,\"humidity\":0.0},\"sensor2\":{\"temperature\":0.0,\"humidity\":0.0},\"sensor3\":{\"temperature\":0.0,\"humidity\":0.0}}",
"qos": 0,
"retain": 1,
"time": "2024-12-30T18:29:37.966043+00:00",
"topic": "KC868_A16/xxxxxxxxxxxx/STATE"
}
ps: sorry but I didn't see how to start with a new post
]
}
],
Attached screen of web page, Firmware version 2.2.8. Thanks in advance for your help, b/rgds.
{
"entity_id": "sensor.a163_kcs_temperature_2",
"subscriptions": [
{
"topic": "KC868_A16/xxxxxxxxxxxx/STATE",
"messages": [
{
"payload": "{\"input1\":{\"value\":false},\"input2\":{\"value\":false},\"input3\":{\"value\":false},\"input4\":{\"value\":false},\"input5\":{\"value\":false},\"input6\":{\"value\":false},
\"input7\":{\"value\":false},\"input8\":{\"value\":false},\"input9\":{\"value\":false},\"input10\":{\"value\":false},\"input11\":{\"value\":false},\"input12\":{\"value\":false},
\"input13\":{\"value\":false},\"input14\":{\"value\":false},\"input15\":{\"value\":false},\"input16\":{\"value\":false},\"output1\":{\"value\":false},\"output2\":{\"value\":false},
\"output3\":{\"value\":false},\"output4\":{\"value\":false},\"output5\":{\"value\":false},\"output6\":{\"value\":false},\"output7\":{\"value\":false},\"output8\":{\"value\":false},
\"output9\":{\"value\":false},\"output10\":{\"value\":false},\"output11\":{\"value\":false},\"output12\":{\"value\":false},\"output13\":{\"value\":false},\"output14\":{\"value\":false},
\"output15\":{\"value\":false},\"output16\":{\"value\":false},\"adc1\":{\"value\":0},\"adc2\":{\"value\":0},\"adc3\":{\"value\":0},\"adc4\":{\"value\":0},
\"sensor1\":{\"temperature\":0.0,\"humidity\":0.0},\"sensor2\":{\"temperature\":0.0,\"humidity\":0.0},\"sensor3\":{\"temperature\":0.0,\"humidity\":0.0}}",
"qos": 0,
"retain": 1,
"time": "2024-12-30T18:29:37.966043+00:00",
"topic": "KC868_A16/xxxxxxxxxxxx/STATE"
}
ps: sorry but I didn't see how to start with a new post
]
}
],