aREST
aREST copied to clipboard
How do I subscribe to a device topic on aREST cloud?
This may have been answered somewhere but I couldn't find it. As far as I understand, using aRest cloud, we can make a device into a subscriber. This allows us to send messages to the device by calling /<device_id>/
However, I could not find how to become a subscriber on the topic that was created so that I can get messages posted by the device. For example, how do I get temperature readings from the topic the device created and send a notification (if required).
Thanks!!
Hey! That's not supported yet, but the plan is to add in the future a publish() function in aREST so you can indeed access the messages published by the devices on the cloud server.