Page 1 of 1

Feature suggested - send Time Stamp value as well

Posted: 07 Dec 2017, 11:42
by gornialberto
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...

Re: Feature suggested - send Time Stamp value as well

Posted: 07 Dec 2017, 13:20
by danmero
You can do that from rules.

Regards,

Re: Feature suggested - send Time Stamp value as well

Posted: 19 Jan 2018, 13:05
by Cosmo88
Or does a developer needs to add Vestamatic to the supported devices (I would be happy to provision further required information)?


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

Re: Feature suggested - send Time Stamp value as well

Posted: 19 Jan 2018, 14:29
by papperone
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?

Re: Feature suggested - send Time Stamp value as well

Posted: 08 Apr 2018, 11:50
by gornialberto
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....

Re: Feature suggested - send Time Stamp value as well

Posted: 08 Apr 2018, 11:57
by grovkillen
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.