Added parsing of firebase response to trigger commands.