# Is there a time tag which has seconds in it?

**URL:** <https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625>\
**Category:** Questions & Help\
**Created:** [July 28, 2022, 2:04pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625 "2022-07-28T14:04:25Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [July 28, 2022, 7:56pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/22 "2022-07-28T19:56:58Z")

</div>

There is nothing to fix, there is nothing broken, this is simply how the synology syslog server works…  
Synology is close source software, i cannot change anything how it shows its syslog info.

I don’t understand why it is so difficult to understand that i just want to use ‘seconds’ as tag card, it should not matter where i want to use it for…  
i can use it also for other tings than in logs, but currently the option to choose a tag card which shows seconds simply does not exist, i was just asking if there was an other way to get it…

Some suggested to use homey script and others suggested other apps could maybe add it.

My question is answered, there is currently no other app which can do this, if i still want it i should try the suggestions made if they do the trick for me.

Thx.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [July 28, 2022, 8:04pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/23 "2022-07-28T20:04:36Z")

</div>

> [@B3rt](#):
>
> There is nothing to fix, there is nothing broken, this is simply how the synology syslog server works…

Are you tied to the Synology Syslog? if you can switch to another Syslog server it is also fixed in my opinion.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [July 28, 2022, 8:34pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/24 "2022-07-28T20:34:35Z")

</div>

yep, the synology nas is the only syslog server in my network.

---

<div class="post-metadata">

**Author:** ![RobbertV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbertv/32/37250_2.png) [@RobbertV](https://community.homey.app/u/RobbertV)\
**Post date:** [July 28, 2022, 9:13pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/25 "2022-07-28T21:13:10Z")

</div>

We could have a look to add this ‘action’ cards to flow utilities. With creating new flow tags.

I will put it on the todo list.

Cc: @martijnpoppen

---

<div class="post-metadata">

**Author:** ![Hsd1965](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hsd1965/32/30160_2.png) [@Hsd1965](https://community.homey.app/u/Hsd1965)\
**Post date:** [July 29, 2022, 6:31am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/26 "2022-07-29T06:31:06Z")

</div>

On my Synology the LogCenter shows time including seconds. Is it only the Homey logs that do not show seconds or is this for every log? Maybe check the time format settings of your NAS?

 ![Naamloos](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/f/efe1c617baf0acd562ded4bce28d89ca20b029ca.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 29, 2022, 6:35am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/27 "2022-07-29T06:35:30Z")

</div>

That’s only in the overview, and only for the last 50 log lines.

---

<div class="post-metadata">

**Author:** ![Hsd1965](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hsd1965/32/30160_2.png) [@Hsd1965](https://community.homey.app/u/Hsd1965)\
**Post date:** [July 29, 2022, 6:48am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/28 "2022-07-29T06:48:43Z")

</div>

I see now. Local logs show seconds, external logs don’t.  
But if you use the export function from Log center the seconds are shown. So it is simply a display bug in Logcenter.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 29, 2022, 8:36am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/29 "2022-07-29T08:36:53Z")

</div>

> [@Hsd1965](#):
>
> Local logs show seconds, external logs don’t.

External logs also show seconds, but only in the overview (and when you export the logfiles to CSV, for example).

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [July 29, 2022, 9:21am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/30 "2022-07-29T09:21:01Z")

</div>

I want to use seconds also on other places, not only in a syslog…  
Without a tag which has seconds i cannot use it.

All external servers have no seconds in the synolog syslog, only internal logs have seconds in the NAS.  
Here screenshot of Homey and an entry of my router which also logs into the same syslog server:

 ![2022-07-29_ 111915](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e84169b14cb29feeb733146eef8cc2a07d5333d8.png)

---

<div class="post-metadata">

**Author:** ![Colin\_Boos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/colin_boos/32/49348_2.png) [@Colin\_Boos](https://community.homey.app/u/Colin_Boos)\
**Post date:** [August 1, 2022, 9:57pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/31 "2022-08-01T21:57:48Z")

</div>

I see two possible problems. Updating a tag is not that accurate. Secondly, a tag has to be persisted, so that in case of a reboot the value is saved. ThT means writing a value every second to the sad card. That might wear it the memory.  
Anyway, why use a tag when it is possible to generate a datering string on the fly, as described above?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 2, 2022, 5:20am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/32 "2022-08-02T05:20:11Z")

</div>

> [@Colin\_Boos](#):
>
> That might wear it the memory.

It won’t. Homey runs a complete Linux distribution which writes all kinds of data to disk (much) more than just once per second.

---

<div class="post-metadata">

**Author:** ![Heronimus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heronimus/32/3564_2.png) [@Heronimus](https://community.homey.app/u/Heronimus)\
**Post date:** [August 3, 2022, 6:43am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/33 "2022-08-03T06:43:35Z")

</div>

I think your syslog app is the problem, and you’re working around it.

I’m using Graylog community edition which runs as docker. You can run this on the Synology.

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [August 3, 2022, 11:33am UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/34 "2022-08-03T11:33:55Z")

</div>

How is my syslog server the cause that there is no second tags in Homey?!?!?

If i wish to use a logic value to store/use/calculate something (where i need seconds) using a second tag card, explain to me how i do that and why my syslog server can provide that card for me in Homey?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [August 3, 2022, 12:40pm UTC](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/35 "2022-08-03T12:40:24Z")

</div>

> [@Heronimus](#):
>
> I think your syslog app is the problem, and you’re working around it.

I agree, Your first question:

> [@B3rt](#):
>
> I would be handy when writing logs to have also seconds displayed,

You use a Log App that sends ms in the RFC 5424 message and most Log collectors show seconds and or ms on receive of the Log message and/or from the date/time in the Log msg.

There are not many requests before for a time in Seconds, afaik you are the first that asks this question here.  
The community provided a workaround that gives al sort of freedom to customize the time for all other use cases where you need seconds or better. [Is there a time tag which has seconds in it? - #8 by Arie\_J\_Godschalk](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625/8)  
and you can use the provided example in Advanced Flows or create a HomeyScript in Standard Flows to generate the time tag.

Provide a functional question and we can see if we can provide a solution.

> [@B3rt](#):
>
> If i wish to use a logic value to store/use/calculate something (where i need seconds) using a second tag card,

I use the Stopwatch in Chronograph [Chronograph App for Homey | Homey](https://homey.app/a/nl.fellownet.chronograph) every sunday night to measure the discharge time of my batteries in ms and store that in a numeric value.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d5f2b39ef9d5f01d828d4d2755aa8de5615d72de.png)

Works great.

In my opinion it would be silly if Athom spends time now to provide that new feature for a very rare use case where multiple other options are available and provided by using HomeyScript or other apps from the community.

But if you persist, you could always fill in a feature request here: [https://support.homey.app/hc/en-us/articles/360015784034](https://support.homey.app/hc/en-us/articles/360015784034)

[Previous page](https://community.homey.app/t/is-there-a-time-tag-which-has-seconds-in-it/66625.md?page=1)
