logo elektroda
logo elektroda
X
logo elektroda

Adding Timestamps to Logs in OpenBK WebApp Like Tasmota

jkwim 321 2
ADVERTISEMENT
  • #1 20972902
    jkwim
    Level 12  
    Wonder whether it is possible to add timestamps like in Tasmota in Logs tab of WebApp

    12:23:25.416 Script: performs "HSBColor 8,100,100"
    12:23:25.426 MQT: stat/tasmota/RESULT = {"POWER4":"ON","Dimmer":100,"Color":"FF2300","HSBColor":"8,100,100","Channel":[100,14,0]}
  • ADVERTISEMENT
  • #2 20974555
    p.kaczmarek2
    Moderator Smart Home
    It could be done once NTP is running. Fist messages (before time sync) do not have a way to get timestamps
    Helpful post? Buy me a coffee.
  • #3 20975878
    jkwim
    Level 12  
    p.kaczmarek2 wrote:
    It could be done once NTP is running. Fist messages (before time sync) do not have a way to get timestamps


    Even Tasmota does not. It just shows 00:00:00 until it gets synced with NTP. I think if there was no NTP at all, it just increments seconds. Need to check.

    Anyway the idea is it is very easy to reconcile interactions between multiple devices over the network when you have timestamps.

    Also to identify and processing deadlocks/delays.
ADVERTISEMENT