Feature suggested - send Time Stamp value as well

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
gornialberto
New user
Posts: 2
Joined: 07 Dec 2017, 11:34

Feature suggested - send Time Stamp value as well

#1 Post by gornialberto » 07 Dec 2017, 11:42

Hi,

while sampling values from sensors or just sending an event of GPIO status change to an MQTT Topic would be nice to have a "compain" topic with the TimeStamp of the last event.

Eventually even sending those messages with "retain" flag.

In this way from an app i could see the last values of a sample and WHEN it was sampled! Just to understand if this is an OLD sample or if it is recent...

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: Feature suggested - send Time Stamp value as well

#2 Post by danmero » 07 Dec 2017, 13:20

You can do that from rules.

Regards,

Cosmo88
New user
Posts: 2
Joined: 08 Jan 2018, 07:00

Re: Feature suggested - send Time Stamp value as well

#3 Post by Cosmo88 » 19 Jan 2018, 13:05

Or does a developer needs to add Vestamatic to the supported devices (I would be happy to provision further required information)?


บาคาร่าบนมือถือ

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Feature suggested - send Time Stamp value as well

#4 Post by papperone » 19 Jan 2018, 14:29

As far as I know the broker keep track of the last timestamp of each topic when received, why you want to have redundant information sent along?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

gornialberto
New user
Posts: 2
Joined: 07 Dec 2017, 11:34

Re: Feature suggested - send Time Stamp value as well

#5 Post by gornialberto » 08 Apr 2018, 11:50

How can i get this information from the broker? as Topic i mean, i would like to be able to display that info as topic....

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Feature suggested - send Time Stamp value as well

#6 Post by grovkillen » 08 Apr 2018, 11:57

If you put %syshour%%sysmin%%syssec% etc in the topic you will have a more advanced receiver on the other side since the topic will be different from each publish.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests