I read the documentation of VOLTTRON and I still have doubts understanding the RPC mechanism in connection with pubsub mechanism of the actuator agent in volttron.
For example I have a device with the topic : "campus/building/unit" and I reserve the device for one hour on monday between 5PM to 6PM. Then how do i run my code for this event ? Do i need to subscribe to some topic from the actuator agent in order to catch the event or do i need to periodically try using setpoint via rpc and see that if the exception is not thrown then we do have our exclusive lock on the device and hence now we can call getpoint/setpoint on the device ?