What about situation when network is down? What about situation when some of the devices does not respond (failure)?
Then your values in memory would also be wrong...
If you only listen to the msgs from the actor like Colin suggests, it's easier and you can also switch the actor from any source you want.