Anyone know how to monitor a pre-determined MQTT topic and basically retransmit anything received on that topic using Particle Publish?
I already use MQTT on this Photon but it only searches the payload of the messages to check if the payload matches certain predefined values and takes different actions depending on the payload.
I want the Photon to continue to be able to do that but also monitor a specific additional topic and retransmit the payload out on Particle Publish
Why? I’m sending out a Unix timestamp on the local network using MQTT and want to retransmit the timestamp to my Cores using this Photon to set accurate time. There seems to be a bug with the Particle cloud and Cores whereby the time sync isn’t at all accurate.