You have to watch the floors up/down counts and act when one changes. How you do it depends on what type of app you are building, is this only needed when the app is running, or if you want it in the background (in the background, it only runs once every 5 minutes at most so you'll want to send the total changes, and not a request for every up/down. )