Smart Home Automation Forum

Full Version: Save settings when upgrading firmware
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi dear, I wish to know if there is a way to backup settings when upgrading firmware version and restore after the new firmware installed. Thanks in advance
if different firmware version, will overwrite all data.
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
              ]
            }
          ],
i think you have not set the mqtt "Threshold" value for your sensor. here is tested image with KCS v2.2.10.
[Image: attachment.php?aid=6820]   
[Image: attachment.php?aid=6821]   
[Image: attachment.php?aid=6822]   
[Image: attachment.php?aid=6823]
Thanks so much for yr help, it's working. All the best for the new year
ok, good, happy new year too.