Posts: 124
Threads: 9
Joined: Jan 2025
Reputation:
7
Would it be possible to add an uptime counter to the KC868 front page? At the moment it displays system time, IP address, etc, but not how long it's been running. The reason I'd like to know is that I keep getting sensors going offline briefly and then back online again and I don't know if it's the board rebooting or something else.
Posts: 9,906
Threads: 1,372
Joined: Oct 2020
Reputation:
250
thanks for suggestion. we will check whether can add this.
Posts: 124
Threads: 9
Joined: Jan 2025
Reputation:
7
Thanks! It would be useful to help debug the problem of the sensors briefly going offline.
Posts: 3
Threads: 1
Joined: Mar 2025
Reputation:
0
I like that idea. It would be very good to see uptime, please can we report that via MQTT too?
Posts: 9,906
Threads: 1,372
Joined: Oct 2020
Reputation:
250
read by MQTT, if every second feedback by mqtt, will cost network resource.
Posts: 124
Threads: 9
Joined: Jan 2025
Reputation:
7
It doesn't have to be every second, in fact that would be excessive, just include the information whenever other MQTT updates are made, it's a big JSON blob so it'd just be one extra field in there. It's not acting as a heartbeat but just reporting how long the system has been running since the last restart occurred so it doesn't have to be instant.
One other thing in case the original post wasn't clear, please make whatever gets reported an uptime, so time elapsed since the last restart, and not an absolute time, so the time of the last restart. The time zone sometimes gets messed up so knowing that the uptime was three hours is better than knowing that that last restart was at time X which is being modified by the time zone setting.
Posts: 9,906
Threads: 1,372
Joined: Oct 2020
Reputation:
250
ok, when our software team have free time, will test that. now is developing for some new update.