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...
Feature suggested - send Time Stamp value as well
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 2
- Joined: 07 Dec 2017, 11:34
Re: Feature suggested - send Time Stamp value as well
You can do that from rules.
Regards,
Regards,
Re: Feature suggested - send Time Stamp value as well
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
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
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
-
- New user
- Posts: 2
- Joined: 07 Dec 2017, 11:34
Re: Feature suggested - send Time Stamp value as well
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....
- 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
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Who is online
Users browsing this forum: No registered users and 12 guests